:root {
    --bg-dark: #0d0d0f;
    --bg-card: #1a1a1e;
    --accent: #e63946;
    --text-light: #f2f2f2;
    --text-muted: #a0a0a8;
    --border: #2c2c30;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.site-header img { height: 48px; }

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.site-nav a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

.site-nav a.current { color: var(--accent); }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

h1 { font-size: 1.8rem; margin-top: 0; }
h2 { font-size: 1.3rem; color: var(--accent); margin-top: 0; }

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover { opacity: 0.9; text-decoration: none; }

.site-footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-footer a { color: var(--text-muted); margin: 0 0.5rem; }

ul.checklist { padding-left: 1.2rem; }
ul.checklist li { margin-bottom: 0.6rem; }

.hero {
    position: relative;
    height: 320px;
    background-image: url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,13,15,0.55) 0%, rgba(13,13,15,0.85) 70%, var(--bg-dark) 100%);
}

.hero .site-header {
    position: relative;
    z-index: 2;
    background: transparent;
    border-bottom: none;
}

.hero-caption {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 3rem;
}

.hero-caption h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
}

.hero-caption p {
    color: var(--text-muted);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 700px) {
    .two-col { grid-template-columns: 1fr; }
    .hero { height: 260px; }
}

#form-prenotazione {
    display: none;
    margin-top: 2rem;
}

#form-prenotazione.visible {
    display: block;
}

label { font-weight: 600; font-size: 0.9rem; color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="file"], select, textarea, .fp-input {
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.3rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.error {
    color: var(--accent);
    font-size: 0.85rem;
    margin: 0.3rem 0 0;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
}

.btn-secondary:hover {
    border-color: var(--accent);
}

.flatpickr-calendar { z-index: 9999 !important; }
