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

html {
    scroll-behavior: smooth;
}

body {
   
    background: #ffffff;
    color: #151617;
    min-height: 100vh;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    cursor: pointer;
}

.navbar {
    position: relative;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: #f99b2f5b;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-inner h1{
    display: flex;
}

.logo {
 font-size: 2.5rem;

}

.logo span {
    font-size: 22px;
    margin: 5px;
    color: #f6bb32;
    font-style: normal;
    padding-top: 1.3rem;
    font-family: Segoe UI, 'Tahoma', Geneva, Verdana, sans-serif;
}

.navline ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navline li {
    list-style: none;
    color: #211e1e;
}

.navline a {
    font-size: 22px;
    
    padding: 8px 0;
    transition: color 0.25s ease;
     font-family:  sans-serif;
}

.navline a:hover,
.navline a:focus {
    color: #9b1616;
}

.btn-primary,
.btn-secondary,
.btn-recette {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn{
    border-radius: 10px;
    background-color: #151718;
    color: #f7f5f5;
    cursor: pointer;
}

.btn-primary {
    background: #181919;
    color: white;
}

.btn-secondary {
    background: #ffffff;
    color: #f5bf23;
    border: 1px solid #f5bf23;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-recette:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
}

.btn-recette {
    background: #363635;
    color: #151617;
    border: 1px solid #f5bf23;
}

.btn-recette:active {
    transform: scale(0.98);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: #d7dbdf;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.hero {
    min-height: 100vh;
    padding: 80px 10px 20px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    font-size: 25px;
    letter-spacing: 1px;
    color: #36342d;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 90px;
    line-height: 0.95;
    color: #151617;
    font-style: italic;
   
}

.hero h1 span {
    color: #f5bf23;
}

.hero p {
    margin: 24px 0 30px;
    max-width: 620px;
    font-size: 1.3rem;
    color: #4f4944;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-right img {
    width: 100vw;
    height:90vh;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.about,
.mn,
.contact {
    padding: 80px 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.recipe-category {
    margin: 42px 0 18px;
}

.recipe-category h3 {
    font-size: 2rem;
    color: #f5bf23;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-head {
  padding-top: 0%;
    
}

.section-head span {
    display: block;
    font-size: 55px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #030303d8;
    margin-bottom: 16px;
    text-align: center;
    font-weight: bold;
}

.section-head h2 {
    font-size: clamp(3rem, 3vw, 3.25rem);
    color: #3d5161;
    line-height: 1.05;
    margin-left: 50px;
    align-items: center;
    text-align: center;
}

.section-head p {
    margin-top: 16px;
    color: #615446;
    font-size: 1.6rem;
    padding-bottom:30px; 

}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
}

.about-card,
.contact-card,
.card-plats,
.footer-content {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-card {
    padding: 28px;
    min-height: 220px;
}

.about-card h3 {
    margin-bottom: 16px;
    font-size: 1.8rem;
    color: #151617;
}

.about-card p {
    color: #4f4944;
    line-height: 1.8;
    font-size: 1.3rem;
}

.contenur-titre .TI{
     font-size: 45px;
    align-items: center;
    text-align: center;
    
}

.contenur-titre h2,
.traditionel h2 {
    color: #151617;
    margin-bottom: 18px;
    font-size: 1.9rem;
    align-items: center;
}

.contenur-titre p,
.traditionel p {
    margin-bottom: 26px;
    color: #4f4944;
    line-height: 1.75;
    font-size: 1.5rem;
}

.contenur-titre h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 12px;
}

.plats {
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    gap: 22px;
}

.card-plats {
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card-plats:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}

.card-plats img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.plats-info {
    padding: 24px;
}

.plats-info h3 {
    margin-bottom: 14px;
    font-size: 1.3rem;
    color: #151617;
}

.plats-info p {
    margin-bottom: 20px;
    color: #4f4944;
    min-height: 58px;
    font-size: 1.25rem;
}

.btn-recette {
    background: #151617;
    color: #fff;
    width: 100%;
}

.traditionel {
    text-align: center;
    margin-top: 48px;
    margin-bottom: 28px;
}

.point {
    margin-top: 40px;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 20px;
}

.box {
    padding: 28px;
    text-align: center;
    border-radius: 2px;
    background-color: #e8e3e44a;
}

.box h3 {
    font-size: 2.3rem;
    color: #f4a14d;
    margin-bottom: 10px;
}

.box p {
    color: #4f4944;
    font-size: 1.4rem;
    font-style: italic;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 18px;
}

.contact-card {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 24px;
}

.contact-card i {
    color: #f5bf23;
    font-size: 28px;
    min-width: 42px;
}

.contact-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: #151617;
}

.contact-card p {
    color: #4f4944;
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.contact-form label {
    font-weight: 600;
    color: #151617;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    color: #151617;
}

.contact-form textarea {
    resize: vertical;
}

footer {
    padding: 20px 28px 26px;
    background: #232222;
    color: #e9ecef;
    border-top: 1px solid rgba(245, 191, 116, 0.35);
    height: 70vh;
}

.footer-content {
    align-items: center;
    width: 100%;
    height: 40vh;
    display: flex;
    margin: 20px 10px 20px;
    justify-content: space-around;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
    background-color: #f6bb32bc;
}

.footer-content h2 {
    font-size: 1.8rem;
    margin: 16px;
    padding: 20px 10px;
}

.footer-content .R{
    font-size: 1.3rem;
}

.footer-content p {
    max-width: 540px;
    color: #d2cfcc;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.footer-links a {
    color: #dfded8;
    font-weight: 600;
    padding: 20px 10px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(245, 191, 116, 0.35);
    padding-top: 20px;
    color: #504a43;
   
}

.footer-bottom a {
    color: #f5bf23;
}

.recipe-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1200;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.recipe-modal.open {
    display: flex;
    opacity: 1;
}

.modal-panel {
    width: min(900px, 100%);
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.recipe-modal.open .modal-panel {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    width: 46px;
    height: 46px;
    border: none;
    background: #151617;
    color: #fff;
    font-size: 28px;
    position: absolute;
    right: 26px;
    top: 26px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-body {
    position: relative;
    padding: 42px 40px 38px;
}

.modal-category {
    display: inline-block;
    background: #f5bf23;
    color: #151617;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 22px;
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 18px;
    color: #151617;
}

.modal-description {
    color: #4f4944;
    margin-bottom: 24px;
    line-height: 1.8;
}

.modal-details h4 {
    margin-top: 20px;
    margin-bottom: 12px;
    color: #151617;
}

.modal-details ul,
.modal-details ol {
    padding-left: 22px;
    color: #4f4944;
}

.modal-details li {
    margin-bottom: 8px;
}

@media screen and (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 110px;
    }

    .hero-right {
        order: -1;
    }

    .about-grid,
    .plats,
    .box-container,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 760px) {
    .nav-inner {
        flex-wrap: wrap;
        gap: 16px;
        padding: 16px 20px;
    }

    .navline ul {
        position: fixed;
        top: 74px;
        right: 0;
        width: 240px;
        height: calc(100vh - 74px);
        background: rgba(220, 178, 178, 0.473);
        flex-direction: column;
        align-items: start;
        padding: 24px 20px;
        gap: 18px;
        border-left: 1px solid rgba(0, 0, 0, 0.08);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1100;
        border-radius: 8px;
        backdrop-filter: blur(10px);
    }

    .navline.active ul {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .about,
    .mn,
    .contact {
        padding: 60px 18px;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .about-grid,
    .plats,
    .box-container {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        gap: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (max-width: 520px) {
    .navline ul {
        width: 100%;
        top: 70px;
        height: calc(100vh - 70px);
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .hero p,
    .section-head p,
    .plats-info p,
    .about-card p,
    .contact-card p,
    .footer-content p {
        font-size: 0.95rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.95rem;
    }
}
