/* --- BOOTSTRAP OVERRIDES & BRANDING --- */

:root {
    /* Main Hex Colors */
    --navy: #0a1e3f;
    --gold: #c5a059;
    --gold-bright: #d4af37;
    
    /* RGB version of Navy for transparent backgrounds (0a1e3f = 10, 30, 63) */
    --navy-rgb: 10, 30, 63; 
    
    /* Fonts */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: #333333;
    line-height: 1.6;
}

.font-serif, h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
}

/* Nav links specifically */
.navbar-nav .nav-link {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

/* Fix anchor links getting hidden behind sticky header */
section {
    scroll-margin-top: 100px;
}

/* Typography Helpers */
.letter-spacing-2 {
    letter-spacing: 2px;
}

.text-navy {
    color: var(--navy) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* Backgrounds & Borders */
.bg-navy {
    background-color: var(--navy) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 85vh; 
    display: flex;
    align-items: center; 
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    background-image: url('../images/hero-mobile.webp');
}

@media (min-width: 768px) {
    .hero-section {
        background-attachment: fixed; /* Parallax */
        background-image: url('../images/hero-desktop.webp');
    }
}

/* --- EXECUTIVE GLASS PANEL --- */
.glass-panel {
    background: rgba(var(--navy-rgb), 0.85); /* Updated to match new dark navy */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .glass-panel {
        padding: 2rem 1.5rem;
        margin: 0 15px;
        background: rgba(var(--navy-rgb), 0.92);
    }
}

/* --- BUTTONS --- */
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    border: none;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: white;
}

.btn-navy {
    background-color: var(--navy);
    border-color: var(--navy);
    color: white;
}

.btn-navy:hover {
    background-color: #051024; /* Even darker navy for hover */
    color: white;
}

/* --- EXECUTIVE SERVICE CARDS --- */
.service-card {
    box-shadow: 0 10px 30px rgba(var(--navy-rgb), 0.08) !important;
    border: none;
    border-top: 4px solid var(--gold); 
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
}

.service-card:hover {
    top: -10px; 
    box-shadow: 0 20px 40px rgba(197, 160, 89, 0.15) !important; 
}

/* Navbar Logo Tweak */
.navbar-brand {
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
    font-size: 1.4rem;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --- NAVIGATION HOVER EFFECTS --- */
.navbar-nav .nav-link {
    font-weight: 600;
    color: #444 !important; 
    padding: 0.5rem 1rem;
    position: relative; 
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--navy) !important; 
}

/* The Gold Underline Animation (Excluded from dropdown toggle) */
.navbar-nav .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px; 
    left: 50%;
    background-color: var(--gold); 
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%); 
}

.navbar-nav .nav-link:not(.dropdown-toggle):hover::after {
    width: 80%; 
}

/* Contact Button Hover */
.navbar-nav .btn-gold {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-nav .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4); 
}

/* --- LOGO SIZING --- */
.logo-img {
    height: 55px; 
    width: auto;  
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px; 
    }
}

/* --- FOOTER STYLES --- */
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold); 
    padding-left: 5px; 
}

/* --- PREMIUM DROPDOWN STYLING --- */
.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.custom-hover {
    transition: all 0.2s ease-in-out;
    margin-bottom: 2px; 
}

.custom-hover:hover {
    background-color: var(--navy) !important; 
}

.custom-hover:hover span {
    color: #ffffff !important; 
}

.custom-hover:hover i {
    color: var(--gold-bright) !important; 
    transform: translateX(3px); 
    transition: transform 0.2s ease;
}