/* Logo Brand Reveal Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700;800;900&display=swap');

:root {
    --bg-page: #f0f2f5;
    --bg-card: #ffffff;
    --text-primary: #1f1f1f;
    --text-light: #ffffff;
    --color-brand-blue: #9BC8DB;
    --color-navy: #0b2c68;
    --color-red: #d62222;
    --font-serif: 'elizeth', serif;
    --font-sans: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

/* Container Frame */
.reveal-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-card);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Video Section (placed at the absolute top of the page) */
.video-section {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Animated Scroll Indicator */
.scroll-indicator {
    position: absolute;
    top: calc(100vh - 65px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.scroll-arrow-circle {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    animation: scroll-bounce 2s infinite;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-arrow-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-navy);
}

.scroll-indicator:hover .scroll-arrow-circle {
    background-color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    animation-play-state: paused;
    transform: scale(1.08);
}

@keyframes scroll-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Section 1: Announcement (White background) */
.announcement-section {
    background-color: #ffffff;
    padding: 36px 20px 0 20px;
    /* Bottom padding 0 to make chef image flush */
    text-align: left;
    display: block;
    position: relative;
}

/* Text container overlaying the chef hat */
.text-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.wait-title {
    font-family: var(--font-sans);
    font-size: 34px;
    font-weight: 700;
    color: var(--color-brand-blue);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.15;
    text-align: center;
    /* Main title centered */
    width: 100%;
}

.announcement-text {
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.25;
    color: #1f1f1f;
    text-align: left;
    /* Left-aligned description */
    margin-left: 4px;
    margin-bottom: 0;
    max-width: 375px;
    /* Restrict width so it wraps like the mock and sits nicely beside chef hat */
}

/* Chef Mascot holding BD Badge container (cropped top part only) */
.chef-bd-container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: -65px;
    /* Pulls the chef hat up behind/underneath the left-aligned text */
    line-height: 0;
    overflow: hidden;
}

.chef-bd-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section 2: Baker Heaven (Light blue background with stickers) */
.baker-heaven-section {
    background-color: var(--color-brand-blue);
    padding: 75px 24px 85px 105px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.heaven-title {
    font-family: var(--font-serif);
    font-size: 57px;
    line-height: 1.1;
    color: #000000;
    font-weight: 400;
    max-width: 260px;
    margin: 0;
    position: relative;
    z-index: 2;
    text-align: left;
}

/* Floating die-cut stickers styling */
.sticker {
    position: absolute;
    height: auto;
    /* Use drop-shadow for transparent PNG outlines */
    /* filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18)); */
    transition: transform 0.3s ease;
    z-index: 1;
}

.sticker-bundt:hover {
    transform: scale(1.1) rotate(5deg);
}

.sticker-cutters:hover {
    transform: scale(1.1) rotate(18deg);
}

.sticker-apron:hover {
    transform: scale(1.1) translateY(-50%) rotate(15deg);
}

.sticker-bag:hover {
    transform: scale(1.1) rotate(-15deg);
}

.sticker-cookbook:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Individual sticker coordinates and rotations - scaled up to be large like the mock */
.sticker-bundt {
    top: -45px;
    left: -35px;
    width: 175px;
    transform: rotate(8deg);
}

.sticker-cutters {
    top: 15px;
    right: 10px;
    width: 155px;
    transform: rotate(12deg);
}

.sticker-apron {
    top: 46%;
    right: -40px;
    width: 175px;
    transform: translateY(-50%) rotate(8deg);
}

.sticker-bag {
    bottom: -5px;
    left: -25px;
    width: 145px;
    transform: rotate(-5deg);
}

.sticker-cookbook {
    bottom: -5px;
    right: -10px;
    width: 170px;
    transform: rotate(5deg);
}

/* Section 3: Waving Mascot & Brand Info (Black background) */
.mascot-section {
    background-color: #000000;
    padding: 24px 24px 28px 24px;
    /* Reduced padding above and below */
    overflow: hidden;
}

.mascot-header-row {
    display: flex;
    align-items: flex-end;
    /* Align bottom edges of logo and chef perfectly */
    justify-content: space-between;
    gap: 0;
    margin-bottom: 36px;
    /* Increased vertical space between header row and text */
    position: relative;
}

/* Logo box */
.logo-box {
    width: 230px;
    /* Fixed width to make logo large */
    flex: none;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    /* Align image bottom to container bottom */
    z-index: 2;
    transform: translateY(36px);
    /* Shift down to compensate for logo bottom transparent padding (94px out of 600px) */
}

.brand-logo-stacked {
    width: 100%;
    height: auto;
    display: block;
}

/* Mascot sizing */
.mascot-img-box {
    width: 220px;
    /* Fixed width to make chef large */
    flex: none;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    /* Align image bottom to container bottom */
    margin-right: -24px;
    /* Pulls image flush to the right border */
    position: relative;
    z-index: 1;
}

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

/* Mascot Text Box */
.mascot-text-box {
    text-align: left;
    max-width: 100%;
}

.era-text {
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1.35;
    color: var(--text-light);
    margin-bottom: 20px;
    margin-right: 4px;
}

.buzz-text {
    font-family: var(--font-serif);
    font-size: 21px;
    line-height: 1.35;
    color: var(--color-brand-blue);
    margin-right: 110px;
}

/* Section 4: Footer (Light blue background) */
.footer-section {
    background-color: var(--color-brand-blue);
    padding: 32px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.brand-logo-inline {
    max-width: 415px;
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop Presentation Styles */
@media (min-width: 481px) {
    body {
        padding: 40px 0;
    }

    .reveal-container {
        min-height: auto;
        border-radius: 18px;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }
}

/* Mobile Adjustments for Narrow Screens */
@media (max-width: 400px) {
    .wait-title {
        font-size: 26px;
    }

    .announcement-text {
        font-size: 18px;
        max-width: 320px;
    }

    .heaven-title {
        font-size: 42px;
        max-width: 190px;
        text-align: left;
        margin: 0;
    }

    .sticker-bundt {
        width: 125px;
        top: -30px;
        left: -25px;
        transform: rotate(8deg);
    }

    .sticker-cutters {
        width: 115px;
        top: 10px;
        right: 5px;
    }

    .sticker-apron {
        width: 125px;
        right: -30px;
    }

    .sticker-bag {
        width: 105px;
        bottom: -5px;
        left: -20px;
    }

    .sticker-cookbook {
        width: 120px;
        bottom: -5px;
        right: -8px;
    }

    .baker-heaven-section {
        padding: 60px 16px 70px 80px;
        text-align: left;
    }

    .mascot-header-row {
        margin-bottom: 24px;
    }

    .logo-box {
        width: 175px;
        flex: none;
        transform: translateY(27px);
    }

    .mascot-img-box {
        width: 165px;
        flex: none;
        margin-right: -16px;
    }

    .era-text {
        font-size: 16px;
        line-height: 1.35;
    }

    .buzz-text {
        font-size: 17.5px;
        line-height: 1.35;
    }

    .brand-logo-inline {
        max-width: 315px;
    }
}