/* === Variables === */
:root {
    --bg: #faf8f5;
    --surface: #ffffff;
    --text: #2d2d2d;
    --muted: #888;
    --accent: #c8864e;
    --accent-hover: #b5743d;
    --accent-light: #f5ebe0;
    --border: #e8e4df;
    --success: #3a7d44;
    --error: #c44536;
    --radius: 8px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

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

img { max-width: 100%; }

/* === Layout === */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 640px; }
.container-xs { max-width: 420px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* === Nav === */
.navbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-weight: 700; font-size: 1.3rem; color: var(--text); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text); font-size: 0.9rem; }

/* === Hero === */
.hero {
    background: linear-gradient(135deg, #2d2d2d 0%, #4a3728 100%);
    color: #faf8f5;
    padding: 6rem 0 5rem;
    text-align: center;
}
.hero h1 { font-size: 2.8rem; line-height: 1.15; margin-bottom: 1.2rem; font-weight: 800; }
.hero-sub { font-size: 1.15rem; max-width: 540px; margin: 0 auto 2rem; opacity: 0.9; line-height: 1.7; }

/* === Sections === */
.section { padding: 4rem 0; }
.section-alt { background: var(--surface); }
.section h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.section-sub { color: var(--muted); margin-bottom: 2rem; }

/* === Grid === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }

/* === Cards === */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.highlight-card { background: var(--accent-light); border-color: transparent; }
.highlight-card h3 { margin-bottom: 1rem; }

/* === Details list === */
.details-list { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; }
.details-list dt { font-weight: 600; }
.details-list dd { margin: 0; }

/* === Buttons === */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn-lg { padding: 0.85rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }
.btn-block { display: block; width: 100%; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-light); color: var(--accent); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* === Forms === */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.form-control {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--surface);
    transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
select.form-control { appearance: auto; }
textarea.form-control { resize: vertical; }

/* === Alerts === */
.alert { padding: 0.75rem 1rem; border-radius: var(--radius); margin: 1rem 0; font-size: 0.9rem; }
.alert-error { background: #fce4e4; color: var(--error); }
.alert-success { background: #e4f5e7; color: var(--success); }

/* === Pricing grid === */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.price-people { font-size: 0.9rem; color: var(--muted); margin-bottom: 0.3rem; }
.price-amount { font-size: 1.5rem; font-weight: 700; color: var(--accent); }

/* === Calendar === */
.calendar { max-width: 420px; }
.calendar-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.calendar-nav button {
    background: none; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 0.3rem 0.8rem; cursor: pointer; font-size: 1rem;
}
.calendar-nav button:hover { background: var(--accent-light); }
.calendar-nav span { font-weight: 600; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.day-header { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--muted); padding: 0.3rem 0; }
.day {
    text-align: center;
    padding: 0.55rem 0;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: default;
    transition: background 0.15s;
}
.day.empty { visibility: hidden; }
.day.past { color: #ccc; }
.day.available { background: #d4edda; color: #155724; cursor: pointer; font-weight: 600; }
.day.available:hover { background: #b7dfbf; }
.day.selected { background: var(--accent); color: #fff; font-weight: 700; }
.day.has-booking { background: var(--accent); color: #fff; }

/* === Booking steps === */
.step { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step h3 { margin-bottom: 1rem; }

.price-display {
    background: var(--accent-light);
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 1.1rem;
    text-align: center;
    margin-top: 0.5rem;
}
.price-display strong { color: var(--accent); font-size: 1.3rem; }

.summary-card { margin-bottom: 1.5rem; }

/* === Confirmation === */
.confirmation-check {
    width: 80px; height: 80px; line-height: 80px;
    border-radius: 50%;
    background: #d4edda;
    color: var(--success);
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}
.next-steps { margin-top: 2rem; text-align: left; }
.next-steps h3 { margin-bottom: 0.5rem; }
.next-steps li { margin-bottom: 0.4rem; }

/* === About === */
.about-block { max-width: 640px; }
.about-block p { margin-bottom: 1rem; }

/* === Footer === */
footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}

/* === Utility === */
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.3rem; }
