/* =============================================
   Elias Core Consulting - Main Stylesheet
   Traditional, Professional Business Styling
   ============================================= */

/* CSS Variables for consistent branding */
:root {
    --navy-dark: #1a2a4a;
    --navy-medium: #2c3e5a;
    --navy-light: #3d5a80;
    --gold: #c9a227;
    --gold-light: #d4b84a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-light: #e9ecef;
    --gray-medium: #6c757d;
    --gray-dark: #343a40;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--navy-medium);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   Header & Navigation
   ============================================= */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-top a {
    color: var(--white);
}

.header-top a:hover {
    color: var(--gold);
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Area */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background-color: var(--navy-dark);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-image {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-dark);
    line-height: 1.2;
}

.logo-text .tagline {
    font-size: 0.875rem;
    color: var(--gray-medium);
    font-style: italic;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

nav > ul {
    display: flex;
    gap: 5px;
}

nav > ul > li {
    position: relative;
}

nav > ul > li > a {
    display: block;
    padding: 10px 18px;
    color: var(--navy-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

nav > ul > li > a:hover,
nav > ul > li > a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 250px;
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-top: 3px solid var(--gold);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: var(--off-white);
    color: var(--gold);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--navy-dark);
    transition: var(--transition);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    background: url('../images/hero_backdrop.jpg') center center / cover no-repeat;
    color: var(--white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 42, 74, 0.85);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero .gold-text {
    color: var(--gold);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--navy-dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    color: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-dark);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Page Header (for inner pages)
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-medium) 100%);
    color: var(--white);
    padding: 150px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.page-header .breadcrumb a {
    color: var(--gold);
}

/* =============================================
   Section Styling
   ============================================= */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
}

.bg-light {
    background-color: var(--off-white);
}

/* =============================================
   Services Overview (Home Page)
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--gray-light);
    text-align: center;
    transition: var(--transition);
}

.bg-light .service-card {
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    background-color: var(--navy-dark);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
}

.service-card .learn-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card .learn-more:hover {
    color: var(--navy-dark);
}

/* =============================================
   Service Page Styling
   ============================================= */
.service-content {
    padding: 80px 0;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.service-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.service-main h2 {
    font-size: 1.75rem;
    margin-top: 40px;
}

.service-main h2:first-child {
    margin-top: 0;
}

.service-main ul {
    list-style: none;
    padding-left: 0;
}

.service-main ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.service-main ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-box {
    background-color: var(--off-white);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 4px solid var(--gold);
}

.sidebar-box h4 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-light);
}

.sidebar-box ul li {
    margin-bottom: 8px;
}

.sidebar-box ul li a {
    color: var(--text-secondary);
}

.sidebar-box ul li a:hover,
.sidebar-box ul li a.active {
    color: var(--gold);
}

.cta-box {
    background-color: var(--navy-dark);
    color: var(--white);
    text-align: center;
}

.cta-box h4 {
    color: var(--white);
    border-bottom-color: var(--navy-medium);
}

.cta-box p {
    color: rgba(255, 255, 255, 0.8);
}

/* =============================================
   About Page
   ============================================= */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    box-shadow: var(--shadow);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-item .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 10px;
}

/* =============================================
   Contact Page
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--navy-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-light);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    padding: 40px;
    background-color: var(--navy-dark);
    color: var(--white);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--navy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--gold);
    margin-bottom: 5px;
    font-size: 1rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* =============================================
   Footer
   ============================================= */
footer {
    background-color: var(--navy-dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about .logo-text .company-name {
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

footer h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

footer ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin: 0;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-intro {
        grid-template-columns: 1fr;
    }

    .service-details {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .header-top {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    nav.active {
        max-height: 500px;
    }

    nav > ul {
        flex-direction: column;
        padding: 20px;
    }

    nav > ul > li > a {
        padding: 12px 0;
        border-bottom: 1px solid var(--gray-light);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 20px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}
