/* ==========================================================================
    FONTS
    ========================================================================== */

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.woff2") format("woff2"),
        url("../fonts/Poppins-Regular.ttf") format("truetype");
    /* fallback */
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Bold.woff2") format("woff2"),
        url("../fonts/Poppins-Bold.ttf") format("truetype");
    /* fallback */
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
    BASE STYLES
    ========================================================================== */

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin: 0;
    background: #fff;
    color: white;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

:root {
  --container-min: 1200px;
  --container-max: 1600px;
}


a {
    color: #ffdb15;
}

/* Show skip link only when tabbed to */
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    transform: translateY(-200%);
    background: #ffdb15;
    color: #000;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font: 600 0.95rem/1 'Poppins', sans-serif;
    text-decoration: none;
    z-index: 3000;
    /* higher than .sticky-header (1000) and overlay (2000) */
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid #000;
}

#main-content {
    scroll-margin-top: 96px;
    /* works for in-page anchor jumps */
}

/* ==========================================================================
    HEADER STYLES
    ========================================================================== */

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    padding: 2rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    box-sizing: border-box;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 100%;
    min-height: 44px;
    /* Minimum touch target */
}

.header-logo {
    height: 30px;
    width: auto;
    margin: 0;
}

/* Mobile Navigation */
.header-buttons {
    display: flex;
    gap: clamp(0.2rem, 1vw, 0.5rem);
    flex: 1;
    justify-content: center;
    margin: 0 clamp(0.3rem, 2vw, 1rem);
}

.header-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
    color: #ffdb15;
    border: none;
    padding: clamp(0.4rem, 1.5vw, 0.7rem) clamp(0.6rem, 2.5vw, 1.2rem);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal;
    flex: 1;
    text-align: center;
    word-break: break-word;
}

.header-btn:hover {
    background: rgba(62, 73, 137, 1);
    transform: translateY(-1px);
}

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

.hamburger-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    flex-shrink: 0;
    padding: 8px;
    min-width: 32px;
    align-items: center;
    background: none;
    border: none;
}

.hamburger-menu span {
    width: 25px;
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover span {
    background: #ffdb15;
}

/* Desktop Navigation - Hidden by default */
.desktop-nav {
    display: none;
}

.login-link {
    display: none;
}

.nav-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 999px;
    color: black;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    text-align: center;
    cursor: pointer;
}

.nav-btn:hover {
    background: #fff;
    transform: translateY(-1px);
}

.nav-btn.active {
    background: #ffdb15;
    color: black;
}

.nav-btn.cta {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background: #ffdb15;
    color: black;
    padding: 1rem 2rem;
    border: 2px solid white;
}

/* ========================
    MOBILE OVERLAY MENU
    ======================== */

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 3rem 1.5rem;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease;
    overflow-x: hidden;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.logo-wrapper::after {
    content: '';
    position: absolute;
    background: url('../images/birds3.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    top: -80px;
    right: -175px;
    width: 405px;
    height: 315px;
    opacity: 0.05;
}

.overlay-content {
    width: 100%;
    max-width: 80%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    margin-top: -1rem;
}

.overlay-login-wrapper {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: -2rem;
}

.overlay-logo {
    height: 40px;
    width: auto;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    bottom: -5rem;
    right: 0rem;
    width: 56px;
    height: 56px;
}

.circle-arrow {
    background: #ffdb15;
    border: 3px solid white;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.circle-arrow .arrow {
    display: block;
    transform: rotate(90deg);
    /* showing left arrow to indicate close */
    width: 30px;
    height: 30px;
}

/* Navigation links as big pills */
.overlay-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.overlay-nav::before {
    content: '';
    position: fixed;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    top: 185px;
    left: 0px;
    width: 400px;
    height: 430px;
    opacity: 0.1;
}

.overlay-nav::after {
    content: '';
    position: fixed;
    background: url('../images/dots1.webp') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 11;
    top: 300px;
    right: 0px;
    width: 400px;
    height: 430px;
    opacity: 0.1;
    transform: scaleX(-1);
}

.overlay-link {
    background: white;
    color: black;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1.4rem 2rem;
    border-radius: 38px;
    text-align: center;
    display: block;
    transition: transform .2s ease;
}

.overlay-link:hover {
    transform: translateY(-2px);
}

.overlay-link.active {
    background: #ffdb15;
    color: #1f1f50;
}

.overlay-link.interested {
    border: 3px solid white;
    background: #ffdb15;
}

/* Overlay Login */
.overlay-login {
    display: inline-block;
    width: auto;
    padding: 0;
    color: #ffdb15;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
}

/* ==========================================================================
    COMING SOON SECTION
    ========================================================================== */

.coming-soon-section {
    background: linear-gradient(to bottom, #1f1f50, #3a3a6f);
    padding: 9rem 1.5rem 8rem 1.5rem;
    position: relative;
    z-index: 1;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.coming-soon-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/blogmobile.svg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.coming-soon-section::after {
    content: '';
    position: absolute;
    inset: 0;
    /* full-cover */
    background: rgba(0, 0, 0, 0.55);
    /* remove centering math / fixed size */
    border-radius: 0;
    /* or keep a subtle radius if you want e.g. 12px */
    z-index: 0;
    /* sits above the SVG (::before is -1) but below the content (which is z-index:2) */
}


.coming-soon-content {
    text-align: center;
    max-width: 90%;
    position: relative;
    z-index: 2;
}

.coming-soon-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 2.3rem;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.coming-soon-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: white;
    margin: 0 0 2rem 0;
    line-height: 1.3;
}

.golden {
    color: #ffdb15;
}

.oven-container {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
}

.oven-image {
    max-width: 200px;
    height: auto;
    filter: brightness(1.1);
}

/* ==========================================================================
    FOOTER STYLES
    ========================================================================== */

.footer {
    background-color: #1f1f50;
    color: white;
    padding: 2rem 1.5rem 4rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    position: relative;
    min-height: 200px;
}

.footer-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-stretch;
}

.footer-column {
    width: 45%;
}

.footer-divider {
    width: 1px;
    background-color: #fff;
    height: auto;
    margin: 0 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.3rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.social-links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.social-links a {
    color: white;
    text-decoration: underline;
    font-size: 0.95rem;
}

.footer-bottom {
    position: absolute;
    bottom: 1rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin: 0;
}

.copyright {
    font-size: 0.9rem;
    margin: 0;
    align-self: flex-end;
    font-family: 'Poppins';
    font-weight: 400;
}

/* ==========================================================================
    DESKTOP STYLES (768px and up)
    ========================================================================== */

@media (min-width: 768px) {

    .header-content,
    .gradient-box .content,
    .how-it-works-section .content,
    .gradient-box-bottom .content,
    .footer-columns,
    .footer-bottom {
        /* clamp(min, fluid, max): grows with viewport but never exceeds max */
        max-width: clamp(var(--container-min), 85vw, var(--container-max)) !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Header Desktop Styles */
    .header-buttons,
    .hamburger-menu {
        display: none;
    }

    .desktop-nav {
        display: flex;
        gap: 1rem;
        align-items: center;
    }

    .header-content {
        max-width: min(1200px, 95%);
        margin: 0 auto;
        padding: 0 2rem;
    }

    .header-logo {
        height: 60px;
    }

    .login-link {
        font-size: 1rem;
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        color: #ffdb15;
        text-decoration: underline;
        margin-left: 20px;
        display: inline-block;
    }

    /* Coming Soon Section Desktop */
    .coming-soon-section {
        padding: 9rem 2rem 8rem 2rem;
    }

    .coming-soon-section::before {
        background-image: url('../images/blog.svg');
    }

    .coming-soon-content {
        max-width: 80%;
        margin-top: 3.5rem;
    }

    .coming-soon-title {
        font-size: 3.8rem;
    }

    .coming-soon-subtitle {
        font-size: 2.2rem;
    }

    /* Footer Desktop */
    .footer {
        padding: 4rem 2rem 5rem;
    }

    .footer-columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 2rem;
        max-width: min(1200px, 95%);
        margin: 0 auto;
        padding: 0 2rem;
        position: relative;
    }

    .footer-column {
        box-sizing: border-box;
        padding: 0 0;
        text-align: center;
        font-size: 2rem;
    }

    .footer-divider {
        position: absolute;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 1px;
        height: 100%;
        background-color: white;
        opacity: 1;
        margin: 0 0;
    }

    .footer-heading {
        font-family: 'Poppins', sans-serif;
        font-weight: 700;
        font-size: 1.6rem;
        color: #ffdb15;
        margin-bottom: 1.5rem;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
        margin-left: -1.5rem;
        line-height: 1.6;
        font-size: 1.5rem;
    }

    .footer-links li {
        margin: 0;
        font-size: 1rem;
    }

    .footer-links a {
        font-size: 1rem;
    }

    .footer-left {
        padding-left: 4rem;
    }

    .footer-left .footer-links a {
        font-size: 1.2rem;
    }

    .social-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .social-links li {
        font-size: 1.5rem;
        gap: 0.4rem;
    }

    .social-links a {
        font-size: 1.2rem;
    }

    .footer-bottom {
        margin-top: 3rem;
        max-width: min(1200px, 95%);
        margin-left: auto;
        margin-right: auto;
        padding-top: 1rem;
    }

    .footer-logo {
        height: 40px;
    }
}