/* ========================================
   Trattoria da Marco – Demo CSS
   Gastronomie: Warm, mediterran, einladend
   ======================================== */

:root {
    --ga-green: #2d4a3e;
    --ga-bordeaux: #722f37;
    --ga-gold: #c9a84c;
    --ga-cream: #faf5ef;
    --ga-bg: #fdfbf7;
    --ga-text: #2c2622;
    --ga-text-light: #7a6e64;
    --ga-border: #e8ddd0;
    --ga-radius: 10px;
}

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

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Demo Banner */
.demo-banner {
    background: var(--ga-green);
    color: #fff;
    text-align: center;
    padding: 10px 24px;
    font-size: 0.85rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.demo-banner a {
    color: var(--ga-gold);
    text-decoration: none;
    font-weight: 600;
}

.demo-banner a:hover {
    text-decoration: underline;
}

/* Navbar */
.demo-navbar {
    background: var(--ga-bg);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--ga-border);
    transition: box-shadow 0.3s;
}

.demo-navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.demo-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-logo {
    font-size: 1.2rem;
    color: var(--ga-green);
    text-decoration: none;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
}

.demo-logo strong {
    color: var(--ga-bordeaux);
    font-style: normal;
}

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

.nav-links a {
    color: var(--ga-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-demo {
    display: inline-block;
    padding: 12px 28px;
    background: var(--ga-bordeaux);
    color: #fff;
    border: none;
    border-radius: var(--ga-radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.btn-demo:hover {
    background: #5e252d;
    transform: translateY(-2px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ga-green);
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #faf5ef 0%, #f0e6d8 40%, #e5d4c0 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--ga-bordeaux) 0.5px, transparent 0.5px);
    background-size: 35px 35px;
    opacity: 0.03;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    background: var(--ga-bordeaux);
    color: #fff;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ga-green);
    margin-bottom: 16px;
    font-family: Georgia, 'Times New Roman', serif;
}

.highlight {
    color: var(--ga-bordeaux);
}

.hero p {
    font-size: 1.15rem;
    color: var(--ga-text-light);
    max-width: 520px;
    margin-bottom: 28px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--ga-cream);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    font-family: Georgia, 'Times New Roman', serif;
}

.section-subtitle {
    text-align: center;
    color: var(--ga-text-light);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 48px;
}

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.menu-category {
    background: #fff;
    border: 1px solid var(--ga-border);
    border-radius: var(--ga-radius);
    padding: 28px;
}

.menu-category h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3rem;
    color: var(--ga-bordeaux);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ga-gold);
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dotted var(--ga-border);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-info {
    flex: 1;
    padding-right: 16px;
}

.menu-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ga-text);
    margin-bottom: 2px;
}

.menu-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--ga-text-light);
    font-style: italic;
}

.menu-price {
    font-weight: 700;
    color: var(--ga-bordeaux);
    font-size: 1rem;
    white-space: nowrap;
}

/* Story */
.story-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.story-image {
    aspect-ratio: 3/4;
    border-radius: var(--ga-radius);
}

.story-text p {
    color: var(--ga-text-light);
    margin-bottom: 14px;
    font-size: 1rem;
    line-height: 1.8;
}

.story-text em {
    color: var(--ga-bordeaux);
    font-weight: 600;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.info-card {
    background: #fff;
    border: 1px solid var(--ga-border);
    border-radius: var(--ga-radius);
    padding: 32px;
}

.info-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    color: var(--ga-green);
    margin-bottom: 20px;
}

.info-card p {
    color: var(--ga-text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--ga-border);
    font-size: 0.95rem;
}

.hours-row.closed span:last-child {
    color: var(--ga-bordeaux);
    font-weight: 600;
}

.parking-hint {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--ga-gold);
    font-style: italic;
}

/* Reservation */
.reservation-card {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--ga-border);
    border-radius: var(--ga-radius);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--ga-green);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--ga-border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--ga-text);
    background: var(--ga-bg);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--ga-bordeaux);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.demo-footer {
    background: var(--ga-green);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 24px;
    font-size: 0.85rem;
}

.demo-footer a {
    color: var(--ga-gold);
    text-decoration: none;
}

.demo-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ga-bg);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

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

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

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

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

    .form-row {
        grid-template-columns: 1fr;
    }
}
