
:root {
    --vert: #143d32;
    --vert-fonce: #092820;
    --orange: #e87832;
    --creme: #f8f2e9;
    --blanc: #fff;
    --gris: #777;
    --bordure: #ddd3c6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--creme);
    color: #191816;
    font-family: "DM Sans", sans-serif;
}

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

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

button {
    cursor: pointer;
}

.navbar {
    align-items: center;
    background: var(--vert);
    color: white;
    display: flex;
    height: 78px;
    justify-content: space-between;
    padding: 0 7%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
}

.logo {
    align-items: center;
    display: flex;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: bold;
    gap: 10px;
}

.logo small {
    display: block;
    font-family: "DM Sans", sans-serif;
    font-size: 8px;
    letter-spacing: 3px;
}

.logo-circle {
    align-items: center;
    border: 2px solid var(--orange);
    border-radius: 50%;
    color: var(--orange);
    display: flex;
    font-size: 22px;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #eee;
    font-size: 13px;
}

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

.nav-button,
.btn {
    border: 0;
    display: inline-block;
    padding: 13px 20px;
    transition: .3s;
}

.nav-button {
    border: 1px solid white;
    color: white;
    font-size: 13px;
}

.nav-button:hover,
.btn-orange:hover {
    background: #bf5420;
}

.menu-toggle {
    background: transparent;
    border: 0;
    color: white;
    display: none;
    font-size: 25px;
}

.hero {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(5,35,27,.85), rgba(5,35,27,.2)),
        url("https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=1800&q=85")
        center/cover;
    color: white;
    display: flex;
    min-height: 720px;
    padding: 130px 8% 80px;
}

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

.eyebrow,
.section-label {
    color: var(--orange);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(55px, 8vw, 100px);
    line-height: .95;
    margin: 22px 0;
}

.hero h1 em,
h2 em {
    color: var(--orange);
    font-style: normal;
}

.hero p {
    color: #eee;
    font-size: 18px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn-orange {
    background: var(--orange);
    color: white;
}

.btn-light {
    border: 1px solid white;
    color: white;
}

.hero-info {
    display: flex;
    gap: 50px;
    margin-top: 55px;
}

.hero-info strong,
.hero-info span {
    display: block;
}

.hero-info span {
    color: #ccc;
    font-size: 12px;
    margin-top: 5px;
}

section {
    padding: 110px 8%;
}

.about,
.reservation {
    align-items: center;
    display: grid;
    gap: 70px;
    grid-template-columns: 1fr 1fr;
}

.about-image {
    position: relative;
}

.about-image img {
    height: 550px;
    object-fit: cover;
    width: 100%;
}

.image-label {
    background: var(--orange);
    bottom: 25px;
    color: white;
    padding: 17px 25px;
    position: absolute;
    right: -20px;
    text-align: center;
}

.image-label span,
.image-label strong {
    display: block;
}

.image-label strong {
    font-family: "Playfair Display", serif;
    font-size: 32px;
}

h2 {
    color: var(--vert);
    font-family: "Playfair Display", serif;
    font-size: clamp(38px, 5vw, 65px);
    line-height: 1;
    margin: 20px 0;
}

.about-content p,
.reservation-info > p {
    color: var(--gris);
    margin: 20px 0;
}

.large-text {
    color: #403e38 !important;
    font-size: 18px;
}

.features {
    display: flex;
    gap: 35px;
    margin-top: 35px;
}

.features strong,
.features small {
    display: block;
}

.features strong {
    color: var(--vert);
    margin-top: 8px;
}

.features small {
    color: var(--gris);
    font-size: 12px;
}

.menu-section {
    background: #efe5d6;
}

.heading {
    margin: auto;
    max-width: 650px;
    text-align: center;
}

.heading p {
    color: var(--gris);
    margin-top: 15px;
}

.date-menu {
    color: var(--vert);
    display: flex;
    justify-content: space-between;
    margin: 55px 0 25px;
}

.date-menu strong {
    color: var(--orange);
}

.menu-grid {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(3, 1fr);
}

.card {
    background: white;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

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

.card-content {
    padding: 22px;
}

.card-title {
    align-items: start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.card h3 {
    color: var(--vert);
    font-family: "Playfair Display", serif;
    font-size: 21px;
}

.price {
    color: var(--orange);
    font-weight: bold;
    white-space: nowrap;
}

.card p {
    color: var(--gris);
    font-size: 13px;
    margin: 12px 0;
}

.available {
    color: #21844b;
    font-size: 12px;
}

.unavailable {
    color: #b33232;
}

.quote {
    background:
        linear-gradient(rgba(20,61,50,.9), rgba(20,61,50,.9)),
        url("https://images.unsplash.com/photo-1515003197210-e0cd71810b5f?auto=format&fit=crop&w=1600&q=85")
        center/cover;
    color: white;
    text-align: center;
}

.quote blockquote {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 5vw, 62px);
    margin: 25px auto;
    max-width: 850px;
}

.gallery-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    margin-top: 45px;
}

.gallery-grid img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.gallery-large {
    grid-row: span 2;
}

.contact-box {
    background: var(--vert);
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 70px 8%;
}

.contact-box h2 {
    color: white;
}

.reservation-form {
    background: white;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    padding: 35px;
}

.form-row {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr;
}

label {
    color: var(--vert);
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 18px;
}

input,
select,
textarea {
    background: #fff;
    border: 1px solid var(--bordure);
    display: block;
    margin-top: 8px;
    padding: 13px;
    width: 100%;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.full {
    width: 100%;
}

.note {
    color: var(--gris);
    font-size: 11px;
    margin-top: 12px;
    text-align: center;
}

footer {
    background: var(--vert-fonce);
    color: white;
    padding: 60px 8% 25px;
}

.footer-content {
    display: grid;
    gap: 35px;
    grid-template-columns: 2fr 1fr 1fr;
}

footer p,
footer a {
    color: #ccc;
    display: block;
    font-size: 13px;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    color: #aaa;
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
    padding-top: 20px;
}

.admin-link {
    background: transparent;
    border: 0;
    color: #aaa;
    font-size: 12px;
}

.modal {
    align-items: center;
    background: rgba(0,0,0,.75);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 100;
}

.modal.active {
    display: flex;
}

.modal-box {
    background: var(--creme);
    max-height: 90vh;
    max-width: 950px;
    overflow-y: auto;
    padding: 35px;
    position: relative;
    width: 100%;
}

.close {
    background: transparent;
    border: 0;
    font-size: 30px;
    position: absolute;
    right: 20px;
    top: 12px;
}

.admin-item {
    align-items: center;
    background: white;
    border: 1px solid var(--bordure);
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 14px;
}

.admin-actions {
    display: flex;
    gap: 8px;
}

.small-btn {
    background: #eadbca;
    border: 0;
    color: var(--vert);
    padding: 9px;
}

.delete {
    color: #a22;
}

.error {
    color: #a22;
    font-size: 13px;
    margin-top: 10px;
}

.toast {
    background: var(--vert);
    bottom: 25px;
    color: white;
    display: none;
    left: 50%;
    padding: 15px 22px;
    position: fixed;
    transform: translateX(-50%);
    z-index: 200;
}

.toast.show {
    display: block;
}

@media (max-width: 850px) {
    .nav-links {
        background: var(--vert);
        display: none;
        flex-direction: column;
        left: 0;
        padding: 25px 8%;
        position: absolute;
        top: 78px;
        width: 100%;
    }

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

    .nav-button,
    .menu-toggle {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .about,
    .reservation {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    section {
        padding: 75px 6%;
    }

    .hero {
        padding: 120px 6% 70px;
    }

    .hero-actions,
    .hero-info,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .menu-grid,
    .form-row,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 180px 180px 180px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: auto;
    }

    .contact-box {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
        padding: 60px 6%;
    }
}

.flash { margin: 90px 8% 0; padding: 14px 18px; background: #143d32; color: #fff; }
.admin-page { padding: 110px 6% 60px; min-height: 100vh; }
.admin-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.table-wrap { overflow-x:auto; background:#fff; box-shadow:0 12px 30px rgba(0,0,0,.08); }
table.data { width:100%; border-collapse:collapse; }
table.data th, table.data td { padding:12px 14px; border-bottom:1px solid #eee; text-align:left; font-size:14px; }
table.data th { background:#efe5d6; color:#143d32; }
.badge { display:inline-block; padding:3px 8px; font-size:11px; font-weight:700; }
.badge-ok { background:#d8f3e3; color:#21844b; }
.badge-off { background:#f8d7d7; color:#b33232; }
.badge-new { background:#ffe8d4; color:#bf5420; }
.install-wrap { max-width:560px; margin:80px auto; background:#fff; padding:36px; box-shadow:0 12px 30px rgba(0,0,0,.08); }
.muted { color:#777; font-size:13px; }
