/* Základní styly a barvy (eukalyptus, krémová, zlatá) */
:root {
    --bg-cream: #fbf9f5;
    --text-dark: #2c3e35;
    --gold: #c5a059;
    --green: #4a6b5d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Georgia', serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

/* HERO SEKCE */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Přizpůsobení mobilnímu adresnímu řádku */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--green);
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zabrání ořezu a zoomování videa */
    z-index: 1;
}

/* ŘÍZENÍ ZOBRAZENÍ VIDEÍ PODLE ŠÍŘKY OBRAZOVKY */
.video-desktop {
    display: block;
}

.video-mobile {
    display: none;
}

/* Při šířce displeje 768px a méně přepneme videa */
@media (max-width: 768px) {
    .video-desktop {
        display: none !important;
    }
    .video-mobile {
        display: block !important;
    }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Šipka dolů */
.scroll-down {
    position: absolute;
    bottom: 30px;
    z-index: 3;
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Obsahové sekce */
.section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section h2 {
    font-size: 2.2rem;
    color: var(--green);
    margin-bottom: 20px;
    font-weight: normal;
}

.section p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ODPOČET ČASU STYLY */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.time-box {
    background: #ffffff;
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 75px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.time-box span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--green);
    display: block;
    line-height: 1;
}

.time-box p {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Formulář */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
}

label {
    font-size: 0.9rem;
    color: var(--green);
}

input, select, textarea {
    padding: 12px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    background: white;
    font-family: inherit;
    width: 100%;
}

button {
    background-color: var(--gold);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #b08d4c;
}

footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.9rem;
    color: var(--green);
    border-top: 1px solid #e6dec5;
}