/* Základní nastavení a font */
html, body {
  cursor: url("samolepka-symbol-muz.png") 16 16, auto !important;
}

a, button, [role="button"], input, textarea, select {
  cursor: url("samolepka-symbol-muz.png") 16 16, pointer !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: #2B2E33; /* Antracitová */
    background-color: #F5F3EF; /* Jemná písková */
}

/* Obal pro centrování obsahu */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Hlavička a logo */
header {
    background: rgba(255, 255, 255, 0.95); /* Mírně průhledná pro moderní vzhled */
    backdrop-filter: blur(10px);
    color: #2B2E33;
    padding-top: 30px;
    padding-bottom: 20px;
    min-height: 100px;
    border-bottom: 1px solid #dee2e6;
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
}

.header-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 170px;
    display: block;
}

.header-logo img {
    height: 100%;
    width: auto;
}

header .logo h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}

.header-subtitle {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #999;
}

.header-social {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.header-social a {
    color: #2B2E33;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.header-social a:hover {
    opacity: 0.7;
}

.header-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.header-social-icons {
    display: flex;
    gap: 15px;
}

.header-social-text {
    font-size: 10px;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigace */
nav {
    margin-top: 30px;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none; /* Odstraní tečky u seznamu */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #2B2E33;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

nav a:hover {
    color: #D4A373; /* Zlatavá */
    border-bottom: 2px solid #D4A373;
}

/* Hero sekce (hlavní banner) */
.hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.hero video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    left: 0;
    top: 0;
    min-width: 0;
    min-height: 0;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 5.5rem); /* Trochu větší pro dominanci */
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Místo opacity 0.6 použijeme text-shadow pro čitelnost */
    text-shadow: 2px 4px 15px rgba(0,0,0,0.5);
    opacity: 0.6;
}

.hero-title span {
    color: #D4A373;
    display: block;
    font-size: 1.4em; /* Uděláme slovo "MUŽI" ještě silnější */
}

.hero-divider {
    width: 60px;
    height: 4px;
    background: #D4A373;
    margin: 20px auto;
}

.hero h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 600;
    margin: 15px 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.6;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 35px 0;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.6;
}

.btn-hero {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-hero:hover {
    background-color: #e2e6ea;
}

.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
}

.btn {
    display: inline-block;
    background: #D4A373; /* Zlatavá */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background: #b0865c;
}

.videoPlayBtn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 18px;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
}

/* Sekce "O nás" */
.about-section {
    padding: 80px 0; /* Více prostoru */
    background: #F5F3EF;
    position: relative;
    overflow: hidden;
}

.about-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.about-text {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    text-align: center;
    max-width: 650px; /* Omezení šířky pro lepší čitelnost na širokých obrazovkách */
    color: #2B2E33;
}

.about-text p {
    margin-bottom: 25px;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    filter: grayscale(100%); /* Černobílé */
    transition: filter 0.3s ease;
}

/* Patička */
footer {
    padding: 20px;
    margin-top: 20px;
    color: #6c757d;
    background-color: #e9ecef;
    text-align: center;
}

/* Loader Overlay */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOutOverlay 0.5s ease-out 1.2s forwards; /* Zmizí po dokončení animace loga + malá pauza */
    pointer-events: none; /* Umožní klikání na web po zmizení */
}

#loader-overlay img {
    width: min(460px, 82vw);
    max-height: 78vh;
    height: auto;
    object-fit: contain;
    opacity: 0;
    transform: scale(0.94);
    animation: logoReveal 1s ease-out forwards;
}

@keyframes logoReveal {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOutOverlay {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Profily - O nás */
.profiles-section {
    padding: 80px 0;
    background-color: #F5F3EF;
}

.profiles-subtitle {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 60px;
}

.profile-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px; /* Více prostoru */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background-color: #e9ecef;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.profile-photo:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.profile-text {
    text-align: left;
    flex: 1;
}

.profile-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 0 0 15px 0;
    color: #2B2E33;
    letter-spacing: 0.5px;
}

.profile-text p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #555;
    margin: 0 0 8px 0;
}

@media (max-width: 768px) {
    .profile-block {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-text {
        text-align: center;
    }
}

/* Aktuality */
.news-section {
    padding: 80px 0;
    background-color: #F5F3EF;
}

.news-subtitle {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 60px;
}

.news-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-block {
    border-left: 4px solid #D4A373; /* Zlatavá */
    padding-left: 20px;
}

.news-date {
    font-size: 14px;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.news-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #2B2E33;
    letter-spacing: 0.5px;
}

.news-block p {
    margin: 0;
    color: #555;
}

.news-block video {
    width: 100%;
    border-radius: 8px;
    margin-top: 15px;
    display: block;
}

.festival-info-block video {
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 30px;
    display: block;
}

/* Festival - Muž na festivalu */
.festival-section {
    padding: 80px 0;
    background-color: #F5F3EF;
}

.festival-intro {
    text-align: center;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

.festival-photos {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.festival-photos img {
    width: calc(50% - 10px);
    border-radius: 8px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.festival-photos img:hover {
    filter: grayscale(0%);
}

.festival-info-block {
    max-width: 800px;
    margin: 0 auto 80px auto; /* Více prostoru */
}

.festival-info-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: #2B2E33;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

/* --- UNIVERZÁLNÍ NADPIS PRO PODSTRÁNKY --- */
.page-header-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    text-align: center;
    margin: 40px auto 20px auto;
    color: #2B2E33;
    position: relative;
    padding-bottom: 15px;
}

/* Linka pod nadpisem pro zdůraznění */
.page-header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #D4A373; /* Zlatavá */
}

@media (max-width: 768px) {
    .festival-photos {
        flex-direction: column;
    }
    .festival-photos img {
        width: 100%;
    }
}

.nav-toggle {
    display: none;
}

@media (max-width: 768px) {
    header {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header-logo,
    .header-social {
        position: static;
        transform: none;
    }

    .header-logo {
        height: 88px;
        margin-bottom: 5px;
    }

    .header-social {
        margin-top: 10px;
        justify-content: center;
    }

    nav {
        margin-top: 10px;
    }

    nav ul {
        display: none; /* Skryje menu na mobilu */
        flex-direction: column;
        gap: 15px;
        width: 100%;
        text-align: center;
    }

    nav.active ul {
        display: flex; /* Zobrazí menu po kliknutí */
    }

    nav a {
        font-size: 16px;
        display: block;
        padding: 10px 0;
    }

    .hero h1 {
        font-size: 32px;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: transparent;
        border: none;
        cursor: pointer;
        margin: 0 auto 10px auto;
        padding: 10px;
    }

    .nav-toggle span {
        display: block;
        width: 30px;
        height: 3px;
        background-color: #2B2E33;
        margin: 6px 0;
        transition: 0.3s;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -7px);
    }

    .hero {
        height: 34vh;
        min-height: 240px;
    }

}

/* Animace pro plynulé objevení (Fade-in) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Efekt pro fotky v galerii */
.gallery-grid img {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease-out;
}

.gallery-grid img.visible {
    opacity: 1;
    transform: scale(1);
}

/* Animace pro obrázek v Lightboxu */
#lightbox img {
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

/* Třída pro moment, kdy se fotka mění */
#lightbox img.fade {
    opacity: 0;
}
