/* --- ZÁKLADNÉ NASTAVENIE --- */
:root {
    --bg-dark: #0b0b0d;          /* Tmavé pozadie z tvojho dizajnu */
    --text-light: #ffffff;
    --text-muted: #8e8e93;
    --border-color: #1a1a1e;
    --font-family: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-family);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- NAVIGÁCIA (Presne podľa screenshotu) --- */
.hlavne-menu {
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-sekcia {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.menu-links { justify-content: flex-start; }

.menu-logo {
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.menu-logo a {
    text-decoration: none;
    color: var(--text-light);
}

.menu-logo span {
    color: var(--text-muted);
    font-weight: 300;
}

.menu-contact { justify-content: flex-end; }

/* Odkazy v menu */
.menu-item, .dropbtn {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 400;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-item:hover, .dropbtn:hover {
    color: var(--text-light);
}

/* Kontakt tlačidlo vpravo (Biely pill tlačidlo z fotky) */
.menu-contact .menu-item {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.menu-contact .menu-item:hover {
    background-color: #e5e5e5;
    color: #000000;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #141417;
    border: 1px solid var(--border-color);
    min-width: 160px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
    border-radius: 10px;
    top: 100%;
    margin-top: 12px;
    overflow: hidden;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content { display: block; }

.dropdown-content a {
    color: var(--text-muted);
    padding: 12px 18px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}

/* --- GALÉRIA A HEADERY --- */
.galeria-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 5%;
    flex: 1;
    width: 100%;
}

.galeria-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

.galeria-header h1 {
    font-size: 2.8rem;
    margin-top: 10px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.5px;
}

/* Mriežka na fotky (CSS Grid ako na vašom náhľade) */
.fotky-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px; /* Výrazné zaoblenie z fotky */
    overflow: hidden;
    background-color: #141417;
    aspect-ratio: 3 / 2;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
    opacity: 0.9;
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 50px 0;
    text-align: center;
    margin-top: 80px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-logo span { color: var(--text-muted); font-weight: 300; }

.social-odkaz {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-odkaz a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-odkaz a:hover { color: var(--text-light); }

.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsivita pre mobilné zariadenia */
@media (max-width: 768px) {
    .fotky-grid {
        grid-template-columns: 1fr;
    }
    .galeria-header h1 {
        font-size: 2rem;
    }
    .hlavne-menu {
        padding: 15px 10px;
    }

    .menu-wrap {
        flex-direction: column;
        gap: 15px;
    }

    .menu-sekcia {
        width: 100%;
        justify-content: center !important;
        gap: 15px;
    }

    .menu-logo {
        order: -1; /* Posunie logo navrch nad odkazy */
    }

}