/* Castellum Étterem – Menürendelő
   Elegáns étterem dizájn: mély barna, arany, krém tónusok
   Typography: Playfair Display + Source Serif Pro */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&family=Raleway:wght@300;400;600&display=swap');

:root {
    --brown-dark: #1a0e08;
    --brown: #2c1810;
    --brown-med: #5c3825;
    --brown-light: #8b5e3c;
    --gold: #d4a96a;
    --gold-light: #e8c88a;
    --cream: #f5f0e8;
    --cream-dark: #ede5d5;
    --white: #fefdf9;
    --text: #2a1a0e;
    --text-light: #7a6050;
    --shadow: 0 4px 24px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 8px 48px rgba(44, 24, 16, 0.18);
    --radius: 4px;
    --transition: 0.3s ease;
}

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

body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

/* ── Navigation ── */
.nav {
    background: var(--brown);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    text-decoration: none;
}

.nav-brand-icon {
    font-size: 28px;
    filter: drop-shadow(0 1px 3px rgba(212,169,106,0.4));
}

.nav-brand-text .name {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--gold);
    font-size: 18px;
    letter-spacing: 1.5px;
    line-height: 1.2;
}

.nav-brand-text .sub {
    display: block;
    color: var(--brown-light);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
}

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

.nav-links a {
    color: #c8b8a8;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    background: rgba(212,169,106,0.1);
}

.nav-badge {
    background: var(--gold);
    color: var(--brown);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    vertical-align: super;
    font-family: 'Raleway', sans-serif;
    letter-spacing: 0.5px;
}

/* ── Hero ── */
.hero {
    background: linear-gradient(160deg, var(--brown) 0%, var(--brown-dark) 100%);
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4a96a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--gold);
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    color: #c8b8a8;
    font-size: 17px;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto 32px;
}

.hero-ornament {
    color: var(--gold);
    opacity: 0.5;
    font-size: 24px;
    margin: 16px 0;
    letter-spacing: 8px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: 'Raleway', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--brown);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212,169,106,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--brown);
}

.btn-dark {
    background: var(--brown);
    color: var(--cream);
}

.btn-danger {
    background: #c0392b;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 11px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 14px;
}

/* ── Cards ── */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header {
    background: var(--brown);
    color: var(--gold);
    padding: 20px 28px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
}

.card-body { padding: 28px; }

/* ── Menu Card ── */
.menu-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(44, 24, 16, 0.2);
}

.menu-card-header {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-med) 100%);
    padding: 28px 32px;
    position: relative;
}

.menu-card-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 40px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.menu-card-date {
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.menu-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: white;
    font-size: 22px;
}

.menu-card-body { padding: 32px; }

.menu-course {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-dark);
}

.menu-course:last-of-type { border-bottom: none; }

.menu-course-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.menu-course-label {
    font-family: 'Raleway', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 3px;
}

.menu-course-text {
    color: var(--text);
    font-size: 15px;
}

/* ── Pricing ── */
.price-section {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--cream-dark);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-label { color: var(--text-light); font-size: 14px; }

.price-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--brown);
    font-weight: 700;
}

.price-group .price-value {
    color: #2d7a3a;
}

.price-group .price-label::before {
    content: '✓ ';
    color: #2d7a3a;
}

.price-strikethrough {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 14px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-gold { background: var(--gold); color: var(--brown); }
.badge-green { background: #d4edda; color: #155724; }
.badge-red { background: #f8d7da; color: #721c24; }
.badge-blue { background: #d1ecf1; color: #0c5460; }
.badge-grey { background: #e2e3e5; color: #383d41; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }

label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 7px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--text);
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 15px;
    transition: var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,169,106,0.15);
}

textarea { min-height: 100px; resize: vertical; }

.input-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
    font-family: 'Raleway', sans-serif;
}

/* ── Alerts ── */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-danger { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }
.alert-warning { background: #fff3cd; color: #856404; border-left: 4px solid #ffc107; }

/* ── Tables ── */
.table-wrap { overflow-x: auto; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

thead tr {
    background: var(--brown);
    color: var(--gold);
}

thead th {
    padding: 12px 16px;
    text-align: left;
    font-family: 'Raleway', sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

tbody tr { border-bottom: 1px solid var(--cream-dark); }
tbody tr:hover { background: rgba(212,169,106,0.05); }
tbody td { padding: 12px 16px; }

tfoot tr { background: var(--cream); }
tfoot td {
    padding: 12px 16px;
    font-weight: 700;
    border-top: 2px solid var(--brown-light);
}

/* ── Sections ── */
.section { padding: 60px 40px; }
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    color: var(--brown);
    margin-bottom: 8px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 40px;
}

.container { max-width: 1100px; margin: 0 auto; }
.container-sm { max-width: 680px; margin: 0 auto; }
.container-md { max-width: 860px; margin: 0 auto; }

/* ── Grid ── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Footer ── */
footer {
    background: var(--brown-dark);
    color: #a08070;
    text-align: center;
    padding: 40px;
    font-size: 13px;
    line-height: 1.8;
}

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

.divider {
    border: none;
    border-top: 1px solid var(--cream-dark);
    margin: 24px 0;
}

/* ── Utils ── */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-auto { margin-top: auto; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.w-full { width: 100%; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero { padding: 50px 24px; }
    .section { padding: 40px 24px; }
    .card-body { padding: 20px; }
}

/* ── Animations ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 0.5s ease forwards; }

.stagger-1 { animation-delay: 0.1s; opacity: 0; }
.stagger-2 { animation-delay: 0.2s; opacity: 0; }
.stagger-3 { animation-delay: 0.3s; opacity: 0; }
