/* Globální nastavení a proměnné */
:root {
    --bg-dark: #01241e;
    --text-green: rgba(46, 139, 87, 1);
    --title-brown: rgba(139, 69, 19, 1);
    --gold: #d4af37;
    --shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

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

body {
    font-family: 'Fondamento', sans-serif;
    background-color: var(--bg-dark);
    color: white;
}

/* Fixní prvky nahoře */
.top-nav-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.microsite-trigger {
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 5px;
    color: var(--gold);
    padding: 10px 20px;
    font-family: 'Fondamento', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.microsite-trigger:hover, .btn-active {
    background: var(--gold);
    color: var(--bg-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Dropdown Menu */
.microsite-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(1, 36, 30, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    z-index: 1000;
}

.microsite-dropdown.active {
    max-height: 100vh;
    border-bottom: 2px solid var(--gold);
    overflow-y: auto;
    padding-top: 80px;
}

.dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.microsite-item {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.microsite-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
}

.item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid var(--gold);
    border-radius: 4px;
}

.item-info h3 {
    color: var(--gold);
    font-size: 1.1rem;
}

.item-info p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.item-link {
    font-size: 0.75rem;
    border-bottom: 1px solid var(--gold);
}

/* Hero sekce */
.hero {
    height: 80vh;
    background-size: cover;
    background-position: center;
    display: flex;
    padding: 0 20px;
}

.logo {
    max-width: 90px;
    margin: 30px 0 80px 10px;
}

.main-title, .sub-title {
    font-family: 'Syne Tactile', serif;
    color: var(--text-green);
    text-shadow: var(--shadow);
}

.main-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-left: 40%;
}

.sub-title {
    letter-spacing: 5px;
    margin-left: 45%;
}

/* Společné styly sekcí */
.content-section {
    background-color: var(--bg-dark);
    padding: 60px 20px;
}

.container-flex, .main-content-wrapper {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
}

.title-vodnik {
    font-family: 'Fondamento', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--title-brown);
}

.description {
    line-height: 1.6;
    font-size: 1.15rem;
    color: var(--text-green);
}

.main-content-wrapper { flex: 3; gap: 60px; }
.text-side { flex: 1.2; }
.image-side { flex: 1; }

.image-side img, .main-photo-center img { 
    width: 100%; 
    border-radius: 10px; 
    display: block; 
}

.decoration, .side-photo { 
    flex: 0.4; 
    display: flex; 
    justify-content: center; 
}

.decoration img, .side-photo img { 
    max-width: 180px; 
    opacity: 0.7; 
}

/* Vlna */
.wave-divider { width: 100%; }
.wave-divider img { width: 100%; display: block; }

/* Lokalita */
.container-column { 
    display: flex;
    flex-direction: column; 
    text-align: center; 
    align-items: center;
    gap: 60px;
    padding: 100px 20px; 
}

.text-top-full, .photo-row { 
    max-width: 1100px; 
    width: 100%;
}

.photo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.main-photo-center { flex: 2; }

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#loader-video { width: 100%; height: 100%; object-fit: cover; }
.loader-hidden { opacity: 0; visibility: hidden; }
body.loading { overflow: hidden; }

/* Responzivita */
@media (max-width: 992px) {
    .main-content-wrapper { flex-direction: column; }
    .decoration, .side-photo img { display: none; }
    .dropdown-content { grid-template-columns: repeat(2, 1fr); }
    .main-title { margin-left: 0; text-align: center; }
    .sub-title { margin-left: 0; text-align: center; }
}

@media (max-width: 600px) {
    .dropdown-content { grid-template-columns: 1fr; padding: 20px 5%; }
    .top-nav-actions { top: 10px; right: 10px; }
}