/* Το Μυστικό: shared styles for index_new.html and reservation_new.html */

:root {
    --red: #c11b1b;          /* brand red: headings, accents */
    --red-btn: #b31717;      /* buttons: white text passes contrast (6.4:1) */
    --red-btn-hover: #921212;
    --red-light: #ef4a4a;    /* red on dark backgrounds */
    --ink: #1f1f1f;
    --ink-soft: #4a4a4a;
    --paper: #ffffff;
    --paper-warm: #faf7f4;
    --line: #e7e1dc;
    --header-bg: rgba(28, 28, 28, 0.88);
    --header-h: 72px;
    --radius: 10px;
    --serif: 'Noto Serif Display', 'Noto Serif', Georgia, 'Times New Roman', serif;
    --sans: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; font-weight: 700; }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 2000;
    background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 48px);
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.site-header .logo img { height: 40px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
    display: block; color: #fff; text-decoration: none;
    font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
    padding: 8px 10px; border-radius: 6px;
    transition: background-color 0.25s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { background-color: var(--red-btn); }
.main-nav a.nav-cta { background: var(--red-btn); margin-left: 6px; }
.main-nav a.nav-cta:hover { background: var(--red-btn-hover); }

.nav-toggle {
    display: none;
    background: transparent; border: 0; color: #fff; cursor: pointer;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        background: rgba(24, 24, 24, 0.97);
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    }
    .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 20px; }
    .main-nav a { font-size: 16px; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
    .main-nav a.nav-cta { margin: 14px 0 0; text-align: center; border-radius: 6px; border: 0; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--red-btn); color: #fff;
    font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.04em;
    text-decoration: none; border: 0; border-radius: 6px; cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { background-color: var(--red-btn-hover); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: max(420px, 62vh);
    display: flex; align-items: center; justify-content: center;
    padding: calc(var(--header-h) + 32px) 20px 48px;
    text-align: center; color: #fff;
    background: #1b1b1b url('hero.jpg') center / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.hero-content { position: relative; max-width: 640px; animation: fadeIn 1.2s ease-out both; }
.hero h1 {
    font-size: clamp(32px, 6vw, 54px);
    margin: 0 0 16px; color: var(--red-light);
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
}
.hero p { font-size: clamp(17px, 2.4vw, 20px); margin: 0 0 28px; text-shadow: 1px 1px 3px #000; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 64px 20px; text-align: center; }
.section h2 {
    font-size: clamp(26px, 4vw, 36px);
    color: var(--red); margin: 0 0 20px; letter-spacing: 0.02em;
}
.section .lead { max-width: 760px; margin: 0 auto 16px; font-size: 17px; color: var(--ink-soft); }
.line { border-top: 1px solid var(--red); margin: 28px auto; width: min(50%, 320px); }

/* reveal on scroll: only hides content when JS is running */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Photo strips ---------- */
.film-strip {
    list-style: none; margin: 0 auto; padding: 14px;
    display: flex; gap: 10px; overflow-x: auto;
    scroll-snap-type: x proximity;
    background: rgba(43, 43, 43, 0.06);
    border-radius: var(--radius);
    max-width: 1280px;
}
.film-strip li { flex: 0 0 auto; scroll-snap-align: start; }
.film-strip a { display: block; width: 160px; height: 107px; border-radius: 6px; overflow: hidden; }
.film-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.film-strip a:hover img { transform: scale(1.06); }
@media (max-width: 576px) { .film-strip a { width: 128px; height: 86px; } }

/* ---------- Orchestra ---------- */
.orchestra { position: relative; isolation: isolate; }
.orchestra::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: url('orchestra-bg.jpg') center / cover no-repeat;
    opacity: 0.22;
}
.performers {
    list-style: none; padding: 0; margin: 32px auto 0; max-width: 1200px;
    display: grid; gap: 28px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.performer img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.performer h3 { font-size: 22px; color: var(--red); margin: 14px 0 6px; }
.performer p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- Events ---------- */
.events-booking {
    max-width: 1100px; margin: 8px auto 0;
    background: #eee url('events-bg.jpg') right center / cover no-repeat;
    border-radius: var(--radius);
    padding: clamp(20px, 5vw, 56px);
    display: flex; justify-content: flex-start;
}
@media (max-width: 768px) { .events-booking { background-image: none; background: var(--paper-warm); padding: 0; } }

/* ---------- Forms ---------- */
.form-card {
    width: 100%; max-width: 440px;
    background: #fff; color: var(--ink);
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    padding: 26px 24px; text-align: left;
}
.form-card h3 { margin: 0 0 4px; font-size: 22px; color: var(--red); }
.form-card .hint { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 400px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea, .field select {
    width: 100%; padding: 11px 12px;
    font: inherit; font-size: 16px; color: var(--ink);
    background: #fff; border: 1.5px solid #cfc8c2; border-radius: 6px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); outline: 2px solid rgba(193, 27, 27, 0.2); outline-offset: 0; }
.field-note { font-size: 13px; color: #8a5a00; margin: -6px 0 12px; line-height: 1.5; }
.field-note[hidden] { display: none; }
.form-card .btn { width: 100%; margin-top: 4px; }
.form-privacy { font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.5; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.notice {
    max-width: 640px; margin: 0 auto 20px; padding: 14px 18px;
    border-radius: 8px; text-align: left; font-size: 15px;
}
.notice[hidden] { display: none; }
.notice:focus { outline: none; }
.notice-ok { background: #e9f6ec; border: 1px solid #9bd3a8; color: #1d5b2b; }
.notice-err { background: #fdecec; border: 1px solid #f0a8a8; color: #8a1c1c; }

/* ---------- Menu ---------- */
.menu-section { background: var(--paper-warm); }
.menu-tabs { display: inline-flex; gap: 6px; margin: 8px 0 28px; padding: 5px; background: #fff; border-radius: 999px; box-shadow: 0 1px 6px rgba(0,0,0,0.08); }
.menu-tabs button {
    font: inherit; font-weight: 700; font-size: 15px; letter-spacing: 0.03em;
    padding: 9px 22px; border: 0; border-radius: 999px; cursor: pointer;
    background: transparent; color: var(--ink);
}
.menu-tabs button[aria-selected="true"] { background: var(--red-btn); color: #fff; }
.menu-tabs[hidden] { display: none; }

.menu-panel {
    max-width: 820px; margin: 0 auto; text-align: left;
    background: #fff; border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: clamp(20px, 4vw, 44px);
}
.menu-panel + .menu-panel { margin-top: 24px; }
.menu-panel[hidden] { display: none; }
.menu-panel h3 {
    font-size: 24px; color: #49602f; font-style: italic; font-weight: 400;
    text-align: center; margin: 26px 0 14px;
}
.menu-panel h3:first-child { margin-top: 0; }
.menu-panel h4 { font-family: var(--serif); font-style: italic; font-weight: 400; color: #c0703d; font-size: 18px; margin: 16px 0 6px; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
    display: grid; grid-template-columns: 1fr auto; column-gap: 16px;
    padding: 9px 0; border-bottom: 1px dashed var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.menu-list .dish { font-weight: 500; }
.menu-list .desc { grid-column: 1; font-size: 14px; color: var(--ink-soft); font-style: italic; line-height: 1.5; }
.menu-list .price { grid-column: 2; grid-row: 1; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.menu-list .price-pair { display: flex; gap: 18px; }
.menu-list .price-pair span { min-width: 70px; text-align: right; }
.price-head { display: flex; justify-content: flex-end; gap: 18px; font-size: 13px; color: #c0703d; font-style: italic; }
.price-head span { min-width: 70px; text-align: right; }
.menu-legal { font-size: 13px; color: var(--ink-soft); font-style: italic; margin: 22px 0 0; line-height: 1.6; }
.menu-print { margin: 22px auto 0; font-size: 15px; }
.menu-print a { font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonials { padding-bottom: 72px; }
.t-viewport { max-width: 720px; margin: 0 auto; overflow: hidden; }
.t-track { display: flex; transition: transform 0.6s ease; }
.testimonial { flex: 0 0 100%; padding: 8px 20px; margin: 0; }
.testimonial p { font-size: 18px; margin: 0 0 10px; }
.testimonial footer { color: var(--red); }
.t-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 18px; }
.t-controls button {
    width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line);
    background: #fff; color: var(--ink); cursor: pointer; font-size: 18px; line-height: 1;
}
.t-controls button:hover { border-color: var(--red); color: var(--red); }
.t-dots { display: flex; gap: 8px; }
.t-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.t-dots span.is-active { background: var(--red); }

/* ---------- Footer ---------- */
.site-footer {
    background: #f6f6f6 url('footer.png') center / cover no-repeat;
    color: var(--ink);
    padding: 40px clamp(16px, 4vw, 40px) 20px;
}
.footer-grid {
    max-width: 1280px; margin: 0 auto;
    display: grid; gap: 28px;
    grid-template-columns: repeat(3, 1fr) 1.3fr;
    text-align: center;
}
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 18px; color: var(--red); margin: 0 0 10px; letter-spacing: 0.04em; }
.site-footer p { margin: 0 0 8px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--red); text-decoration: underline; }
.site-footer .btn, .site-footer .btn:hover { color: #fff; text-decoration: none; margin-top: 8px; }
.site-footer .line { width: 120px; margin: 14px auto; }
.contact-line { display: inline-flex; align-items: center; gap: 8px; }
.contact-line svg { width: 16px; height: 16px; fill: var(--red); flex: none; }
.socials { display: flex; justify-content: center; gap: 14px; }
.socials a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; color: var(--red); }
.socials a:hover { background: rgba(193,27,27,0.08); }
.socials svg { width: 24px; height: 24px; fill: currentColor; }
.footer-map iframe { width: 100%; height: 220px; border: 0; border-radius: var(--radius); display: block; }
.copyright { text-align: center; font-size: 13px; color: var(--ink-soft); margin: 28px 0 0; }

/* ---------- Lightbox ---------- */
.lightbox {
    border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
    width: 100vw; height: 100vh; margin: 0;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.92); }
.lightbox[open] { background: rgba(0, 0, 0, 0.6); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; object-fit: contain; border-radius: 4px; }
.lightbox .lb-caption { color: #eee; margin-top: 10px; font-size: 15px; text-align: center; }
.lightbox button {
    position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: 0; cursor: pointer;
    width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1;
}
.lightbox button:hover { background: rgba(255,255,255,0.25); }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ---------- Reservation page ---------- */
.reservation-main {
    padding: calc(var(--header-h) + 40px) 20px 56px;
    background: #ddd url('reservation-bg.jpg') center / cover no-repeat;
    min-height: 80vh;
    display: flex; justify-content: center; align-items: flex-start;
}
.reservation-main .form-card { max-width: 520px; }
.reservation-main h1 { font-size: 28px; color: var(--red); margin: 0 0 6px; }
