/* ======================
   Global Styles
====================== */
body {
    background-color: #FFFBF0;
    margin: 0;
    font-family: 'Varela Round', sans-serif;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: #F47FB0;
    -webkit-text-stroke: 2px #563622;
    text-shadow: 4px 4px 0px #563622;
    text-align: center;
    margin: 0 auto;
}

/* ======================
   Hero / Headline
====================== */
h1 {
    font-size: clamp(60px, 12vw, 120px);
    padding: 150px 0;
}

.jump-i {
    display: inline-block;
    animation: jump-squish 0.6s ease-out forwards;
    position: relative;
}

@keyframes jump-squish {
    0%   { transform: translateY(0) scaleY(1) scaleX(1); }
    30%  { transform: translateY(-14px) scaleY(1) scaleX(1); }
    60%  { transform: translateY(3px) scaleY(0.6) scaleX(1.2); }
    100% { transform: translateY(0) scaleY(1) scaleX(1); }
}

.jump-i:nth-of-type(1) { animation-delay: 0.2s; }
.jump-i:nth-of-type(2) { animation-delay: 0.4s; }
.jump-i:nth-of-type(3) { animation-delay: 0.6s; }

/* ======================
   Scrolling Banner
====================== */
.scrolling-banner {
    width: 100%;
    overflow: hidden;
    background: #000;
    color: #fff;
    padding: 12px 0;
}

.scroll-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.scroll-item {
    white-space: nowrap;
    padding-right: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* ======================
   About Section
====================== */
#about {
    background-color: #f7e7db;
    padding: 100px 20px 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;


        display: flex;
    flex-direction: column;
    align-items: center;  /* horizontal centering */
    justify-content: center; /* optional for vertical centering */
    padding: 50px 20px; /* uniform padding */
    width: 100%;
    box-sizing: border-box; /* ensures padding doesn’t push content */
}


#about h2 {
    font-size: clamp(50px, 10vw, 120px);
    padding-bottom: 30px;
}

#about p {
    font-size: 18px;
    font-weight: 400;
    padding: 5px;
    max-width: 95%;
}

.about-me-description {
    transition: 0.2s ease;
    border: 3px solid #563622;
    box-shadow: 8px 8px 0px #563622;
    padding: 30px;
    color: #563622;
    background-color: #FFFBF0;
    border-radius: 50px;
    width: 90%;
    max-width: 800px;
    text-align: left;
    margin: 20px auto;
}

.about-me-description strong {
    color: #F47FB0;
    font-size: 1.5rem;
}

/* ======================
   Contact Section
====================== */
#contact {
    background-color: #ffeeef;
    text-align: center;
    padding: 50px 20px 100px 20px;
}

#contact h2 {
    font-size: clamp(40px, 8vw, 70px);
    padding-bottom: 50px;
}

#contact p {
    font-size: 18px;
    max-width: 90%;
    margin: 0 auto 20px;
}

form a {
    text-decoration: none;
    color: inherit;
    font-size: 2rem;
    transition: 0.2s ease;
}

form a:hover {
    display: inline-block;
    animation: jump-squish 0.6s ease-out forwards;
}

form p {
    font-size: 20px;
    -webkit-text-stroke: 1px #130b06;
    color: #563622;
    margin: 50px auto 0;
}

/* ======================
   Offers Section
====================== */
#offers {
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: #FFFBF0;
    padding: 50px 20px 100px 20px;

        display: flex;
    flex-direction: column;
    align-items: center;  /* horizontal centering */
    justify-content: center; /* optional for vertical centering */
    padding: 50px 20px; /* uniform padding */
    width: 100%;
    box-sizing: border-box; /* ensures padding doesn’t push content */
}

#offers h2 {
    font-size: clamp(50px, 10vw, 90px);
    padding: 50px 0;
    color: #eeb7d7;
}

#offers h3 {
    font-size: clamp(30px, 6vw, 40px);
    color: #aeccbf;
    -webkit-text-stroke: 1.5px #2a0517;
    text-shadow: 2px 2px 0px #2c0614;
    margin-bottom: 20px;
}

#offers p {
    font-size: 17px;
    color: rgb(68, 47, 20);
    margin: 0 auto 20px;
    max-width: 95%;
    font-weight: 200;
}

.offer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding-top: 50px;
}

.offer {
    transition: 0.2s ease;
    border: 3px solid #563622;
    box-shadow: 6px 6px 0px #563622;
    border-radius: 50px;
    padding: 20px;
    width: 90%;
    max-width: 600px;
    height: auto;
    color: #563622;
    background-color: #FFFBF0;
    text-align: center;
}

.offer:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0px #2a0517;
}

.btn-primary {
    display: inline-block;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: #310f1d;
    border: 3px solid #422f1e;
    box-shadow: 3px 3px 0px #563622;
    width: 80%;
    max-width: 300px;
    padding: 15px 0;
    border-radius: 50px;
    margin: 20px auto;
    text-align: center;
    transition: 0.2s ease;
}

.btn-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 6px 6px 0px #5e3c23;
}

/* ======================
   Footer
====================== */
footer {
    background-color: rgb(74, 51, 35);
    color: antiquewhite;
    text-align: center;
    padding: 10px 0;
}

/* ======================
   Responsive Media Queries
====================== */


@media (max-width: 768px) {
    .about-me-description,
    .offer {
        width: 95%;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about-me-description,
    .offer {
        width: 100%;
        padding: 15px;
    }
}



@media (max-width: 768px) {
    .offer-container {
        flex-direction: column;
        gap: 20px;
    }

    #about p,
    #offers p,
    #contact p {
        font-size: 16px;
    }

    .about-me-description {
        padding: 15px;
        width: 95%;
    }

    .btn-primary {
        width: 90%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: clamp(30px, 12vw, 60px);
        padding: 80px 0;
    }

    h2 {
        font-size: clamp(25px, 10vw, 50px);
    }

    h3 {
        font-size: clamp(20px, 8vw, 30px);
    }

    #about p,
    #offers p,
    #contact p {
        font-size: 14px;
    }

    .about-me-description,
    .offer {
        width: 100%;
        padding: 10px;
            margin: 0 auto;  /* centers the block */
    width: 90%;
    max-width: 800px; /* keep max size for desktops */
    box-sizing: border-box;
    }

    .btn-primary {
        width: 100%;
        padding: 10px 0;
    }
}