/* =========================================
   GLOBAL
========================================= */
html {
  box-sizing: border-box;
}
main {
    position: relative;
}



body {
    margin: 0;
    padding: 0;
    background-color: black;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


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

header {
    position: relative;
    width: 100%;
    background-image: linear-gradient(to bottom, black, white, black);
    margin: 0;
    padding: 0;
}

.header-container {
    height: 150px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-left {
    position: absolute;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#logo_img1 {
    width: 150px;
    height: 100px;
    border: 3px solid white;
    border-radius: 5px;
}

#logo_h1 {
    font-size: 45px;
    color: black;
    margin: 0;
    font-family: Verdana, Arial, sans-serif;
}

.header-right {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 20px;
}

.header-right a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.header-right a:hover {
    text-decoration: underline;
}


/* =========================================
   CAFÉ BACKGROUND
========================================= */

.logo_bar {
    position: relative;

    width: 100%;
    height: 900px;

    background-image: url("images/cafe_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

.text-overlay {
    position: absolute;
    top: 500px;
    text-align: center;
    
    width: 100%;
    color: white;
    z-index: 10;
    padding: 40px;
}

.text-overlay-header {
    text-align: center;
}

/* =========================================
   LETTER DROP ANIMATION
========================================= */

.letters {
    position: absolute;
    display: flex;
    gap: 100px;
    left: 25%;
    top: 0%;
}

.letters img {
    opacity: 0;
    width: 100px;
    height: 100px;
    position: relative;
}

@keyframes fadeInLetter {
    0%   { opacity: 0; }
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

.letterH { animation: fadeInLetter 3s linear 0s forwards; }
.letterT { animation: fadeInLetter 5s linear 0.5s forwards; }
.letterM { animation: fadeInLetter 7s linear 1s forwards; }
.letterL { animation: fadeInLetter 9s linear 1.5s forwards; }


/* =========================================
   BIRD ANIMATION
========================================= */

.bird {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url("images/bird1.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: flap 0.6s steps(1) infinite,
               fly 8s linear infinite;
}

.bird1 {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url("images/bird1.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: flap 0.6s steps(1) infinite,
               fly1 9s linear infinite;
}

.bird2 {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url("images/bird1.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: flap 0.6s steps(1) infinite,
               fly2 12s linear infinite;
}

@keyframes flap {
    0%   { background-image: url("images/bird1.png"); }
    16%  { background-image: url("images/bird2.png"); }
    33%  { background-image: url("images/bird3.png"); }
    50%  { background-image: url("images/bird4.png"); }
    66%  { background-image: url("images/bird5.png"); }
    83%  { background-image: url("images/bird6.png"); }
    100% { background-image: url("images/bird1.png"); }
}

@keyframes fly {
    0%   { left: 95%; top: 30%; transform: translate(-50%, -50%) scaleX(1); }
    25%  { left: 75%; top: 60%; transform: translate(-50%, -50%) scaleX(1); }
    50%  { left: 50%; top: 100%; transform: translate(-50%, -50%) scaleX(1); }
    75%  { left: 25%; top: 80%; transform: translate(-50%, -50%) scaleX(1); }
    100% { left: -10%; top: 100%; transform: translate(-50%, -50%) scaleX(1); }
}

@keyframes fly1 {
    0%   { left: 95%; top: 40%; transform: translate(-50%, -50%) scaleX(1); }
    25%  { left: 75%; top: 70%; transform: translate(-50%, -50%) scaleX(1); }
    50%  { left: 50%; top: 120%; transform: translate(-50%, -50%) scaleX(1); }
    75%  { left: 25%; top: 100%; transform: translate(-50%, -50%) scaleX(1); }
    100% { left: -10%; top: 90%; transform: translate(-50%, -50%) scaleX(1); }
}

@keyframes fly2 {
    0%   { left: 95%; top: 90%; transform: translate(-50%, -50%) scaleX(1); }
    25%  { left: 75%; top: 70%; transform: translate(-50%, -50%) scaleX(1); }
    50%  { left: 50%; top: 90%; transform: translate(-50%, -50%) scaleX(1); }
    75%  { left: 25%; top: 50%; transform: translate(-50%, -50%) scaleX(1); }
    100% { left: -10%; top: 100%; transform: translate(-50%, -50%) scaleX(1); }
}


/* =========================================
   WORM ANIMATION
========================================= */

.worm {
    position: absolute;
    width: 75px;
    height: 75px;
    background-image: url("images/worm_anima/worm1.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: crawl 0.8s steps(1) infinite,
               move 30s linear infinite;
}
.balloonred {
    position: absolute;
    bottom: -200px;     /* FIXED */
    left: 50%;
    width: 125px;
    height: 125px;
    background-image: url("images/redballoon.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: balloonfloatred 8s linear forwards;
}

.balloonyellow {
    position: absolute;
    bottom: -200px;     /* FIXED */
    left: 40%;
    width: 125px;
    height: 125px;
    background-image: url("images/blueballoon.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: balloonfloatyellow 10s linear forwards;
}

.balloongreen {
    position: absolute;
    bottom: -200px;     /* FIXED */
    left: 60%;
    width: 125px;
    height: 125px;
    background-image: url("images/greenballoon.png");
    background-size: contain;
    background-repeat: no-repeat;
    animation: balloonfloatgreen 10s linear forwards;
}

@keyframes crawl {
    0%   { background-image: url("images/worm_anima/worm1.png"); }
    20%  { background-image: url("images/worm_anima/worm2.png"); }
    40%  { background-image: url("images/worm_anima/worm3.png"); }
    60%  { background-image: url("images/worm_anima/worm4.png"); }
    80%  { background-image: url("images/worm_anima/worm5.png"); }
    100% { background-image: url("images/worm_anima/worm6.png"); }
}

@keyframes balloonfloatred {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(50px, -150px); }
    50%  { transform: translate(80px, -300px); }
    75%  { transform: translate(300px, -650px); }
    100% { transform: translate(400px, -965px); }
}

@keyframes balloonfloatgreen {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(100px, -150px); }
    50%  { transform: translate(200px, -300px); }
    75%  { transform: translate(300px, -600px); }
    100% { transform: translate(395px, -965px); }
}

@keyframes balloonfloatyellow {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(30px, -150px); }
    50%  { transform: translate(200px, -300px); }
    75%  { transform: translate(300px, -600px); }
    100% { transform: translate(600px, -965px); }
}


/* =========================================
   GLOW EFFECTS
========================================= */

.lamp-glow,
.lamp-glow1,
.sign-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    animation: lampFlicker 3s infinite;
}

.lamp-glow {
    left: -11%;
    top: 13%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,
        rgba(255,240,170,0.8) 0%,
        rgba(255,220,100,0.35) 25%,
        rgba(255,200,80,0.12) 50%,
        transparent 75%);
}

.lamp-glow1 {
    left: 73%;
    top: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle,
        rgba(255,240,170,0.8) 0%,
        rgba(255,220,100,0.35) 25%,
        rgba(255,200,80,0.12) 50%,
        transparent 75%);
}

.sign-glow {
    left: 69%;
    top: 70%;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle,
        rgba(226,226,204,0.938) 0%,
        rgba(255,220,100,0.35) 25%,
        rgba(255,200,80,0.12) 50%,
        transparent 75%);
}

@keyframes lampFlicker {
    0%, 12%, 18%, 25%, 40%, 55%, 70%, 100% { opacity: 1; }
    13% { opacity: 0.65; }
    15% { opacity: 0.9; }
    22% { opacity: 0.25; }
    24% { opacity: 0.8; }
    42% { opacity: 0.55; }
    44% { opacity: 0.95; }
    72% { opacity: 0.4; }
    75% { opacity: 1; }
}


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

footer {
    background-color: #111;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 80px;
    text-align: center;
    padding: 20px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 250px;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

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





/*MOBILE////////////////////////*/




@media screen and (max-width: 775px) {

     body{
       width:100%;
  }
    .logo_bar {
        position: relative;

        width: 100%;
        height: 900px;

        background-color: black;
        background-size: cover;
        background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

    /* Header */

    .header-container {
        height: auto;
        padding: 20px 10px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .header-left {
        position: static;
        justify-content: center;
    }

    #logo_img1 {
        width: 100px;
        height: auto;
    }

    #logo_h1 {
        font-size: 24px;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .header-right {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .header-right a {
        display: block;
        width: 90%;
        max-width: 250px;
        text-align: center;
        padding: 10px;
        background: rgba(255,255,255,.15);
        border: 1px solid rgba(255,255,255,.3);
        border-radius: 8px;
        text-decoration: none;
        font-size: 18px;
    }

    /* Hero Section */

    .logo_bar {
        height: 650px;
    }

    .text-overlay {
        top: 220px;
        padding: 15px;
        font-size: 16px;
    }

    .text-overlay h2 {
        font-size: 28px;
    }

    .text-overlay h3 {
        font-size: 22px;
    }

    /* Letter Animation */

    .letters {
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
    }

    .letters img {
        width: 45px;
        height: 45px;
    }

    /* Flying Birds */

    .bird,
    .bird1,
    .bird2 {
        width: 55px;
        height: 55px;
    }

    /* Balloons */

    .balloonred,
    .balloongreen,
    .balloonyellow {
        width: 70px;
        height: 70px;
    }

    /* Footer */

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
        @keyframes balloonfloatred {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(50px, -150px); }
    50%  { transform: translate(25px, -300px); }
    75%  { transform: translate(-50px, -650px); }
    100% { transform: translate(-80px, -725px); }
}

    @keyframes balloonfloatgreen {
        0%   { transform: translate(0, 0); }
        25%  { transform: translate(100px, -150px); }
        50%  { transform: translate(150px, -300px); }
        75%  { transform: translate(25px, -600px); }
        100% { transform: translate(-50px, -725px); }
    }
/* blue balloon*/
    @keyframes balloonfloatyellow {
        0%   { transform: translate(0, 0); }
        25%  { transform: translate(30px, -150px); }
        50%  { transform: translate(50px, -300px); }
        75%  { transform: translate(40px, -600px); }
        100% { transform: translate(50px, -725px); }
    }

}