/* ============================================
   NAVBAR STYLES
   ============================================ */

/* Navbar Container */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

/* Touch targets for navbar links and buttons */
.navbar a,
.navbar button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .navbar {
        border: 2px solid white;
    }
    
    .nav-links a,
    .mobile-menu a,
    .cta-button {
        border: 1px solid white;
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    height: 100%;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #262626 0%, #171717 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo:hover .logo-icon {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

.logo-text {
    font-size: 24px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: var(--font-family-heading);
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 64px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links > li {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: #d4d4d4;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family-heading);
    height: 100%;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 255, 255, 0.1);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 0;
    height: 1px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-links > li > a:hover {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 0 60px rgba(255, 255, 255, 0.3);
}

.nav-links > li > a:hover::after {
    width: 100%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

/* Right Side Navigation */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-left: 48px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.nav-link-secondary {
    color: #a3a3a3;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-heading);
    height: 100%;
    padding: 10px 0;
}

.nav-link-secondary:hover {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.2);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute !important;
    top: calc(100% - 20px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-10px) !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
    min-width: 200px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    margin-top: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
}

.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important; /* Keep centered when visible */
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ============================================
   MEGA MENU STYLES
   ============================================ */

.mega-menu-dropdown {
    position: absolute !important;
    top: calc(100% - 20px) !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(-10px) !important;
    background: rgba(0, 0, 0, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    padding: 2.5rem !important;
    min-width: 750px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s ease !important;
    margin-top: 0 !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
    z-index: 10000 !important;
}

.dropdown-toggle[aria-expanded="true"] + .mega-menu-dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(-50%) translateY(0) !important;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.mega-menu-section {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.mega-menu-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.mega-menu-section .service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #262626 0%, #171717 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mega-menu-section .service-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
    fill: none;
    stroke-width: 2;
}

.mega-menu-title {
    font-size: 20px;
    color: #fff;
    margin: 0 0 0.5rem 0;
    font-family: var(--font-family-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mega-menu-description {
    font-size: 14px;
    color: #a3a3a3;
    margin: 0 0 auto 0;
    line-height: 1.6;
    padding-bottom: 1.5rem;
}

.mega-menu-link {
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    font-family: var(--font-family-heading);
    margin-top: auto;
}

.mega-menu-section:hover .mega-menu-link {
    transform: translateX(4px);
}

/* Journey CTA at bottom of mega menu */
.mega-menu-journey-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-family-heading);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.mega-menu-journey-cta:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.mega-menu-journey-cta svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* CTA Button - Hide desktop CTA */
.nav-container > .cta-button {
    display: none;
}

/* General CTA Button Styles */
/* CTA Button */
.cta-button {
    display: none; /* Hidden on mobile by default */
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: black;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-family-heading);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

/* Show CTA on desktop */
@media (min-width: 1024px) {
    .nav-container > .cta-button {
        display: flex;
    }
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

.cta-button svg {
    width: 16px;
    height: 16px;
}

/* Hamburger Menu Button - Luxury Glass Design */
.mobile-menu-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}

.mobile-menu-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
}

.mobile-menu-btn:hover::before {
    opacity: 1;
}

.mobile-menu-btn:active {
    transform: translateY(0);
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    stroke: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.mobile-menu-btn[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.15) !important;
}

.mobile-menu-btn[aria-expanded="true"] #menuIcon {
    display: none;
}

.mobile-menu-btn[aria-expanded="true"] #closeIcon {
    display: block;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
    display: flex;
}

@media (min-width: 1024px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Mobile Dropdown */
.mobile-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mobile-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-toggle .dropdown-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.mobile-dropdown-toggle[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: 1rem;
}

.mobile-dropdown-content.active {
    display: flex;
}

.mobile-dropdown-content a {
    padding: 0.75rem 1rem;
}

/* Mobile Nav Separator */
.mobile-nav-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* Mobile CTA */
.mobile-menu .cta-button {
    display: flex;
    margin: 1rem 1rem 0 1rem;
    max-width: calc(100% - 2rem);
    width: auto;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: center;
}

.mobile-menu .cta-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* ============================================
   MOBILE RESPONSIVE OPTIMIZATIONS
   ============================================ */

/* Hide nav-links and nav-right on mobile/tablet */
@media (max-width: 1023px) {
    .nav-links,
    .nav-right {
        display: none;
    }
}

/* Adjust mega menu for smaller screens */
@media (max-width: 1300px) {
    .mega-menu-dropdown {
        min-width: 650px !important;
        padding: 2rem !important;
    }

    .mega-menu-content {
        gap: 1.5rem;
    }

    .mega-menu-section {
        padding: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .mega-menu-dropdown {
        min-width: 550px !important;
        padding: 1.75rem !important;
    }

    .mega-menu-content {
        gap: 1.25rem;
    }

    .mega-menu-section {
        padding: 1.25rem;
    }

    .mega-menu-section .service-icon {
        width: 48px;
        height: 48px;
    }

    .mega-menu-section .service-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
        height: 64px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-icon {
        width: 44px;
        height: 44px;
    }

    .logo-icon svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 0 16px;
        height: 60px;
    }

    .logo-text {
        font-size: 20px;
        letter-spacing: 0.12em;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .logo-icon svg {
        width: 24px;
        height: 24px;
    }

    .mobile-menu a {
        padding: 0.875rem 0.5rem;
        font-size: 0.9375rem;
    }

    .mobile-dropdown-toggle {
        padding: 0.875rem 0.5rem;
        font-size: 0.9375rem;
    }

    .mobile-dropdown-content a {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 375px) {
    .nav-container {
        padding: 0 12px;
        height: 56px;
    }

    .logo-text {
        font-size: 18px;
        letter-spacing: 0.08em;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .logo-icon svg {
        width: 22px;
        height: 22px;
    }
}

/*NOW FOOTER STYLING */

