/* ═══ Vigore — Toned Earthy Palette ═══ */
:root {
    --olive: #4a5a3c;
    --olive-dark: #3a4830;
    --olive-light: #6b7d5a;
    --gold: #c9a84c;
    --gold-light: #dfc06a;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --text: #2c2c2c;
    --text-light: #6b6b6b;
    --white: #ffffff;
    --shadow: rgba(0,0,0,0.08);
    --radius: 10px;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
}

a { color: var(--olive); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* ─── Navbar ─── */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 8px var(--shadow);
    transition: all 0.3s;
}
.navbar-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px;
}
.navbar .logo img { height: 48px; }
.navbar nav { display: flex; gap: 28px; align-items: center; }
.navbar nav a {
    font-size: 0.95rem; font-weight: 500; color: var(--text);
    text-transform: uppercase; letter-spacing: 0.5px;
    position: relative; padding-bottom: 2px;
}
.navbar nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width 0.3s;
}
.navbar nav a:hover::after { width: 100%; }
.navbar nav a:hover { color: var(--olive); }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ─── Hero ─── */
.hero {
    min-height: 70vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--olive-dark) 0%, var(--olive) 50%, var(--olive-light) 100%);
    color: var(--white);
    padding: 120px 24px 80px;
}
.hero-content { max-width: 600px; }
.hero .logo-large { width: 180px; margin-bottom: 24px; filter: brightness(1.1); }
.hero h1 {
    font-size: 2.4rem; font-weight: 300; letter-spacing: 2px;
    margin-bottom: 12px;
}
.hero p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 32px; }
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-size: 0.9rem;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    transition: all 0.3s; cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--olive-dark); }
.btn-gold:hover { background: var(--gold-light); color: var(--olive-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ─── Sections ─── */
.section {
    padding: 72px 24px;
    max-width: 1100px; margin: 0 auto;
}
.section-title {
    text-align: center; margin-bottom: 48px;
}
.section-title h2 {
    font-size: 1.8rem; font-weight: 600; color: var(--olive-dark);
    margin-bottom: 8px;
}
.section-title .line {
    width: 60px; height: 3px; background: var(--gold);
    margin: 0 auto; border-radius: 2px;
}

/* ─── Menu Grid ─── */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.menu-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.menu-card img {
    width: 100%; height: 200px; object-fit: cover;
}
.menu-card .pdf-preview {
    height: 200px; display: flex; align-items: center; justify-content: center;
    background: var(--cream-dark); color: var(--olive);
    font-size: 3rem;
}
.menu-card .card-label {
    padding: 12px 16px; font-size: 0.85rem; color: var(--text-light);
    text-align: center;
}
.menu-empty {
    text-align: center; padding: 48px; color: var(--text-light);
    font-style: italic;
}

/* ─── Delivery ─── */
.delivery-row {
    display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.delivery-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 12px var(--shadow);
    font-weight: 600; font-size: 1rem; color: var(--text);
    transition: all 0.3s;
}
.delivery-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); color: var(--text); }
.delivery-btn img { height: 28px; }

/* ─── Info Grid (Hours + Contact) ─── */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 900px; margin: 0 auto;
}
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 2px 12px var(--shadow);
}
.info-card h3 {
    font-size: 1.2rem; color: var(--olive-dark);
    margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid var(--cream-dark); }
.hours-table td { padding: 8px 0; font-size: 0.95rem; }
.hours-table td:last-child { text-align: right; font-weight: 500; }
.hours-table tr.today { color: var(--gold); font-weight: 600; }
.contact-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0; font-size: 0.95rem;
}
.contact-item .icon {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--cream); display: flex; align-items: center; justify-content: center;
    color: var(--olive); font-size: 1rem; flex-shrink: 0;
}

/* ─── Map ─── */
.map-wrapper {
    border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    max-width: 900px; margin: 0 auto;
}
.map-wrapper iframe { width: 100%; height: 350px; border: none; }

/* ─── Footer ─── */
.footer {
    background: var(--olive-dark); color: rgba(255,255,255,0.7);
    text-align: center; padding: 32px 24px;
    font-size: 0.85rem;
}
.footer a { color: var(--gold-light); }

/* ─── Lightbox ─── */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.9);
    align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    color: white; font-size: 2rem; cursor: pointer;
    background: none; border: none; line-height: 1;
}

/* ─── Catering Page ─── */
.catering-hero {
    min-height: 80vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--olive-dark), var(--olive));
    color: var(--white);
    padding: 120px 24px 80px;
}
.catering-content { max-width: 550px; }
.catering-content h1 { font-size: 2rem; font-weight: 300; margin-bottom: 16px; letter-spacing: 2px; }
.catering-content .badge {
    display: inline-block; padding: 6px 20px; border-radius: 50px;
    background: var(--gold); color: var(--olive-dark);
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 24px;
}
.catering-content p { opacity: 0.85; margin-bottom: 28px; }

/* ─── Admin ─── */
.admin-wrap {
    min-height: 100vh; background: var(--cream);
    padding: 24px;
}
.admin-container { max-width: 1000px; margin: 0 auto; }
.admin-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 32px; padding-bottom: 16px;
    border-bottom: 2px solid var(--cream-dark);
}
.admin-header h1 { font-size: 1.4rem; color: var(--olive-dark); }
.admin-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px; margin-bottom: 32px;
}
.stat-card {
    background: var(--white); border-radius: var(--radius);
    padding: 24px; text-align: center;
    box-shadow: 0 2px 8px var(--shadow);
}
.stat-card .number { font-size: 2rem; font-weight: 700; color: var(--olive-dark); }
.stat-card .label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.admin-section {
    background: var(--white); border-radius: var(--radius);
    padding: 28px; margin-bottom: 24px;
    box-shadow: 0 2px 8px var(--shadow);
}
.admin-section h2 { font-size: 1.1rem; color: var(--olive-dark); margin-bottom: 20px; }
.chart-container { position: relative; height: 250px; margin-bottom: 16px; }

/* Admin forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select {
    width: 100%; padding: 10px 14px; border: 1px solid var(--cream-dark);
    border-radius: 8px; font-size: 0.95rem; background: var(--cream);
    transition: border-color 0.2s;
}
.form-group input:focus { outline: none; border-color: var(--gold); }
.btn-admin {
    padding: 10px 24px; border-radius: 8px; border: none;
    background: var(--olive); color: var(--white);
    font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.btn-admin:hover { background: var(--olive-dark); }
.btn-danger { background: #c0392b; }
.btn-danger:hover { background: #a93226; }

/* Admin menu list */
.admin-menu-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.admin-menu-item {
    position: relative; background: var(--cream);
    border-radius: 8px; overflow: hidden;
}
.admin-menu-item img { width: 100%; height: 120px; object-fit: cover; }
.admin-menu-item .pdf-icon { height: 120px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--olive); }
.admin-menu-item .item-actions {
    padding: 8px; display: flex; justify-content: space-between; align-items: center;
    font-size: 0.75rem; color: var(--text-light);
}
.delete-btn {
    background: #c0392b; color: white; border: none;
    padding: 4px 10px; border-radius: 4px; cursor: pointer;
    font-size: 0.75rem;
}

/* Login page */
.login-wrap {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--olive-dark), var(--olive));
}
.login-box {
    background: var(--white); border-radius: var(--radius);
    padding: 48px 40px; width: 100%; max-width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    text-align: center;
}
.login-box h1 { font-size: 1.4rem; color: var(--olive-dark); margin-bottom: 8px; }
.login-box .subtitle { color: var(--text-light); font-size: 0.9rem; margin-bottom: 28px; }
.alert { padding: 10px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.85rem; }
.alert-error { background: #fdecea; color: #c0392b; }
.alert-success { background: #eafaf1; color: #27ae60; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .navbar nav { 
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: white; flex-direction: column; padding: 16px 24px; gap: 16px;
        box-shadow: 0 4px 12px var(--shadow);
    }
    .navbar nav.open { display: flex; }
    .menu-toggle { display: block; }
    .hero h1 { font-size: 1.8rem; }
    .info-grid { grid-template-columns: 1fr; }
    .hero .cta-row { flex-direction: column; align-items: center; }
}
