/* ===== FONTS — self-hosted ===== */

/* Instrument Serif — nadpisy (min 2rem) */
@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/InstrumentSerif-Regular.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Instrument Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/InstrumentSerif-Regular-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/InstrumentSerif-Italic.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Instrument Serif';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/fonts/InstrumentSerif-Italic-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Geist — body text */
@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/Geist-LatinExt.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Geist';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('/fonts/Geist-Latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --gold: #C8963E;
    --gold-light: #E8C675;
    --gold-dark: #9A6F2A;
    --brown: #4A3220;
    --brown-light: #6B4D35;
    --cream: #FDF6EC;
    --cream-dark: #F5E6CE;
    --red-accent: #A63D2F;
    --green-accent: #5B7A3A;
    --text: #3A2A1A;
    --text-light: #7A6A5A;
    --font: 'Geist', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--text);
    line-height: 1.3;
    overflow-x: hidden;
}

/* ===== DEKORATIVNI POZADI ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 150, 62, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(166, 61, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(91, 122, 58, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Jemny grain texture */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 2rem; right: 2rem; bottom: 2rem; left: 2rem;
    border: 1px solid var(--gold-light);
    border-radius: 2px;
    pointer-events: none;
    opacity: 0.5;
}

.ornament-top {
    width: 120px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
    position: relative;
}

.ornament-top::before {
    content: '\2726';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cream);
    padding: 0 0.75rem;
    color: var(--gold);
    font-size: 1rem;
}

.hero-subtitle-top {
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.hero-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(4.5rem, 14vw, 10rem);
    line-height: 1.05;
    color: var(--brown);
    margin-bottom: 0.25rem;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-dark);
}

.hero-year {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--gold);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.ornament-bottom {
    width: 60px;
    height: 1px;
    background: var(--gold-light);
    margin-bottom: 2rem;
}

.hero-desc {
    font-weight: 400;
    font-size: 1rem;
    max-width: 580px;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.35;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.info-block {
    text-align: center;
}

.info-block .label {
    font-size: 1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-block .value {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2rem;
    color: var(--brown);
    font-weight: 400;
}

.info-block .value a {
    color: var(--brown);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-light);
    transition: border-color 0.3s;
}

.info-block .value a:hover {
    border-color: var(--gold);
}

/* ===== CTA BUTTONS ===== */
.cta-btn {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    background: var(--brown);
    padding: 1rem 2.5rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--gold-dark);
}

.cta-btn-light {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brown);
    background: var(--gold-light);
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.cta-btn-light:hover {
    background: var(--gold);
}

/* ===== SECTIONS — general ===== */
section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 720px;
    margin: 0 auto;
}

.venue .section-inner {
    max-width: 800px;
}

.section-label {
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
}

.section-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 5rem);
    color: var(--brown);
    text-align: center;
    margin-bottom: 2rem;
}

/* ===== O AKCI ===== */
.about {
    background: white;
    border-top: 1px solid var(--cream-dark);
    border-bottom: 1px solid var(--cream-dark);
}

.about-text {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.about-text strong {
    color: var(--brown);
    font-weight: 600;
}

/* ===== JAK TO FUNGUJE — kroky ===== */
.steps {
    background: var(--cream);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-number {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.step-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* ===== PRO SOUTEZICI ===== */
.for-contestants {
    background: var(--brown);
    color: var(--cream);
}

.for-contestants .section-label {
    color: var(--gold-light);
}

.for-contestants .section-title {
    color: var(--cream);
}

.contestants-text {
    text-align: center;
    font-size: 1rem;
    line-height: 1.45;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--cream-dark);
}

.contestants-list {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.contestants-list li {
    list-style: none;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    color: var(--cream-dark);
    padding-left: 1.5rem;
    position: relative;
}

.contestants-list li::before {
    content: '\2726';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
    top: 0.85rem;
}

.contestants-cta {
    text-align: center;
}

/* ===== MISTO KONANI ===== */
.venue {
    background: white;
    border-top: 1px solid var(--cream-dark);
}

.venue-card {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.venue-name {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.venue-name a {
    color: var(--brown);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-light);
    transition: border-color 0.3s;
}

.venue-name a:hover {
    border-color: var(--gold);
}

.venue-address {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.venue-address a {
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-light);
    transition: border-color 0.3s;
}

.venue-address a:hover {
    border-color: var(--gold);
}

.venue-map {
    width: 100%;
    min-width: 800px;
    max-width: 100%;
    height: 400px;
    border: 1px solid var(--cream-dark);
    border-radius: 2px;
}

@media (max-width: 850px) {
    .venue-map {
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .venue {
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .venue .section-inner {
        max-width: 100%;
        padding: 0 1.5rem;
    }
    .venue-card {
        max-width: 100%;
        padding: 0;
    }
    .venue-map {
        width: 100vw;
        min-width: 100vw;
        border: none;
        border-radius: 0;
    }
}

/* ===== FOOTER ===== */
footer {
    position: relative;
    z-index: 1;
    background: var(--brown);
    color: var(--cream-dark);
    text-align: center;
    padding: 3rem 1.5rem;
    font-size: 1rem;
}

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

footer a:hover {
    color: var(--gold);
}

.footer-ornament {
    width: 40px;
    height: 1px;
    background: var(--gold-dark);
    margin: 1rem auto;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    margin: 0 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    html { font-size: 14px; }
    .hero::before {
        top: 1rem; right: 1rem; bottom: 1rem; left: 1rem;
    }
    .hero-info {
        flex-direction: column;
        gap: 1rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
}
