@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=REM:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: "DM Sans", sans-serif;
}

:root {
    --accent-color: #C14600;
    --base-color: #FEF9E1;
    --secondary-color: #E5D0AC;
    --hover-color: #f78801;


}

.container {
    width: 80%;
    margin: 0 auto;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

p {
    font-size: 18px;
    opacity: 0.8;
    color: var(--base-color);
}

h2 {
    color: var(--accent-color);
}

.heading {
    color: var(--hover-color);
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 50px;
    padding-top: 80px;
}

.heading h1 {
    border-bottom: 2px solid;
    border-left: 2px solid;
    border-bottom-left-radius: 15px;
    display: inline-block;
}

.heading p {
    color: #000;
    padding-top: 10px;

}

button {
    background: var(--accent-color);
    color: var(--base-color);
    transition: 0.4s ease;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

button:hover {
    background-color: var(--hover-color);
    color: var(--accent-color);
}
 
/* Navbar style */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-items: space-around;
    z-index: 100;
    background: var(--base-color);
    margin: 0 auto;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px
}

.nav-links a {
    color: var(--accent-color);
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    transition: 0.5s ease;
}

.nav-links a:hover {
    background: var(--hover-color);
}
#close,#open{
    display: none;
    font-size: 25px;
    cursor: pointer;
}
#open.active {
    display: none;
}


/*Navbar media mobile and tablet*/
@media (max-width:768px) {

    #open{
        display: block;
    }
    #close.active {
    display: block;
}
    .nav-links  {
         display: block; 
        position: absolute;
        top: 104px;
        right: 0;
        width: 70%;
        background-color: var(--secondary-color);
        text-align: center;
        padding: 40px 20px;

        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 999;
    }
     .nav-links ul{
        flex-direction: column;
        gap:30px;
     }
     .nav-links li a{
        border-bottom: 2px solid;
     }
   .nav-links.active{
    transform: translateX(0);
   }
    .navbar {
        width: 100%;
        padding: 12px 16px;
        justify-content: space-between;
    }
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}


/* Home style */
#home {
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../imgs/home-image.png') center/cover no-repeat;
    height: 80vh;
    position: relative;
}

#home article {
    position: absolute;
     width: 60%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;

}

#home h2 {
    font-size: 40px;
    margin-bottom: 14px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

#home p {
    line-height: 1.6;
    margin-bottom: 18px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

#home button {
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#home button:hover {
    transform: scale(1.05);
}



/* About section styles */
#about {
    width: 100%;
    background-color: var(--base-color);
}

.about-section {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    position: relative;

}

.about-image {
    width: 450px;
    height: 450px;
    overflow: hidden;
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;

    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.about-section article {
    width: 60%;
    display: flex;
    flex-direction: column;
}

.about-section h2 {
    font-size: 30px;
    margin-bottom: 14px;
}

.about-section span {

    margin-bottom: 12px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
}

.about-section .fa-circle-check {
    color: var(--accent-color);
    margin-right: 10px
}



/* Menu section styles */

.menu-section {
    width: 80%;
    margin: 0 auto;
}

.menu-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
}

.menu-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.menu-buttons button {
    background: var(--base-color);
    color: var(--accent-color);
    border: 2px solid #e5e5e5;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 650;
    transition: all 0.3s ease;
}

.menu-buttons button:hover,
.menu-buttons button.active {
    background: var(--secondary-color);
    color: var(--accent-color);
    border-color: var(--base-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-info h3 {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 8px;
}

.menu-info .price {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    opacity: 1;
}

.menu-info p {
    color: #000;
    font-size: 16px;
    line-height: 1.5;
    flex-grow: 1;
}
/* menue media (mobile and tablet) */
@media (max-width: 768px) {
    .menu-section {
        width: 90%;
        padding: 40px 0;
    }

    .menu-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

    .menu-buttons {
        gap: 12px;
    }

    .menu-buttons button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-section h2 {
        font-size: 28px;
    }
}

/* ------------------Events section styles---------------- */
#events {
    width: 100%;
}

.swiper {
    width: 80%;
    margin: 0 auto;
    height: 550px;
    position: relative;
}

.swiper-slide {
    text-align: center;
    position: relative;
}

.swiper-slide article {
    position: absolute;
    top: 30%;
    left: 20px;
    font-size: 23px;
    color: #fff;
    z-index: 2;
}

.swiper-slide article p {
    font-size: 18px;
}

.event-price {
    border-bottom: 4px solid var(--accent-color);
    padding-top: 10px;
    display: inline-block;
    color: var(--hover-color);
}

.swiper-slide img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#events .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 10px;
}

.swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.swiper-pagination .swiper-pagination-bullet {
    background-color: #8c1515;
    font-size: 55px;
    height: 10px;
    width: 10px;

}

/* ------------------chef css------------------ */
#chefs {
    width: 100%;
    background: var(--base-color);
    height: auto;
    margin-top: 50px;
}

.chef-content {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;

}

.chef-content figure {
    width: 550px;
    height: 490px;
    border-radius: 20px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1);
    transition: 0.5s ease;
    position: relative;
}

.chef-content figure:hover {
    transform: translateY(-5px);
}

.chef-content figure img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 100%;
    object-fit: cover;
}

.chef-content figcaption {
    position: absolute;
    top: 90%;
    left: 50px;
    background-color: #fff;
    padding: 20px;
    max-width: 300px;
    width: 100%;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1);
    height: 100px;
    text-align: center;
}

.chef-content figcaption p {
    padding-top: 10px;
    color: #000;
}

/* ------------------------Gallery section styles------------------- */

#gallery {
    width: 100%;
    min-height: 50vh;
    padding-top: 20px;
}

#gallery .swiperGellery {
    width: 85%;
    height: 250px;
    margin: 20px auto;
}

.swiperGellery .swiper-slide img {
    border-radius: 0;
}

/* --------------------Contact section styles------------------ */
#contactUs {
    width: 100%;
    background-color: var(--accent-color);
}

.contact-content {
    width: 70%;
    background-color: #fff;
    min-height: 400px;
    border-radius: 15px;
    margin: 0 auto;
    padding: 40px;
    box-shadow: 0 10px 12px rgba(0, 0, 0, 0.1);
}

.contact-content form {
    margin-top: 40px;
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.date-time {
    display: flex;
    gap: 20px;
}

.date-time .form-group {
    flex: 1;
}


.contact-content input,
.contact-content textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--accent-color);
}

.contact-content form label {
    font-size: 18px;
    font-weight: 500;
}

.contact-content textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-content input:focus,
.contact-content textarea:focus {
    border-color: #C14600;
}

.contact-content form button {
    width: 30%;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--base-color);
}


/* --------------Footer style------------ */

#footer-con {
    width: 100%;
    background: #1f2937;
    padding: 60px 0;
    min-height: 50vh;
}

.footer-details {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 80%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.details2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 200px;
}

.details2 ul {
    padding: 0;
    margin: 0;
}

.details2 ul li {
    list-style: none;
    font-size: 16px;
    padding: 6px 0;
    color: var(--base-color);
}

.details2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 200px;
}

.footer-h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: var(--base-color)
}

.footer-h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%;
    height: 4px;
    background-color: #ffb347;
    border-radius: 5px;
}

.details2 ul {
    padding: 0;
    margin: 0;

}

.details2 ul li {
    list-style: circle;
    font-size: 16px;
    padding: 6px 0;
}

.details2 .reserve {
    margin-left: 20px;
}

.details2 form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.details2 form input {
    width: 260px;
    height: 45px;
    border-radius: 12px;
    border: none;
    padding: 0 15px;
    font-size: 17px;
    outline: none;
}

.button-container {
    position: relative;
    width: 200px;
    height: 55px;
    border: 2px solid #ffd166;
    border-radius: 15px;
}

.button-container button {
    position: absolute;
    right: 20px;
    width: 100%;
    height: 96%;
    border-radius: 15px;
    border: none;
    background-color: var(--hover-color);
    font-weight: bold;
    cursor: pointer;
}

.footer-end {
     background-color: #1f2937;
    width: 100%;
    padding: 40px;
    display: flex;
    gap: 20px;
}

footer p {
    color: #fff;
}

.footer-end i {
    font-size: 22px;
    color: #fff;
}

.footer-end .fa-facebook:hover {
    color: #1877F2;
}

.footer-end .fa-instagram:hover {
    color: #C13584;
}


/*Rsponsive (home,about,chefs,contact,footer)*/

@media (max-width:900px) {
    #home article {
        width: 100%;
    }

    .about-section {
        width: 90%;
        gap: 24px;
    }

    .about-image {
        width: 350px;
        height: 350px;
    }

    .about-section article {
        width: 100%;
    }

    .swiper {
        width: 90%;
        height: 420px;
    }

    .swiper-slide article {
        top: 25%;
        font-size: 20px;
    }

    .swiper-slide article p {
        font-size: 16px;
    }

    .chef-content {
        width: 90%;
        gap: 85px;
        flex-direction: column;
    }

    .chef-content figure {
        width: 100%;
        max-width: 420px;
        height: auto;
    }

    .chef-content figure img {
        height: auto;
    }

    .chef-content figcaption {
        left: 20px;
        top: 85%;
        max-width: 280px;
        padding: 20px;
    }

    .contact-content {
        width: 85%;
        padding: 30px;
    }

    .contact-content form {
        width: 100%;
    }
}

/* mobile */
@media (max-width: 768px) {
  #home article {
        width: 100%;
        padding-top:80px;
    }
    .about-section {
        flex-direction: column;
        overflow: hidden;
    }

    .about-image {
        width: 100%;
        height: auto;
        max-width: 320px;
        margin: 0 auto;
    }



    .about-section article {
        width: 100%;
        align-items: center;
    }

    .swiper {
        width: 95%;
        height: 360px;
    }

    .swiper-slide img {
        height: 100%;
    }

    #events .swiper-slide::after {
        height: 100%;
    }

    .swiper-slide article {
        top: 20%;
        left: 10px;
        right: 10px;
        font-size: 18px;
        text-align: center;
    }

    .event-price {
        font-size: 16px;
    }

    .chef-content {
        flex-direction: column;
        align-items: center;
    }

    .chef-content figure {
        width: 100%;
        max-width: 320px;
    }

    .chef-content figcaption {
        height: auto;
    }

    #contactUs {
        padding: 40px 0;
    }

    .contact-content {
        width: 90%;
        padding: 25px;
    }

    .date-time {
        flex-direction: column;
    }

    .contact-content form button {
        width: 100%;
    }
}