/* ==========================================================================
   Enhanced Navigation Styles - Helios Cabs
   ========================================================================== */

/* Navigation Container */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(220, 200, 127, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.main-navigation {
    position: relative;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.5rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Left Branding - Helios India Logo */
.left-branding {
    justify-self: start;
    z-index: 10;
}

.left-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.left-logo-link:hover {
    transform: scale(1.05);
}

.helios-india-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(220, 200, 127, 0.3));
}

/* Center Branding - Steering Wheel with Bulge */
.center-branding {
    justify-self: center;
    position: relative;
    z-index: 20;
}

.center-logo-link {
    display: block;
    position: relative;
}

.logo-bulge {
    position: relative;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at center, rgba(220, 200, 127, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -15px;
    margin-bottom: -15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-bulge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    background: radial-gradient(circle at center, 
        rgba(220, 200, 127, 0.1) 0%, 
        rgba(220, 200, 127, 0.05) 50%,
        transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

.helios-steering-icon {
    width: 70px;
    height: 70px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(220, 200, 127, 0.4));
    transition: transform 0.3s ease;
}

.rotating-icon {
    animation: gentle-rotate 6s ease-in-out infinite;
}

@keyframes gentle-rotate {
    0%, 100% {
        transform: rotate(-8deg);
    }
    50% {
        transform: rotate(8deg);
    }
}

.center-logo-link:hover .helios-steering-icon {
    transform: scale(1.1) rotate(15deg);
}

.center-logo-link:hover .logo-bulge {
    background: radial-gradient(circle at center, rgba(220, 200, 127, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Desktop Menu */
.desktop-menu {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #dcc87f, #cdb048);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #dcc87f;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links .current-menu-item a,
.nav-links .current_page_item a {
    color: #dcc87f;
}

.nav-links .current-menu-item a::after,
.nav-links .current_page_item a::after {
    width: 100%;
}

/* Book Now Button */
.open-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: linear-gradient(135deg, #dcc87f 0%, #cdb048 100%);
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 200, 127, 0.3);
    position: relative;
    overflow: hidden;
}

.open-chat-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.open-chat-btn:hover::before {
    width: 300px;
    height: 300px;
}

.open-chat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(220, 200, 127, 0.5);
}

.open-chat-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.1rem;
}

.btn-text {
    position: relative;
    z-index: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 30;
}

.hamburger {
    width: 100%;
    height: 3px;
    background: #dcc87f;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    border-bottom: 2px solid rgba(220, 200, 127, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(220, 200, 127, 0.1);
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1rem 0;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links .current-menu-item a {
    color: #dcc87f;
    padding-left: 1rem;
}

.mobile-cta {
    width: 100%;
    margin-top: 1.5rem;
    justify-content: center;
}

/* Tablet & Mobile Responsive */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
    
    .open-chat-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: 1fr auto 1fr;
        padding: 0.5rem 1rem;
    }
    
    .left-branding {
        justify-self: start;
    }
    
    .helios-india-logo {
        height: 32px;
        max-width: 140px;
    }
    
    .logo-bulge {
        width: 70px;
        height: 70px;
        margin-top: -10px;
        margin-bottom: -10px;
    }
    
    .helios-steering-icon {
        width: 50px;
        height: 50px;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        justify-self: end;
    }
}

@media (max-width: 480px) {
    .helios-india-logo {
        height: 28px;
        max-width: 120px;
    }
    
    .logo-bulge {
        width: 60px;
        height: 60px;
        margin-top: -8px;
        margin-bottom: -8px;
    }
    
    .helios-steering-icon {
        width: 42px;
        height: 42px;
    }
    
    .mobile-menu {
        top: 70px;
        max-height: calc(100vh - 70px);
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #dcc87f;
    color: #000;
    padding: 8px;
    text-decoration: none;
    font-weight: 600;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

