@import url('https://fonts.googleapis.com/css2?family=Cherry+Bomb+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chango&display=swap');


html {
    scroll-behavior: smooth;
}

html, body{
    margin:0;
    padding:0;
    width:100%;
    overflow-x:hidden;
}

section{
    position:relative;
    width:100%;
    padding:120px 0;
    overflow:hidden;
}

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


body{
    font-family: Arial, Helvetica, sans-serif;
    background:#f2e8d5;
    color:#111;
    overflow-x:hidden;
}

/* GENERAL */

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
    overflow: hidden;
}

section{
    position:relative;
    width:100%;
    padding:120px 0;
    overflow:hidden;
}

h1,h2,h3{
    font-weight:800;
}

h2{
    font-size:4rem;
    line-height:1;
    margin-bottom:25px;
    font-family: 'Chango'
}

p{
    font-size:1.1rem;
    line-height:1.6;
    max-width:600px;
}

/* BUTTONS */

.btn{
    display:inline-block;
    padding:20px 30px;
    background:#f7d0e9;
    color:#111;
    border-color:#e9bb16;
    text-decoration:none;
    border-radius:40px;
    font-weight:700;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-3px);
}

.btn.dark{
    background:#111;
    color:white;
}

/* HERO */

.hero{
    background:#e9bb16;
    min-height:100vh;
    padding:30px 5%;
    position:relative;
}

/* NAV */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav h1{
    font-size:1.5rem;
    letter-spacing:1px;
}

nav a{
    text-decoration:none;
    color:#111;
    font-weight:700;
}

/* HERO GRID */

.top-bar {
    width: 100%;
    background: #edc34a;
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    margin: 0;
    height: 120px;
}



.top-bar-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.pill {
    padding: 10px 20px;
    border: 2px solid black;
    border-radius: 30px;
    text-decoration: none;
    margin-right: 10px;
    background: #f7d0e9;
    color: #111;
    font-weight: bold;
}

.cart-icon {
    height: 40px;
    width: auto;
    cursor: pointer;
}

.main-logo {
    height: 120px; 
    width: auto;
    display: block;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 82vh;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding-top: 0;
}

.hero-text h2{
    font-size: 4.5rem;
    line-height: 0.95;
    max-width: 500px;
    margin-bottom: 20px;
}

.hero-text p{
    max-width: 450px;
    margin-bottom: 30px;
}

.hero-text .btn{
    position: static;
    margin: 0;
    font-size: 1.3rem;
    padding: 18px 34px;
}

#cta {
    display: inline-block;
    padding: 18px 34px;
    background: #f7d0e9;
    color: #111;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 700;
    transition: 0.3s;
    position: static;
    margin: 0;
    font-size: 1.3rem;
}

#cta:hover {
    transform: translateY(-3px);
}

/* HERO IMAGE */

.hero-image{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 600px;
}

.product-photo{
    width: 650px;
    max-width: 100%;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 25px 30px rgba(0,0,0,0.18));
    animation: float 4s ease-in-out infinite;
}

.product-photo{
    animation:float 4s ease-in-out infinite;
}

@keyframes float{
    0%{transform:rotate(-8deg) translateY(0);}
    50%{transform:rotate(-8deg) translateY(-12px);}
    100%{transform:rotate(-8deg) translateY(0);}
}

.hero-image::before{
    content:"";
    position:absolute;
    width:340px;
    height:340px;
    background:#f7d0e9;
    border-radius:55% 45% 60% 40%;
    top: 120px;
    left: 120px;
    z-index:1;
}

.hero-image::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    background:#a7c400;
    border-radius:50%;
    bottom: 80px;
    z-index:2;
    top:120px;
    right: -60px;
}

/* HERO BUTTON */

.hero .btn{
    position: static;
    display: inline-block;
    margin-top: 30px;
    padding:22px 48px;
    font-size:2rem;
    border-radius:26px;
}

/* SECTION COLORS */

.green{
    background:#a7c400;
}

.pink{
    background:#f7d0e9;
}

.lightgreen{
    background:#bfd45f;
}

/* OUR STORY */

.ingredients {
    background-color: #a7bf52;
    background-image: url("images/Pattern1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 100px 60px;
    position: relative;
    overflow: visible;
}

.ingredients-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 3;
    flex-wrap: nowrap;
}

.ingredients-text h2 {
    font-size: 64px;
    color: #f2e8d5;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-family: 'Chango'
}

.ingredients-text p {
    font-size: 20px;
    max-width: 500px;
    line-height: 1.5;
}

.ingredients-art img {
    width: 350px;
    position: relative;
    z-index: 2;
}

.ingredients-art {
    position: relative;
    width:350px;
}

.ingredients-art::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: #e5c460;
    border-radius: 50%;
    right: -30px;
    top: 20px;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.ingredients-art::after {
    content: "";
    position: absolute;
    width: 275px;
    height: 270px;
    background: #f0d0e7;
    border-radius: 50%;
    right: 0;
    bottom: 50px;
    z-index: 1;
    animation: float 8s ease-in-out infinite;
}


.ingredients-inner {
    position: relative;
    z-index: 3;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.mushroom-art {
    position: relative;
    width: 350px;
    height: 350px;
    flex: 0 0 350px;
    display: block;
    z-index: 4;
}

.mushroom-art img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}

.mushroom.hover {
    opacity: 0;
}


.mushroom-art:hover .hover {
    opacity: 1;
}

.mushroom-art:hover .normal {
    opacity: 0;
}
.mushroom {
    transition: opacity 0.3s ease;
}


.mushroom-art {
    position: relative;
    width: 350px;
    height: 350px;
    display: block;
}

.mushroom {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.mushroom.normal,
.mushroom.hover {
    display: block;
}



/* FLAVORS */

.flavors {
    background-color: #f7d0e9;
    padding: 60px 60px 180px; 
}


.flavors {
    background-color: #f7d0e9;
    background-image: url("images/Pattern2.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: visible;
    min-height: 800px;
}

.flavors h2{
    text-align:left;
    margin-bottom:90px;
    margin-top: 50px;
    color: #111;
    font-size: 65px;;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    margin-top: 80px;
}

.gallery-item {
    background: none;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 600px;
    height: auto;
    display: block;
    border-radius: 12px;
}

.gallery-item:hover {
    transform: translateY(-6px);
}

.gallery-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.gallery-track {
    display: flex;
    gap: 30px;
    width: max-content;
    margin: 0 auto; 
}

.gallery-item img {
    width: 300px;
    border-radius: 20px;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-track {
    display: flex;
    width: max-content;
    gap: 30px;
    animation: scroll 60s linear infinite;
}

.gallery-window {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
    mask-image: linear-gradient(
        to right,
        transparent,
        black 10%,
        black 90%,
        transparent
    );
}

.flavors {
    position: relative;
    overflow: visible;
    padding-bottom: 0;
}


/* CONTAINER */
.yucca-art {
    position: absolute;
    bottom: 0;
    left: 60px;
    width: 385px;
    height: 385px;
    z-index: 10;
    transform: translateY(20px);
}

.yucca {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease;
}


.yucca.normal {
    opacity: 1;
    z-index: 1;
}

.yucca.hover {
    opacity: 0;
    z-index: 2;
}


.yucca-art:hover .normal {
    opacity: 0;
}

.yucca-art:hover .hover {
    opacity: 1;
}


.speech-bubble {
    position: absolute;
    left: 230px;
    bottom: 140px;
    background: #f8f0dc;
    padding: 16px 24px;
    border-radius: 999px;
    font-family: "Chango", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: bubbleFloat 4s ease-in-out infinite;
    z-index: 20;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}


.speech-bubble::before,
.speech-bubble::after {
    content: "";
    position: absolute;
    background: #f8f0dc;
    border-radius: 50%;
    z-index: 20;
}

.speech-bubble::before {
    width: 25px;
    height: 25px;
    top: -10px;
    left: 20px;
}

.speech-bubble::after {
    width: 30px;
    height: 30px;
    bottom: -12px;
    right: 20px;
}

/* CONTACT */

.contact > * {
    position: relative;
    z-index: 2;
    background: #c3da6b;
    padding: 0;
}

.contact h2 {
    font-size: 4rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

.contact {
    background: #bfd45f;
    padding: 180px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* (removed temporary sticky-footer rule) */

.contact p {
    font-size: 1.3rem;
    max-width: 500px;
    margin: 0 auto;
}

.signup-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    width: 100%;
}

.signup-form {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.signup-text {
    text-align: left;
}

.signup-form {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.signup-form input{
    border:none;
    padding: 15px 20px;
    width: 250px;
    outline:none;
}

.signup-form button {
    background:#f7d0e9;
    border: none;
    padding: 15px 25px;
    font-family:"Chango";
    font-weight: bold;
    border-radius: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    padding: 80px 60px;
}

.footer-logos img {
    width: 150px;
    display: block;
    margin-bottom: 20px;
}

.footer-links {
    display:flex;
    justify-content: space-around;
}

/* Make footer logos a small responsive grid */
.footer-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 12px;
    align-items: center;
    justify-items: center;
}

.footer-logos img {
    width: 80px; /* smaller logo size */
    max-width: 100%;
    height: auto;
    margin: 0;
}

@media (min-width: 900px) {
    .footer-logos img {
        width: 100px;
    }
}

.footer-links p {
    margin-bottom: 15px;
    cursor: pointer;
}

.footer-right {
    display:flex;
    flex-direction: column;
    gap: 20px;
    align-items: right;
}

.social-box {
    background:#f8f0dc;
    padding: 20px;
    border-radius: 15px;
    font-family: "Chango";
    align-items: right;
}

.icons {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid black;
    border-radius: 50%;
    background: #f7d0e9;
    transition: transform 0.2s ease;
    margin-bottom: 25px;
    margin-top: 5px;
}

.icons a:hover {
    transform: translateY(-4px) rotate(-3deg);
}

.icons img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.icons div {
    width:40px;
    height: 40px;
    border: 2px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icons a:hover {
    background: #edc34a;
}

.contact-box{
    background: white;
    padding: 20px;
    border-radius: 15px;
}

.wholesale-btn {
    display: inline-block;
    background: #edc34a;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    text-align:center;
}


.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.btn.dark {
    background: #111;
    right: 60px; /* move image 60px from the right edge */
    left: auto;
    color: white;
    border-radius: 30px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

.contact::before,
.contact::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    animation: floatBubbles 6s ease-in-out infinite;
}

.contact::before {
    width: 250px;
    height: 250px;
    background: #edc34a;
    top: -80px;
    left: -80px;
}

.contact::after {
    width: 200px;
    height: 200px;
    background: #f7d0e9;
    bottom: -60px;
    right: -60px;
    animation-delay: 2s; 
}

@keyframes floatBubbles {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(15px, -30px);
    }
    100% {
        transform: translate(0, 0);
    }
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 12px; 
}


.bottom-art {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    margin-top: 80px;
    margin-bottom: 0;
    margin-left: 50px
}


.bottom {
    position: absolute;
    bottom: -50px;
    width: 300px;  /* adjust */
    height: auto;
    transition: opacity 0.3s ease;
    pointer-events: auto;
    transform: translateY(30px); /* move down visually without affecting layout */
    z-index: 5;
}

.bottom.normal {
    opacity: 1;
    z-index: 1;
}

.bottom.hover {
    opacity: 0;
    z-index: 2;
}

.bottom-art:hover .normal {
    opacity: 0;
}

.bottom-art:hover .hover {
    opacity: 1;
}

/* speech bubble next to footer image */
.onion-speech {
    position: absolute;
    /* place relative to center of footer art and nudge to the right of the onion image */
    left: calc(50% + 140px);
    bottom: 110px;
    background: #f8f0dc;
    padding: 16px 22px;
    border-radius: 999px;
    font-family: "Chango", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: bubbleFloat 4s ease-in-out infinite;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 30;
    opacity: 1;
}

.onion-speech::before,
.onion-speech::after {
    content: "";
    position: absolute;
    background: #f8f0dc;
    border-radius: 50%;
    z-index: 29;
}

.onion-speech::before {
    width: 18px;
    height: 18px;
    top: -8px;
    left: 12px;
}

.onion-speech::after {
    width: 26px;
    height: 26px;
    bottom: -12px;
    right: 14px;
}

/* hide the bubble when hovering the bottom image */
.bottom:hover ~ .onion-speech,
.bottom.hover:hover ~ .onion-speech {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

@media (max-width: 700px) {
    .onion-speech { display: none; }
}


/* removed broken .bottom-art.fixed rules */

/* MOBILE */

@media(max-width:900px){}


.flavors h2,
.story h2,
.contact h2{
    text-align:center;
}

.contact h2{
    font-size:2.4rem;
    margin:auto;
}

.buttons{
    justify-content:center;
}

h2{
    font-size:2.5rem;
}