/* Základní reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Fondamento', sans-serif;
    background-color: rgba(255, 255, 224, 1);
    color: rgba(27, 38, 18, 1);
}

.logo {
    max-width: 90px;
    height: auto;
    margin-left: 10px; 
    margin-top: 30px;
    margin-bottom: 80px;
}

/* --- MICROSITE MENU STYLY --- */
.top-nav-actions {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001; /* Aby bylo nad loaderem i menu */
}

.microsite-trigger {
    background: transparent;
    border: 1px solid #d4af37; /* Zlatá barva */
    border-radius: 5px;
    color: #d4af37;
    padding: 10px 20px;
    font-family: inherit; /* Převezme font dané microsite */
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

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

.microsite-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98); /* Tmavé pozadí menu */
    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 #d4af37;
    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 #d4af37;
    border-radius: 4px;
}

.item-info h3 {
    color: #d4af37;
    font-size: 1.1rem;
    margin: 0;
}

.item-info p {
    font-size: 0.85rem;
    margin: 5px 0;
    opacity: 0.8;
}

.item-link {
    font-size: 0.75rem;
    border-bottom: 1px solid #d4af37;
}

/* Responzivita pro mobily */
@media (max-width: 992px) {
    .dropdown-content { grid-template-columns: repeat(2, 1fr); }
}

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

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

.main-title, .sub-title {
    font-family: 'Fraunces', serif;
    color: rgba(46, 139, 87, 1);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

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

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

/* Horní sekce obsahu */
.content-section {
    background-color: rgba(255, 255, 224, 1); 
    padding: 60px 20px;
}

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

.main-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex: 3;
}

.text-side { flex: 1.2; }
.image-side { flex: 1; }

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

/* Horní dekorace */
.decoration {
    flex: 0.4;
    display: flex;
    justify-content: center;
}

.decoration img {
    max-width: 180px;
    height: auto;
    opacity: 0.7;
}

.title {
    font-family: 'Fondamento', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: rgba(205, 133, 63, 1);
}

.description {
    line-height: 1.6;
    font-size: 1.15rem;
}

/* Vlna */
.wave-divider { 
    width: 100%; 
    background-color: rgba(255, 255, 224, 1);
}

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

/* Spodní sekce pod vlnou (Lokalita) */
.container-column { 
    display: flex;
    flex-direction: column; 
    text-align: center; 
    align-items: center;
    gap: 60px;
    padding: 100px 20px; 
    background-color: rgba(255, 255, 224, 1);
}

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

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

/* Boční fotky dole - větší na výšku */
.photo-row .side-photo { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
}

.photo-row .side-photo img { 
    height: 600px; /* Fixní výška pro protažení na výšku */
    width: auto;   /* Šířka se dopočítá, aby nebyl obrázek deformovaný */
    border-radius: 10px;
    opacity: 0.9;
}

/* Hlavní fotka uprostřed spodní řady */
.photo-row .main-photo-center { 
    flex: 1.5; 
}

.text-top-full .description {
    font-size: 1.3rem;
    max-width: 900px;
    margin: 0 auto;
}


#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--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; /* Video vyplní obrazovku bez deformace */
}

/* Třída pro skrytí loaderu */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* Zamezení scrollování při načítání */
body.loading {
    overflow: hidden;
}

/* Responzivita - Skrytí bočních fotek na menších obrazovkách */
@media (max-width: 1200px) {
    .photo-row .side-photo {
        display: none; /* Boční fotky zmizí na tabletech a mobilech */
    }
    .photo-row .main-photo-center {
        max-width: 800px;
        width: 100%;
    }
    .side-photo img { 
    display: none;
    }
}

@media (max-width: 992px) {
    .main-content-wrapper { flex-direction: column; }
    .decoration { display: none; }
}

@media (max-width: 768px) {
    .main-title, .sub-title {
        margin-left: 0;
        text-align: center;
    }
}