/* FlipWise Full-Width Banner */

.flipwise-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    overflow: hidden;
}

.flipwise-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile hamburger menu */
.banner-hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: none;
}

.banner-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 6px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .banner-hamburger {
        display: block;
    }

    .banner-hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .banner-hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .banner-hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Mobile navigation overlay */
.banner-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-nav-overlay.open {
    display: flex;
    opacity: 1;
}

.banner-nav-overlay a {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: #F5F5FA;
    text-decoration: none;
    margin: 1rem 0;
    transition: color 0.2s;
}

.banner-nav-overlay a:hover {
    color: #3B82F6;
}

.banner-nav-overlay a.cta-button {
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    border: 1px solid #3B82F6;
    border-radius: 100px;
    color: #3B82F6;
    font-weight: 600;
}

.banner-nav-overlay a.cta-button:hover {
    background: #3B82F6;
    color: #0A0A0F;
}

/* Desktop nav (only visible on non-mobile) */
.banner-nav-desktop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1001;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.banner-nav-desktop a {
    pointer-events: auto;
}

.banner-nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.banner-nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #B8B8CC;
    text-decoration: none;
    transition: color 0.2s;
}

.banner-nav-link:hover {
    color: #F5F5FA;
}

.banner-nav-cta {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3B82F6;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(0, 229, 160, 0.4);
    border-radius: 100px;
    transition: all 0.2s;
}

.banner-nav-cta:hover {
    background: #3B82F6;
    color: #0A0A0F;
}

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

/* Calculate banner height based on aspect ratio */
/* The image is approximately 1200x300px, so aspect ratio is 4:1 */
@media (max-width: 1200px) {
    .flipwise-banner {
        height: auto;
        min-height: 120px;
    }
}

@media (min-width: 1200px) {
    .flipwise-banner {
        height: auto;
    }
}

/* Ensure body has proper padding to account for fixed banner */
body.with-banner {
    padding-top: 120px;
}

@media (max-width: 768px) {
    body.with-banner {
        padding-top: 80px;
    }
}
