/* =========================
   RESET
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --primary: #a65f32;
    --primary-dark: #7e4321;
    --secondary: #f5eee7;
    --dark: #1c1714;
    --text: #555;
    --light: #faf8f5;
    --white: #fff;
    --border: #e5ddd5;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}


/* =========================
   GLOBAL
========================= */

section {
    padding: 100px 8%;
}

section h2 {
    font-size: 42px;
    color: var(--dark);
    text-align: center;
    margin-bottom: 55px;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: auto;
}


/* =========================
   HEADER / NAVBAR
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
    max-width: 1400px;
    height: 80px;
    margin: auto;
    padding: 0 8%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: #333;

    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links li:last-child a {
    background: var(--primary);
    color: white;
    padding: 11px 20px;
    border-radius: 30px;
}

.nav-links li:last-child a:hover {
    background: var(--primary-dark);
}

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    font-size: 28px;
    cursor: pointer;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    padding: 140px 8% 90px;

    display: flex;
    align-items: center;
    gap: 70px;

    background:
        linear-gradient(90deg,
            rgba(28, 23, 20, 0.88),
            rgba(28, 23, 20, 0.45)),
        url("images/hero.jpg") center/cover no-repeat;

    color: white;
}

.hero-content {
    max-width: 700px;
}

.hero-content .hero-label {
    display: inline-block;

    margin-bottom: 20px;

    color: #f3c7a3;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(45px, 6vw, 76px);
    line-height: 1.05;

    margin-bottom: 25px;
}

.hero-content p {
    max-width: 600px;

    color: #eee;
    font-size: 18px;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: inline-block;

    padding: 15px 28px;

    border-radius: 30px;

    font-weight: 600;

    transition: 0.3s;
}

.hero-buttons a:first-child {
    background: var(--primary);
    color: white;
}

.hero-buttons a:first-child:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.hero-buttons a:last-child {
    border: 1px solid white;
    color: white;
}

.hero-buttons a:last-child:hover {
    background: white;
    color: var(--dark);
}

.hero-image {
    display: none;
}


/* =========================
   ABOUT
========================= */

.about {
    background: var(--light);
}

.about-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: center;
}

.about-image img {
    height: 500px;
    object-fit: cover;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}

.about-text p {
    color: var(--text);
    font-size: 17px;

    margin-bottom: 20px;
}

.about-text h3 {
    color: var(--primary);
    font-size: 24px;

    margin-bottom: 15px;
}


/* =========================
   FEATURED DISHES
========================= */

.featured-dishes {
    background: white;
}

.featured-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.featured-card {
    overflow: hidden;

    background: white;

    border-radius: var(--radius-md);

    box-shadow: var(--shadow);

    transition: 0.35s;
}

.featured-card:hover {
    transform: translateY(-8px);
}

.featured-card img {
    height: 260px;
    object-fit: cover;
}

.featured-card-content {
    padding: 25px;
}

.featured-card-content h3 {
    font-size: 23px;
    color: var(--dark);

    margin-bottom: 10px;
}

.featured-card-content p {
    color: var(--text);
    margin-bottom: 15px;
}

.price {
    color: var(--primary);
    font-size: 20px;
    font-weight: bold;
}


/* =========================
   MENU
========================= */

.menu {
    background: var(--secondary);
}

.menu-categories {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 12px;

    margin-bottom: 45px;

    flex-wrap: wrap;
}

.menu-category {
    border: 1px solid var(--border);
    background: white;

    padding: 10px 20px;

    border-radius: 30px;

    cursor: pointer;

    transition: 0.3s;
}

.menu-category:hover,
.menu-category.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.menu-grid {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}

.menu-item {
    display: flex;
    gap: 20px;
    align-items: center;

    background: white;

    padding: 20px;

    border-radius: var(--radius-md);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);

    transition: 0.3s;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    width: 120px;
    height: 100px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 15px;
}

.menu-item-content {
    flex: 1;
}

.menu-item h3 {
    color: var(--dark);
    font-size: 20px;

    margin-bottom: 6px;
}

.menu-item p {
    color: var(--text);
    font-size: 14px;
}

.menu-item .price {
    white-space: nowrap;
    margin-left: auto;
}


/* =========================
   SPECIAL OFFER
========================= */

.special-offer {
    padding: 80px 8%;

    background:
        linear-gradient(rgba(28, 23, 20, 0.75),
            rgba(28, 23, 20, 0.75)),
        url("images/special.jpg") center/cover no-repeat;

    text-align: center;
    color: white;
}

.special-offer h2 {
    color: white;
    margin-bottom: 15px;
}

.special-offer p {
    max-width: 650px;
    margin: 0 auto 25px;

    color: #eee;
}

.special-offer a {
    display: inline-block;

    background: var(--primary);
    color: white;

    padding: 14px 28px;

    border-radius: 30px;
}


/* =========================
   GALLERY
========================= */

.gallery {
    background: white;
}

.gallery-slider {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 15px;
}

.gallery-slide {
    overflow: hidden;

    height: 250px;

    border-radius: var(--radius-md);
}

.gallery-slide:first-child {
    grid-column: span 2;
    grid-row: span 2;

    height: 515px;
}

.gallery-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.gallery-slide:hover img {
    transform: scale(1.08);
}


/* =========================
   OUR STORY
========================= */

.story {
    background: var(--light);
}

.story-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 60px;

    align-items: center;
}

.story-image img {
    height: 500px;

    object-fit: cover;

    border-radius: var(--radius-lg);
}

.story-text h3 {
    font-size: 30px;
    color: var(--primary);

    margin-bottom: 20px;
}

.story-text p {
    color: var(--text);
    font-size: 17px;

    margin-bottom: 20px;
}


/* =========================
   WHY CHOOSE US
========================= */

.why-us {
    background: white;
}

.features {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 25px;
}

.feature {
    padding: 35px 25px;

    text-align: center;

    background: var(--light);

    border-radius: var(--radius-md);

    transition: 0.3s;
}

.feature:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.feature p {
    color: var(--text);
    font-size: 14px;
}


/* =========================
   REVIEWS
========================= */

.reviews {
    background: var(--secondary);
}

.reviews-slider {
    max-width: 1100px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.review-card {
    background: white;

    padding: 30px;

    border-radius: var(--radius-md);

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.review-stars {
    color: #d99435;
    font-size: 18px;

    margin-bottom: 15px;
}

.review-card p {
    color: var(--text);
    font-style: italic;

    margin-bottom: 20px;
}

.review-card h4 {
    color: var(--dark);
}


/* =========================
   LOCATION & HOURS
========================= */

.location {
    background: white;
}

.location-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.location-info {
    background: var(--light);

    padding: 35px;

    border-radius: var(--radius-md);
}

.location-info h3 {
    color: var(--primary);

    margin-bottom: 20px;
}

.location-info p {
    color: var(--text);
    margin-bottom: 12px;
}

.opening-hours {
    margin-top: 25px;
}

.opening-hours div {
    display: flex;
    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);
}


/* =========================
   RESERVATION
========================= */

.reservation {
    background:
        linear-gradient(135deg,
            #f7eee6,
            #fff);
}

.reservation-content {
    max-width: 850px;
    margin: auto;
}

.reservation-form {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 18px;

    background: white;

    padding: 40px;

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow);
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
    width: 100%;

    padding: 15px 17px;

    border: 1px solid var(--border);

    border-radius: 12px;

    outline: none;

    transition: 0.3s;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(166, 95, 50, 0.1);
}

.reservation-form textarea {
    min-height: 130px;

    resize: vertical;

    grid-column: 1 / -1;
}

.reservation-form button {
    grid-column: 1 / -1;

    border: none;

    background: var(--primary);
    color: white;

    padding: 16px;

    border-radius: 30px;

    cursor: pointer;

    font-weight: 600;

    transition: 0.3s;
}

.reservation-form button:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}


/* =========================
   FINAL CTA
========================= */

.final-cta {
    padding: 90px 8%;

    background: var(--dark);

    text-align: center;

    color: white;
}

.final-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.final-cta p {
    max-width: 650px;

    margin: 0 auto 30px;

    color: #ccc;
}

.final-cta a {
    display: inline-block;

    background: var(--primary);

    padding: 14px 28px;

    border-radius: 30px;

    margin: 5px;

    color: white;
}

.final-cta a:last-child {
    background: transparent;

    border: 1px solid #777;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #111;

    color: white;

    padding: 60px 8%;

    text-align: center;
}

footer h3 {
    color: var(--primary);

    font-size: 28px;

    margin-bottom: 10px;
}

footer p {
    color: #aaa;

    margin-bottom: 20px;
}

footer a {
    color: #ccc;

    margin: 0 12px;

    transition: 0.3s;
}

footer a:hover {
    color: var(--primary);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 0 5%;
    }

    section {
        padding: 80px 5%;
    }

    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-slide:first-child {
        grid-column: span 2;
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .nav-links {
        position: absolute;

        top: 80px;
        left: 0;

        width: 100%;

        background: white;

        flex-direction: column;

        gap: 20px;

        padding: 30px 0;

        display: none;

        box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        min-height: 90vh;

        padding-top: 130px;

        text-align: center;

        justify-content: center;
    }

    .hero-content {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content,
    .story-content,
    .location-content {
        grid-template-columns: 1fr;
    }

    .about-image img,
    .story-image img {
        height: 400px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .reviews-slider {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    section {
        padding: 70px 5%;
    }

    section h2 {
        font-size: 32px;

        margin-bottom: 35px;
    }

    .logo {
        font-size: 23px;
    }

    .hero {
        min-height: 85vh;

        padding: 120px 5% 70px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-buttons a {
        text-align: center;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .menu-item {
        align-items: flex-start;
    }

    .menu-item img {
        width: 90px;
        height: 85px;
    }

    .menu-item h3 {
        font-size: 17px;
    }

    .menu-item p {
        font-size: 13px;
    }

    .gallery-slider {
        grid-template-columns: 1fr 1fr;

        gap: 10px;
    }

    .gallery-slide {
        height: 180px;
    }

    .gallery-slide:first-child {
        grid-column: span 2;
        grid-row: auto;

        height: 250px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .reviews-slider {
        grid-template-columns: 1fr;
    }

    .reservation-form {
        grid-template-columns: 1fr;

        padding: 25px;
    }

    .reservation-form textarea,
    .reservation-form button {
        grid-column: auto;
    }

    .location-content {
        gap: 25px;
    }

    .opening-hours div {
        font-size: 14px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 36px;
    }

    .menu-item {
        flex-direction: column;
    }

    .menu-item img {
        width: 100%;
        height: 180px;
    }

    .menu-item .price {
        margin-top: 8px;
        margin-left: 0;
    }
}