@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
--primary-color: #fc0915;
-primary-color-light: #fffcfa;
-primary-color-dark: #db3309;
-text-dark: #18181b;
-text-light: #667280;
--white: #ffffff;
--max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
}

.logo a{
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo a span{
    color: var(--text-dark);
}

img{
    display: flex;
    width: 100%;
}

a{
    text-decoration: none;
    transition: 0.3s linear;
}

ul{
    list-style: none;
}

/*Navigation*/

nav{
    position: fixed;
    isolation: isolate;
    width: 100%;
    z-index: 9;
}

.nav_header{
    width: 100%;
    padding: 1 rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
}

.nav_logo a{
    display: flex;
    color: var(--white);
}

.nav_menu_btn{
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav_links{
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    padding: 2rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--primary-color);
    transition: 0.5s;
    z-index: -1;
    transform: translateY(-100%);
}

.nav_links.open{
    transform: translateY(0);
}

.nav_links a{
    font-weight: 500;
    color: var(--primary-color);
}

.nav_links a:hover{
    color: var(--text-dark);
}

.nav_btn{
    display: flexbox;
}

/*Navigation Responsiveness*/
@media (width > 768px) {
    nav{
        position: static;
        padding: 2rem 1rem;
        max-width: var(--max-width);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .nav_header{
        flex: 1;
        padding: 0;
        background-color: transparent;
    }
    .nav_logo a{
        color: var(--primary-color);
    }

    .nav_menu_btn{
        display: none;
    }

    .nav_links{
        position: static;
        padding: 0;
        flex-direction: row;
        background-color: transparent;
        transform: none;
    }

    .nav_links a{
        color: var(--text-dark);
    }

    .nav_links a:hover{
        color: var(--primary-color);
    }

    .nav_btn{
        display: flex;
        flex: 1;
        justify-content: flex-end;
    }

    .nav_btn .btn{
        padding: 8px 10px;
        font-size: 1.5rem;
        border-radius: 100%;
    }
}

/*Header*/
.section_container{
    max-width: var(--max-width);
    margin: auto;
    padding: 2.5rem 1rem;
}

.section_description{
    color: var(--text-light);
    line-height: 1.75rem;
    text-align: center;
}

.btn{
    padding: 0.75rem 1.5rem;
    outline: none;
    border: none;
    white-space: nowrap;
    font-size: 1rem;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: 0.3s;
    cursor: pointer;
}

.btn:hover{
    background-color: var(--primary-color-dark);
}

.header_container{
    padding-bottom: 2rem;
    display: grid;
    gap: 0.5rem;
    overflow: hidden;
}

.header_image img{
    max-width: 600px;
    margin-inline: auto;
}

.header_content h1{
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    color: var(--text-dark);
    text-align: center;
}

.header_content h1 span{
    color: var(--primary-color);
}

.header_content .section_description{
    margin-bottom: 2rem;
}

.header_btn{
    text-align: center;
}

/*header responsiveness*/
@media (width > 768px){
    .header_container{
        grid-template-columns: 2fr 3fr;
        align-items: center;
    }

    .header_content h1, 
    .header_content .section_description, 
    .header_btn{
        text-align: left;
    }

    .header_image{
        grid: 1/2/2/3;
    }
}


/*Special D*/
.section_header{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 3rem;
    text-align: center;
    color: var(--text-dark);
}

.section_container{
    padding: 2.5rem 1rem;
}

.special_container:is(.section_header, .section_description){
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    margin-inline: auto;
}

/* Special Section Styling */
.special_container {
    padding-top: 2rem;
    text-align: center;
}

.special_container .section_header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.special_container .section_description {
    color: var(--text-light);
    max-width: 600px;
    text-align: center;
    margin: 0 auto 3rem;
    font-size: 1rem;
}

/* Grid layout */
.special_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Card design */
.special_card {
    height: 100%;
    background: #fff;
    padding: 2rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Food image - circle */
.special_card img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Title */
.special_card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Description */
.special_card p {
    font-size: 0.95rem;
    line-height: 1rem;
    color: var(--text-light);
    text-align: start;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7; /* limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Star ratings */
.special_ratings {
    font-size: 1rem;
    color: gold;
    margin-bottom: 1rem;
}

/* Footer: price + button */
.special_footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap:0.8rem;
}

.special_footer .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Add to Cart button */
.special_footer .btn {
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.9rem;
}

.special_footer .btn:hover {
    background-color: var(--primary-color-dark);
}


@media (width > 768px) {
    .section_header,
    .section_description {
        text-align: left;
    }
}

@media (width > 540px) {
    .special_grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 768px) {
    .special_grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

/*Explore Section*/
.explore_container{
    display: grid;
    align-items: center;
    overflow: hidden;
}

.explore_image img{
    max-width: 400px;
    margin-inline: auto;
    filter: drop-shadow(0 0 50px rgba(252, 127, 9, 0.4));
}

.section_header{
    text-align: center;
}

.explore_content {
    display: flex;
    flex-direction: column;
    justify-content: start; /* vertical centering */
    align-items: flex; /* left alignment on desktop */
    gap: 1rem;
}

.explore_content .section_header 
.explore_content .section_description{
    margin: 1rem;
}

.explore_btn{
    padding: 0rem;
    text-align: center;
}

@media (width > 768px) {
    .explore_container{
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .explore_content .section_header{
        max-width: 500px;
    }

    .explore_content :is(.section_header,.section_description), .explore_btn{
        text-align: left;
    }
}

/* Banner */
.banner_container{
    display: grid;
    gap: 1rem;
}

.banner_card{
    padding: 2rem;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.1);
    border-radius: 3rem;
    transition: 0.3s;
}

.banner_card:hover{
    box-shadow: 10px 10px 10px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.banner_card .banner_icon{
    display: inline-block;
    margin-bottom: 1rem;
    padding: 5px 11px;
    font-size: 2rem;
    color: var(--white);
    border-radius: 1rem;
}

.banner_card:nth-child(1) .banner_icon{
    background-color: #62b15c;
    box-shadow: 5px 5px 30px #62b15c;
}

.banner_card:nth-child(2) .banner_icon{
    background-color: #ff3e67;
    box-shadow: 5px 5px 30px #ff3e67;
}

.banner_card:nth-child(3) .banner_icon{
    background-color: #185adb;
    box-shadow: 5px 5px 30px #185adb;
}

.banner_card h4{
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font: 600;
    color: var(--);
}

.banner_card p{
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.75rem;
}

.banner_card a{
    display: flex;
    align-items: center;
    font-size: 500;
    color: var(--primary-color);
}

.banner_card a span{
    font-size: 1.25rem;
    transition: 0.3s;
}

.banner_card a:hover span{
    transform: translateX(5px);
}

@media (width > 540px) {
    .banner_container{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width > 1024px) {
    .banner_container{
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Chef */

.chef{
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.chef_bg{
    position: absolute;
    z-index: -1;
    max-width: 275px;
    left: -4rem;
    bottom: -2rem;
}

.chef_container{
    padding-bottom: 10rem;
    display: grid;
    gap: 2rem;
}

.chef_content .section_description{
    text-align: center;
}

.chef_image{
    position: relative;
    isolation: isolate;
}

.chef_image img{
    max-width: 500px;
    border-radius: 100%;
    margin-inline: auto;
}

.chef_image::after{
    position: absolute;
    content: "";
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 100%;
    max-width: 500px;
    background-color: var(--primary-color);
    border-radius: 100%;
    z-index: -1;
}

.chef_list{
    display: grid;
}

.chef_list li{
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--text-dark);
}

.chef_list li span{
    font-size: 1.5rem;
}

.chef_list li:nth-child(1) span{
    color: #62b15c;
}

.chef_list li:nth-child(2) span{
    color: #ff3e67;
}

.chef_list li:nth-child(3) span{
    color: #185adb;
}

@media (width > 768px) {
    .chef_container{
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .chef_image{
        grid-area: 1/2/2/3;
    }
}

@media (width > 1024px) {
    .chef_bg{
        max-width: 375px;
    }
}

/* Testimonail */
.testimonial_section{
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
    text-align: center;
}

.testimonial_container{
    position: relative;
    overflow: hidden;
    padding: 10px;
    margin: 10px 0;
}

.testimonial_card{
    background-color: white;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 4px 40px rgba(255,140,0,0.3);
    border: 2px solid #ff7e5f;
    border-image-slice: 1;
    transform: scale(0.98);
    transition: all 0,.5s ease-in-out;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial_card p{
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.testimonial_card img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.testimonial_card h4{
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: #000;
}

.testimonial_card h5{
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 700;
}

/* Show only the active card when using dots/auto-slide mode */
.testimonial_container{ position: relative; }
.testimonial_container:not(.row) .testimonial_card{ display: none; }   /* hide by default */
.testimonial_container:not(.row) .testimonial_card.active{ display: flex; }

/* Dots styling (ID or class—both covered) */
#dots, .dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}
#dots span, .dots span{
  width: 10px; height: 10px;
  background-color: #dcdcdc;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .2s, background-color .2s;
}
#dots span.active, .dots span.active{
  background-color: #db6e09;
  transform: scale(1.15);
}

/* Minor typo that breaks transitions on the cards */
.testimonial_card{
  transition: all 0.5s ease-in-out; /* FIX: "0,.5s" -> "0.5s" */
}

/* footer */
.footer{
    background-color: var(--primary-color-light);
}

.footer_container{
    display: grid;
    gap: 4rem 2rem;
}

.footer_logo{
    margin-bottom: 1rem;
}

.footer_col h4{
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer_links{
    display: grid;
    gap: 0.5rem;
}

.footer_links a{
    color: var(--text-light);
}

.footer_links a:hover{
    color: var(--primary-color);
}

.footer_bar{
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.footer_container {
    display: flex;
    justify-content: space-between; /* spread them out */
    align-items: flex-start; /* align to top */
    gap: 2rem;
    flex-wrap: wrap; /* responsive: stack on small screens */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
.footer_column {
    flex: 1;
    min-width: 200px; /* keep them readable on smaller screens */
}
.footer_column h4, 
.footer_column h3 {
    margin-bottom: 1rem;
}

/* Make all buttons keep the same style on hover */
.btn:hover,
.explore_btn:hover,
.banner_card a:hover,
.special_card a:hover,
.chef_btn:hover {
  background-color: inherit !important;
  color: inherit !important;
}


