@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
    --cream:   #FAF7F2;
    --warm:    #F5EFE6;
    --brown:   #6B4226;
    --espresso:#2C1810;
    --gold:    #C8963E;
    --sage:    #7A9E7E;
    --text:    #2C2416;
    --muted:   #8B7355;
    --white:   #FFFFFF;
    --shadow:  0 4px 24px rgba(44,24,16,0.10);
    --radius:  14px;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

/* ── NAV ── */
.nav {
    background: var(--espresso);
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    text-decoration: none;
}
.nav-brand-icon { font-size: 28px; }
.nav-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--gold);
    letter-spacing: 0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: white;
    background: rgba(255,255,255,0.1);
}
.nav-cta {
    background: var(--gold) !important;
    color: var(--espresso) !important;
    font-weight: 600 !important;
}
.nav-cta:hover { background: #d4a44a !important; transform: translateY(-1px); }
.nav-user {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── HERO ── */
.hero {
    min-height: 90vh;
    background:
        linear-gradient(to bottom, rgba(44,24,16,0.7) 0%, rgba(44,24,16,0.4) 60%, var(--cream) 100%),
        url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 80px 40px 120px;
}
.hero-content { max-width: 680px; }
.hero-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--espresso);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 6vw, 72px);
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--espresso); }
.btn-primary:hover { background: #d4a44a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,150,62,0.4); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-brown { background: var(--brown); color: white; }
.btn-brown:hover { background: #7a4d2e; transform: translateY(-2px); }
.btn-sage { background: var(--sage); color: white; }
.btn-sage:hover { background: #6a8e6e; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn:disabled { opacity:0.6; cursor:not-allowed; transform:none !important; }

/* ── SECTIONS ── */
.section { padding: 80px 40px; }
.section-alt { background: var(--warm); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    color: var(--espresso);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-sub { color: var(--muted); font-size: 16px; max-width: 560px; }

/* ── CARDS ── */
.card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(44,24,16,0.15); }

/* ── MENU CARDS ── */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.menu-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.25s; }
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(44,24,16,0.15); }
.menu-card-img { width:100%; height:180px; object-fit:cover; background: linear-gradient(135deg,var(--brown),var(--espresso)); display:flex; align-items:center; justify-content:center; font-size:48px; }
.menu-card-body { padding: 18px 20px; }
.menu-card-cat { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); margin-bottom:6px; }
.menu-card-name { font-family:'Playfair Display',serif; font-size:18px; color:var(--espresso); margin-bottom:6px; }
.menu-card-price { font-size:20px; font-weight:700; color:var(--brown); }

/* ── FEATURES ── */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:28px; margin-top:48px; }
.feature-card { text-align:center; padding:36px 28px; background:white; border-radius:var(--radius); box-shadow:var(--shadow); }
.feature-icon { font-size:40px; margin-bottom:16px; }
.feature-title { font-family:'Playfair Display',serif; font-size:20px; color:var(--espresso); margin-bottom:10px; }
.feature-text { color:var(--muted); font-size:14px; line-height:1.7; }

/* ── REVIEWS ── */
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:24px; margin-top:40px; }
.review-card { background:white; border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); }
.review-stars { color:var(--gold); font-size:18px; margin-bottom:10px; }
.review-title { font-family:'Playfair Display',serif; font-size:17px; color:var(--espresso); margin-bottom:8px; }
.review-body { color:var(--muted); font-size:14px; line-height:1.7; margin-bottom:16px; }
.review-author { font-size:13px; font-weight:600; color:var(--brown); }
.review-date { font-size:12px; color:#bbb; }

/* ── FORMS ── */
.form-card { background:white; border-radius:var(--radius); padding:40px; box-shadow:var(--shadow); }
.form-group { margin-bottom:20px; }
.form-group label { display:block; margin-bottom:8px; font-size:13px; font-weight:600; color:var(--espresso); text-transform:uppercase; letter-spacing:0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
    width:100%; padding:13px 16px;
    border:2px solid #E8E0D5;
    border-radius:10px;
    font-size:14px;
    font-family:'DM Sans',sans-serif;
    color:var(--text);
    background:var(--cream);
    transition:all 0.25s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline:none; border-color:var(--gold); background:white; box-shadow:0 0 0 4px rgba(200,150,62,0.12); }
.form-group textarea { resize:vertical; min-height:100px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-hint { font-size:12px; color:var(--muted); margin-top:6px; }
.alert { padding:14px 18px; border-radius:10px; margin-bottom:20px; font-size:14px; }
.alert-success { background:#d4edda; color:#155724; border:1px solid #c3e6cb; }
.alert-error   { background:#f8d7da; color:#721c24; border:1px solid #f5c6cb; }
.alert-info    { background:#d1ecf1; color:#0c5460; border:1px solid #bee5eb; }

/* ── STARS INPUT ── */
.star-input { display:flex; gap:6px; flex-direction:row-reverse; justify-content:flex-end; }
.star-input input { display:none; }
.star-input label { font-size:30px; cursor:pointer; color:#ddd; transition:color 0.15s; }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color:var(--gold); }

/* ── FOOTER ── */
footer {
    background:var(--espresso);
    color:rgba(255,255,255,0.7);
    padding:60px 40px 30px;
}
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; margin-bottom:40px; }
.footer-brand { font-family:'Playfair Display',serif; font-size:24px; color:var(--gold); margin-bottom:12px; }
.footer-desc { font-size:14px; line-height:1.8; }
.footer-heading { font-size:13px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); margin-bottom:16px; }
.footer-links { list-style:none; }
.footer-links li { margin-bottom:8px; }
.footer-links a { color:rgba(255,255,255,0.6); text-decoration:none; font-size:14px; transition:color 0.2s; }
.footer-links a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; font-size:13px; text-align:center; }

/* ── HOURS TABLE ── */
.hours-table { width:100%; border-collapse:collapse; }
.hours-table tr { border-bottom:1px solid #E8E0D5; }
.hours-table td { padding:10px 0; font-size:14px; }
.hours-table td:last-child { text-align:right; font-weight:600; color:var(--brown); }
.hours-today { background:rgba(200,150,62,0.08); }
.hours-today td { color:var(--gold) !important; font-weight:700 !important; }

/* ── PAGE HEADER ── */
.page-header {
    background: linear-gradient(135deg, var(--espresso) 0%, var(--brown) 100%);
    padding: 60px 40px;
    text-align: center;
}
.page-header h1 { font-family:'Playfair Display',serif; color:white; font-size:clamp(32px,5vw,52px); margin-bottom:10px; }
.page-header p { color:rgba(255,255,255,0.7); font-size:16px; }

/* ── TABS ── */
.tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:32px; }
.tab { padding:10px 20px; border:2px solid #E8E0D5; background:white; border-radius:25px; cursor:pointer; font-size:14px; font-weight:500; color:var(--muted); transition:all 0.2s; font-family:'DM Sans',sans-serif; }
.tab:hover { border-color:var(--gold); color:var(--brown); }
.tab.active { background:var(--brown); border-color:var(--brown); color:white; }

/* ── RESERVATION CALENDAR ── */
.time-slots { display:grid; grid-template-columns:repeat(auto-fill,minmax(90px,1fr)); gap:8px; }
.time-slot { padding:10px; text-align:center; border:2px solid #E8E0D5; border-radius:8px; cursor:pointer; font-size:13px; font-weight:500; transition:all 0.2s; }
.time-slot:hover { border-color:var(--gold); color:var(--brown); }
.time-slot.selected { background:var(--brown); border-color:var(--brown); color:white; }
.time-slot.unavailable { background:#f5f5f5; color:#ccc; cursor:not-allowed; border-color:#eee; }

/* ── RATING SUMMARY ── */
.rating-summary { display:flex; align-items:center; gap:32px; background:white; padding:28px 32px; border-radius:var(--radius); box-shadow:var(--shadow); margin-bottom:32px; }
.rating-big { font-size:56px; font-weight:700; color:var(--espresso); font-family:'Playfair Display',serif; line-height:1; }
.rating-stars { color:var(--gold); font-size:22px; margin-bottom:4px; }
.rating-count { color:var(--muted); font-size:14px; }
.rating-bars { flex:1; }
.rating-bar-row { display:flex; align-items:center; gap:10px; margin-bottom:6px; font-size:13px; color:var(--muted); }
.rating-bar-track { flex:1; height:8px; background:#f0e8dc; border-radius:4px; overflow:hidden; }
.rating-bar-fill { height:100%; background:var(--gold); border-radius:4px; transition:width 0.8s ease; }

/* ── MOBILE ── */
@media (max-width:768px) {
    .nav { padding:0 20px; }
    .nav-links { display:none; }
    .hero { padding:60px 20px 80px; }
    .section { padding:50px 20px; }
    .footer-grid { grid-template-columns:1fr; }
    .form-row { grid-template-columns:1fr; }
    .page-header { padding:40px 20px; }
    .rating-summary { flex-direction:column; align-items:flex-start; gap:16px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
