*{
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

#wrapper{
    margin: auto;
    background-color: var(--bg-color);

}

body{
    background-color: var(--bg-color);
}

/* Start Light/Dark*/

:root {
  /* Light mode (RGB) */
  --bg-color: rgb(255, 255, 255);
  --text-color: rgb(34, 34, 34);
  --card-bg: rgb(247, 206, 154);
  --accent-color: aqua;
}

.dark-mode {
  /* Dark mode (RGB) */
  --bg-color: rgb(18, 18, 18);
  --text-color: rgb(234, 234, 234);
  --card-bg: rgb(58, 58, 58);
  --accent-color: rgb(73, 102, 168);
}

* {
  transition: background-color 0.4s ease, color 0.4s ease;
}

#modeToggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 8px;
}

.fa-sun{
    color: yellow;
}


/* End Light/Dark */





/* Start popup */

.popup-container{
    width: 100%;
    height: 400px;
    display: none;
    position: absolute;
    z-index: 999;
    top: 18%;
    background-image: url(Last\ Chance!.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
}

.popup{
  
    text-align: center;
    max-width: 500px;
    width: 100%;
    height: 500px;
}

#popup-close{
    text-align: center;
    font-size: 2em;
    margin-top: 25px;
    justify-content: center;
    align-items: center;
}

.btn-main {
    font-size: 2.5em;
    margin-top: 290px;
}

.popup p{
    font-size: 1.75em;
}

.overlayment{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 777;
    background-color: rgba(0, 0, 0, 0.541);
    display: none;
}

/* End popup */

/* Begin Sale Banner */
.saleBanner1{
    width: 100%;
    overflow: hidden;
}

.saleBanner1 img{
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* End Sale Banner */



/* Start Nav */

.nav{
    background-color:var(--card-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1900px;
    border-radius: 55px;
}

.nav .logo img {
    width: 150px;
    height: auto;
    padding: 0px 20px;

}

.nav ul{
    display: flex;
    width: 100%;
    align-items: flex-start;
    color: white;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0px;
}

.nav li {
    list-style-type: none;
}

.nav li.links{
    width: 100%;
    text-align: center;
    padding: 15px;
}

#iconOpen, #iconClose, .iconCart{
    padding: 15px;
}

.hide{
    display: none;
}

/* End Nav */

/* Timer Box */


#timer {
    max-width: 1900px;
    width: 100%;
    background-color: var(--accent-color);
    text-align: center;
    padding: 8px;
    border-radius: 55px;
}

#timer p{
    font-size: 1.5em;
    margin: 0px;
    padding-bottom: 10px;
    color: rgb(0, 0, 0);
    font-weight: 600;
}
/* End Timer Box */

/* Slider CSS*/

.slide{
    width: 100%;
    height: 500px;
    max-width: 1900px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slide1{
    background-image: url(images_food/dog\ eating\ 1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.slide2{
    background-image: url(image_hamster_1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-container{
    display: flex;
    align-items: center;
    justify-content: center;
   
}
.teal{
    color: aqua;
}

.white{
    color: white;
}

.black-back{
    background-color: black;
    padding: 5px;
}

.cta-wrapper{
    max-width: 1900px;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-cta-wrapper{
    width: 350px;
    background-color: rgba(0, 0, 0, 0.3777);
    padding: 50px;
    text-align: center;
    font-size: 1.2em;
}

.slide .inner-cta-wrapper .black-back{
    background-color: black;
    padding: 5px;
}

.btn-main{
    background-color: var(--accent-color);
    color: white;
    padding: 10px;
    border-radius: 20px;
    border-style: none;
}

i.fa-solid.fa-circle-chevron-right{
    color: var(--accent-color);
    font-size: 2em;
    margin-right: 3px;
}

i.fa-solid.fa-circle-chevron-left{
    color: var(--accent-color);
    font-size: 2em;
    margin-left: 3px;
}

.dot-container{
    max-width: 1900px;
    position: relative;
    bottom: 25px;
    margin: 0 auto;
    
}

.inner-dot-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.dot{
    cursor: pointer;
    height: 15px;
    width: 15px;
    background-color: rgba(4, 223, 252, 0.76);
    border-radius: 100%;
    margin: 0px 5px;
    display: inline-block;
    transition: background-color 0.6s ease;
    
}

.active, .dot:hover{
    background-color: white;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 2.5s;
    animation-name: fade;
    animation-duration: 2.5s;
}

@-webkit-keyframes fade{
    from{opacity: .6;}
    to{opacity: 1;}
}

@keyframes fade{
    from{opacity: .6;}
    to{opacity: 1;}
}

/* End Slider CSS*/


/* Owl Carousel CSS */


.product-box img{
    max-width: 200px;
    margin-top: 300px;
    border-radius: 20px;
    background-color:var(--card-bg);
}

.product-container{
    max-width: 1900px;
    width: 100%;
    border-radius: 50px;
    padding: 20px;
    background-color:var(--card-bg);
    
}
.product-box{
    width: 350px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 2px black 5px;
    text-align: center;
    background-color:var(--card-bg);
    border-radius: 55px;
    
}
.prev,.next {
    cursor: pointer;
}

.owl-nav{
    position: relative;
}

.owl-nav .fa-circle-chevron-left{
    position: absolute;
    left: 0;
    bottom: 200px;
    }
    
.owl-nav .fa-circle-chevron-right{
    position: absolute;
    left: 0;
    bottom: 200px;   
}

.owl-item{
    justify-content: center;
    display: flex;
    background-color: var(--accent-color);
    border-radius: 55px;
}

.owl-drag{
    background-color: var(--accent-color);
}
.owl-grab{
    background-color: var(--accent-color);
}
.owl-carousel{
    background-color: var(--accent-color);
}
.owl-loaded{
    background-color: var(--accent-color);
}
.owl-stage-outer{
    background-color: var(--accent-color);
}
/* Owl Carousel CSS */


/* Footer */


footer {
background-color:var(--card-bg);
color: var(--text-color);
width: 100%;
max-width: 1900px;
position: fixed;
bottom: 0px;
text-align: center;
border-radius: 55px;
}

/* End Footer */

/* Responsive Navigation Start */



@media  screen and (min-width: 900px) {
    #iconOpen, #iconClose{
        display: none;
    }

    

    .hide{
    display: block;}

    .nav ul{
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
    }

    .nav li.links{
        width: auto;
    }

    .nav li.logo{
        width: 100%;
    }

    ul li:nth-child(3){
        order:1
    }
    ul li:nth-child(5){
        order: 2
    }
    ul li:nth-child(6){
        order: 3
    }
    ul li:nth-child(7){
        order: 4
    }
    ul li:nth-child(4){
        order: 7
    }
    
}
/* Responsive Navigation End */

/* Quiz Page CSS Start */

#quizForm{
    background-color:var(--card-bg);
    color: black;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1{
    color: rgb(0, 0, 0);
    text-align: center;
}

.question {
    margin-bottom: 20px;

}

.answers label{
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
}

button {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
}

button:hover {
    background-color: brown;
}

#result {
    margin-top: 25px;
    padding: 15px;
    background-color: rgba(252, 234, 234, 0.678);
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(270deg,red, orange, yellow, green, blue, indigo, violet);
    animation: rainbowFlash 15s linear infinite;
    background-size: 1400% 1400%;
    
    display: none;
}

#error{
    align-items: center;
    text-align: center;
    background-color: rgba(250, 1, 1, 0.493);
}


@keyframes rainbowFlash {
    0% {background-position: 0% 50%; }
    50% {background-position: 100% 50%; }
    100% {background-position: 0% 50%; }
}


/* Quiz Page CSS End */


.ingredient-banner{
    margin: auto;
    text-align: center;
    background-color: var(--accent-color);
    font-size: 2.5em;
    border-radius: 55px;
    margin-bottom: 50px;
}

.ingredientBox{
    margin: auto;
    text-align: center;
    background-color: var(--card-bg);
    font-size: 1.25em;
    border-radius: 55px;
    color: var(--text-color);
    width: 80%;

}



/* Cart Page */

.simple-nav{
    background-color: var(--card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.simple-nav .logo img{
    max-width: 100px;
    width: 100%;
}

.simple-nav .fa-cart-shopping{
    font-size: 1.5em;
}

.simple-nav .cart{
    position: relative;
}

.simple-nav a{
    color: white;
}

.simple-nav #cart-count{
    position: absolute;
    bottom: 20px;
    left: 15px;
    background-color: pink;
    border-radius: 50%;
    padding: 6px;
}

.header {
    background-image: url(image_dog_1.JPG);
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 0;
    color: white;
}

.header h2{
    font-size: 2em;
}

.products{
    max-width: 1400px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: grey;
}

.products .product-card img {
    max-width: 200px;
    width: 100%;
}

.products .product-card{
    background-color: rgb(202, 202, 247);
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.btn-main{
    border-style: none;
    padding: 10px 30px;
    color: white;
    background-color: crimson;
    border-radius: 20px;
}

.btn-main a{
    text-decoration: none;
}

/* Cart CSS */

.cart-items{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0px;
    border-bottom: 1px solid rgb(187, 187, 187);
}

.cart-thumb{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-info{
    flex: 1;
}

.cart-actions{
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn{
    padding: 6px 12px;
    font-size: 1em;
    cursor: pointer;
}

.qty-display{
    min-width: 20px;
    text-align: center;
    font-size: 1em;
}

.remove-btn{
    padding: 6px 20px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

.cart p.total{
    text-align: right;
}



#contact-wrapper {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding-top: 140px; 
}


.contact-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s ease;
}


.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-main, #f5f5f5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 10px;
}

.contact-subtext {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.8;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form label {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-input,
.contact-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #ccc;
    background: var(--bg-input, #ffffff);
    font-size: 1rem;
    transition: 0.2s;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: rgb(100, 100, 255);
    outline: none;
}


.contact-button {
    padding: 12px;
    background: rgb(100, 100, 255);
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

a,a:visited,a:active {
    color: inherit;
    text-decoration: none;
}




.ingredient-section{
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    gap: 40px;
    text-align: center;
}
.ingredient-section h2{
    margin-top: 0;
    font-size: 2.6rem;
    font-weight: 600;
    text-align: center !important;
}

.ingredient-box{
    padding: 20px;
    margin-bottom: 60px;
    border-radius: 12px;
    background: var(--card-bg,rgba(255,255,255,0.8));
    box-shadow: 0 4px 12px rgba(255,255,255,0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.05);
}

.ingredient-box h2{
    margin-top: 0;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center !important;
}

.ingredient-box p {
    margin: 10px 0 0;
    line-height: 1.6;
}

section h2, section p{
    color: var(--text-color);
}