/* ===== Header Wrapper (floats over hero banner) ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: transform 0.35s ease, background-color 0.3s ease;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.header-scrolled .main-nav {
    background: rgba(20, 20, 20, 0.95);
}

.site-header.header-scrolled .top-bar {
    background: #b40707;
    opacity: 1;
}

/* ===== Top Info Bar ===== */
.top-bar {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 12px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.top-bar-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-social a {
    color: #fff;
    transition: color 0.2s ease;
    display: flex;
}

.top-bar-social a:hover {
    color: #d1d5db;
}

.top-bar-social svg {
    width: 16px;
    height: 16px;
}

/* ===== Main Nav Bar — transparent with black shading ===== */
.main-nav {
    position: relative;
    width: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.35) 60%,
        rgba(0, 0, 0, 0) 100%
    );
}

.main-nav-inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

.cta-btn {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 9999px;
    padding: 8px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.cta-btn:hover {
    background: #fff;
    color: #7a1414;
}

/* ===== Mobile Menu Toggle ===== */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.mobile-toggle svg {
    width: 28px;
    height: 28px;
}

.mobile-menu {
    display: none;
    position: relative;
    width: 100%;
    background: rgba(0, 0, 0, 0.92);
    color: #fff;
    padding: 16px 24px;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu a:hover {
    color: #f87171;
}

.mobile-menu .cta-btn {
    text-align: center;
    margin-top: 12px;
    display: block;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .top-bar-left span:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar-item {
        font-size: 12px;
    }

    .top-bar-left {
        gap: 14px;
    }

    .nav-links,
    .main-nav-inner > .cta-btn {
        display: none;
    }

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }

    .logo img {
        height: 40px;
    }
}

@media (max-width: 576px) {
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-left {
        justify-content: center;
        width: 100%;
    }

    .top-bar-item:nth-child(2) {
        display: none;
    }

    .top-bar-social {
        display: none;
    }
}
