/* ================= HEADER / NAVBAR ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 18px 0;
    background: linear-gradient(135deg, #0F172A 0%, #1a1f3a 100%);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
    animation: slideDown 0.5s ease-out;
    transition: all 0.4s ease;
}

/* Transparent header state for hero section */
.header.transparent {
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(249, 115, 22, 0);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 12px 0;
}

.header.transparent .enquiry-btn {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.9) 0%, rgba(251, 146, 60, 0.9) 100%);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.header.transparent .enquiry-btn:hover {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

/* Solid header state when scrolling */
.header.solid {
    background: linear-gradient(135deg, #0F172A 0%, #1a1f3a 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(249, 115, 22, 0.1);
    backdrop-filter: blur(10px);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.logo:hover {
    color: #f97316;
}

.logo svg {
    width: 30px;
    height: 30px;
    color: #f97316;
    transition: all 0.3s ease;
}

.logo:hover svg {
    filter: drop-shadow(0 0 8px #f97316);
}

/* Logo Link */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-link:hover .logo {
    color: #f97316;
}

/* Navigation Menu */
.nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.3px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f97316 0%, #fbbf24 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(249, 115, 22, 0.15);
    text-shadow: 0 2px 12px rgba(249, 115, 22, 0.5);
}

.nav-link:hover::before {
    width: 100%;
}

/* CTA Button */
.nav-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.enquiry-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    border: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}

.enquiry-btn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.enquiry-btn:active {
    transform: translateY(-1px);
}

.enquiry-btn svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
}

.enquiry-btn:hover svg {
    animation: pulse 0.6s ease-in-out;
}

/* WhatsApp Icon Button */
.whatsapp-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 12px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: 2px solid transparent;
    cursor: pointer;
}

.whatsapp-icon-btn:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #0f8559 100%);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon-btn:active {
    transform: translateY(-1px) scale(1.05);
}

.whatsapp-icon-btn svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.whatsapp-icon-btn:hover svg {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}


@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: #f97316;
}

/* Mobile Menu */
@media (max-width: 1024px) {
    .nav {
        gap: 4px;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 14px;
    }

    .enquiry-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .whatsapp-icon-btn {
        width: 44px;
        height: 44px;
        margin-left: 8px;
    }
}

@media (max-width: 768px) {
    .header {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
        -webkit-sticky: top;
        -webkit-transform: translateZ(0);
    }

    .header {
        padding: 15px 0;
    }

    .nav-container {
        gap: 20px;
    }

    .logo {
        font-size: 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: linear-gradient(180deg, #0F172A 0%, #1a1f3a 100%);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(249, 115, 22, 0.2);
        display: none;
        padding: 20px 0;
        animation: slideDown 0.3s ease-out;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        padding: 14px 20px;
        border-radius: 0;
        border-bottom: 1px solid rgba(249, 115, 22, 0.1);
        text-align: left;
        font-size: 15px;
        color: #ffffff;
        font-weight: 600;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .nav-link::before {
        display: none;
    }

    .nav-link:hover {
        background: rgba(249, 115, 22, 0.2);
        padding-left: 28px;
        color: #ffffff;
        text-shadow: 0 2px 12px rgba(249, 115, 22, 0.5);
    }

    .nav-cta {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
    }

    .enquiry-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .whatsapp-icon-btn {
        width: 44px;
        height: 44px;
        margin-left: 4px;
    }
}

@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
        -webkit-sticky: top;
        -webkit-transform: translateZ(0);
    }

    .logo {
        font-size: 18px;
    }

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

    .nav-container {
        gap: 15px;
    }

    .whatsapp-icon-btn {
        width: 40px;
        height: 40px;
    }

    .enquiry-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .whatsapp-icon-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Keep navbar blue on mobile - no transparent state */
@media (max-width: 768px) {
    .header.transparent {
        background: linear-gradient(135deg, #0F172A 0%, #1a1f3a 100%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        border-bottom: 1px solid rgba(249, 115, 22, 0.1);
        backdrop-filter: blur(10px);
    }

    .header.transparent .enquiry-btn {
        background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
        box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
    }
}