@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');

* {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #d63030;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

section {
    padding: 28px 8%;
}

header {
    width: 100%;
    padding: 10px 8%;
    position: sticky;
    top: 0;
    background-color: #830202;
    z-index: 3;
}


.btn-default {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e50a;
    border-radius: 12px;
    padding: 12px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s ease;
}

.btn-default-2 {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e50a;
    border-radius: 12px;
    padding: 13px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s ease;
}
.btn-default-3 {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e50a;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s ease;
}

.btn-default:hover {
    background-color: #bdb0b0;
}

.social-media-buttons {
    display: flex;
    gap: 18px;
    border-radius: 12px;
}



.social-media-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 40px;
    background-color: white;
    font-size: 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    color:#af0606;;
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow .3s ease;
}

.social-media-buttons a:hover {
    box-shadow: 0px 0px 12px 8px rgba(0, 0, 0, 0.1);
    background-color: #e9e50a;
}

.section-title {
    color: #e9e50a;
    font-size: 1.563rem;
    margin-top: 20px;
}

.section-subtitle {
    font-size: 2.1875rem;
    color: white;
} 




#home {
    display: flex;
    min-height: calc(100vh - 91px);
    position: relative;
}

#cta {
    width: 35%;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 5%;
}

#cta .title {
    font-size: 4rem;
    color: #fff;;
}

#cta .title span {
    color: #e9e50a;
}

#cta .description {
    font-size: 1.2rem;
    color: #d6d6d6;
}

#cta_buttons {
    display: flex;
    gap: 24px;
  
}

#cta_buttons a {
    text-decoration: none;
}

#banner {
    display: flex;
    align-items: start;
    justify-content: end;
    width: 70%;
    z-index: 2;
}

#banner img {
    height: 100%;
    width: fit-content;
}

.shape {
    background-color: #e75d5d;
    width: 40%;
    height: 100%;
    position: absolute;
    top: 10px;
    right: 100px;
    z-index: 1;
    top: 20px;
    background: radial-gradient(
        circle closest-side, 
        #ffe0e6 30%, 
        rgba(255, 224, 230, 0) 100% 
    );
    
}


#navbar { 
    color: white; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 10px 0px; 
    
}

#nav-logo-text {
    font-size: 24px;
    color: #e9e50a; 
    font-weight: 600; 
}

#nav_logo::before {
    font-size: 24px;
    color: #edecee;
}


#cart_button {
    position: relative; 
    
}


#cart_count {
    position: absolute;
    top: -5px;         
    right: -5px;      
    background-color: #d63030; 
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%; 
    padding: 2px 6px;  
    min-width: 20px;   
    text-align: center;
    line-height: 16px;
    height: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    display: none; 
}


#nav_list {
    text-decoration: none;
    list-style: none; 
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
    position: relative;
    left: 100px;
}

#nav_list .nav-item a {
    color: #ffffff;  
    text-decoration: none; 
    font-size: 18px;
    padding-bottom: 5px; 
    position: relative; 
}

#nav_list a::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0;
    height: 3px; 
    background-color: #e9e50a; 
    width: 0; 
    transition: all .5s
}


#nav_list  a:hover::after {
    width: 100%; 
}

#nav_list .nav-item.active a::after {
    width: 100%;
}

#nav_list .nav-item.active a {
    color: white;
}

.nav-item a {
    padding-bottom: 5px;
    text-decoration: none;
    color: white;
}

.nav-item a:hover {
    color: #ffe100;
}



#mobile_btn {
    display: none;
}

#mobile_menu {
    display: none;
     padding-right: 0;
}


#testimonials {
    min-height: calc(100vh - 91px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

#testimonial_chef {
    width: 500px;
    height: auto;
      background: radial-gradient(
        circle closest-side, 
        #ffe0e6 30%, 
        rgba(255, 224, 230, 0) 100% 
    );
}

#testimonials .section-subtitle {
    font-size: 3rem;
}

#testimonials_content {
    width: 50%;
}

#feedbacks {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    margin-top: 30px;
}

.feedback {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: #fff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
}

.feedback-avatar {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    object-fit: cover;
}



.feedback-content p span {
    color: #e9a209;
}

.feedback-content {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
}

.feedback-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%; 
}

.feedback-name {
    font-weight: 600; 
    color: #333; 
}

.feedback-stars {
    color: #e9a209;
    display: flex;
    gap: 3px; 
}

.feedback-comment {
    color: #555; 
    line-height: 1.5;
}


@media screen and (max-width: 768px) { 
    .feedback-header {
        flex-direction: column; 
        align-items: flex-start; 
        gap: 5px; 
    }
}


#menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    
}

#dishes {
    width: 90vw;
    max-width: 90vw;
    margin: 0;
    padding: 0 0;
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.dish {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    gap: 18px;
    width: 25%;
    padding: 20px;
    background-color:#fff;
    box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.menu-header {
    position: relative; 
}

.view-all {
    position: absolute;
    left: 690px;     
    top: 200%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #e9e50a;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
}

.view-all:hover {
    opacity: 0.7;
    color: #f8e802;
}

#navbar {
    
    transition: transform 1.2s ease-out, opacity 0.8s ease-out;
    opacity: 0;
    transform: translateY(-100px); 
}

#navbar.loaded {
    opacity: 1;
    transform: translateY(0);
}



.dish-star {
    position: absolute;   
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #f2d810;
    width: 70px;
    height: 60px;
    right: -16px;
    top: -7px;
    border-radius: 0px 37.5px 0px 42.5px;
    text-shadow: 
        -1px -1px 0 #999999,
         1px -1px 0 #999999,  
        -1px  1px 0 #999999,  
         1px  1px 0 #999999;
           
}

.dish-description {
    color: #434343;
    text-align: center;
}

.dish-rate i {
    color: #e9a209;
}

.dish-price {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}


.dish-image {
    border-radius: 50px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 170px;
}

.dish-image:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.15);
}

.wrapper {
    max-width: 1100px;
    padding: 20px 10px;
    margin: 0 60px 35px;
    overflow: hidden;

}

.wrapper .card {
    height: auto;
    display: flex;
    background: #fff;
    flex-direction: column;
    border-radius: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0 , 0.05);
    transition: transform 0.3s ease;
    
}

.wrapper .card:hover{
    transform: translateY(-10px);
}

.card .card-image{
    position: relative;
}

.card .card-image img {
    width: 100%;
    padding: 10px;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    object-fit: cover; 
}


.card .card-image .card-tag {
    position: absolute;
    left: 25px;
    top: 25px;
    color: #9da803;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255 , 0.9) ;
}

.card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px 25px 25px;
}

.card .card-content .card-title {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.card .card-content .card-text{
    color: #747474;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card .card-content .card-footer{
    display: flex;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
    justify-content:space-between;
    border-top: 1px solid rgba(0, 0, 0 , 0.08);
}

.card .card-footer .card-profile {
    display: flex;
    align-items: center;
}



.card .card-profile img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}
.btn-default {
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e50a;
    border-radius: 12px;
    padding: 10px 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .3s ease;
}

.btn-default:hover {
    background-color: #d86666;
    transform: translateY(-3px);
    color: #fff;
    
}

.dish-price {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 20px;  
}


.card .card-footer .card-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

.wrapper .swiper-pagination-bullet {
    height: 15px;
    width: 15px;
    overflow: hidden;
    opacity: 1;
    background: #e9e50a;
}

.wrapper .swiper-pagination-bullet-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #e96645;
    transform: scaleX(0);
    transform-origin: left center;
    animation: autoplay-loading 4s linear forwards;
}

.container:hover .wrapper .swiper-pagination-bullet-active::before{
    animation-play-state: paused;
}

@keyframes autoplay-loading {
    100% {
        transform: scaleX(1);
    }
}

.wrapper .swiper-button-prev, .wrapper .swiper-button-next  {
    color: #d8a705;
    margin-top: -35px;
    transition: all 0.3s ease;
}


.wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
    color: #0345a8;
}


footer {
    background-color: #830202;
}

#footer_items {
    display: flex;
    justify-content: space-between;
    padding:20px 10% 30px 8%;
    align-items: center;
}

#copyright {
    color: #d6d6d6;;
    font-weight: 500;
    justify-content: center;
}


.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px; 
}

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


#cart_clear_message {
    position: fixed; 
    top: 20px; 
    right: 20px; 
    background-color: #4CAF50; 
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    z-index: 1000; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none; 
}

@media screen and (max-width: 1170px) {
    #nav_list,
    #navbar .btn-default { 
        display: none;
    }
    
    
    .header-buttons {
        display: flex; 
    }

     #home {
        min-height: 100%;
        padding-top: 0px;
    }

    #banner,
    #banner img,
    #home .shape {
        display: none;
    }

    #cta {
        width: 100%;
        text-align: center;
        align-items: center;
    }

    #mobile_btn {
        display: block;
        border: none;
        background-color: transparent;
        font-size: 1.5rem;
        cursor: pointer;
        color: #ffffff;
    }

    #mobile_menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #mobile_nav_list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 12px 0px;
    }

    #mobile_nav_list .nav-item {
        list-style: none;
        text-align: center;
    } 

    #testimonials {
        flex-direction: column;
    }

    #testimonials .section-subtitle {
        text-align: center;
        font-size: 2.5rem;
    }

    #testimonial_chef {
        display: none;
    }

    #testimonials_content {
        width: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

     #dishes {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dish {
        width: calc(50% - 12px);
    }
}


@media screen and (max-width: 480px) {
    #phone_button button {
        display: none;
    }

     #menu  {
        text-align: center;
        justify-content: center;
    }

    .btn-default-3 {
        display: none; 
    }

    .view-all {
        left: auto;
        right: 0px;  
        top: 170%;           
        transform: translateY(-50%);
        font-size: 16px;     
        white-space: nowrap; 
    }
    .wrapper {
       padding: 10px 0; margin: 0;
       width: 30%;
       margin-top: 40px;
        
    }

    .container-swiper{
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .dish-price h4 {
        font-size: 1rem;
    }

    .btn-default {
        padding: 8px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: no;
    }

    .cart-controls {
        gap: 5px; 
    }
    .cart-controls .btn-default-2 {
        padding: 8px 10px; 
        font-size: 0.8rem;
    }
    .cart-controls .btn-default-2 i {
        font-size: 1rem;
    }

}


@media screen and (max-width: 393px) {
    #phone_button button {
        display: none;
    }

     #menu  {
        text-align: center;
        justify-content: center;
    }

    .btn-default-3 {
        display: none;
    }

    .view-all {
        left: auto;
        right: 0px;  
        top: 170%;           
        transform: translateY(-50%);
        font-size: 16px;     
        white-space: nowrap; 
    }
    .wrapper {
       padding: 10px 0; margin: 0;
       width: 30%;
       margin-top: 40px;
        
    }

    .container-swiper{
        width: 100%;
    }

    .card {
        width: 100%;
    }

    .dish-price h4 {
        font-size: 1rem;
    }

    .btn-default {
        padding: 8px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        display: inline;
    }

}


body, .swiper-slide {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  user-select: none;
}


@keyframes plus-animation {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(0.5);
        opacity: 0;
    }
}

.plus-animation {
    position: absolute;
    font-size: 4rem;
    color: #e90a0a;
    animation: plus-animation 0.6s ease-out forwards;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
