/* Navigačný panel (navbar) */
header {
    background: #000;
    border-bottom: 2px solid #e60000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
header .logo {
    font-size: 2rem;
    font-weight: bold;
    color: #e60000;
    text-decoration: none;
    flex-shrink: 0;
}
header nav {
    display: flex;
    gap: 20px;
    flex-grow: 1;
    justify-content: flex-end;
}
header nav a {
    font-size: 1.2rem;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: color 0.3s ease-in-out;
}
header nav a:hover {
    color: #e60000;
}
header nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #e60000;
    transition: width 0.3s ease-in-out;
}
header nav a:hover::after {
    width: 100%;
}
@media (max-width: 768px) {
    header nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: rgba(0, 0, 0, 0.95);
        padding: 15px;
        position: absolute;
        top: 70px;
        right: 10px;
        width: 80%;
        max-width: 250px;
        border-radius: 10px;
        border: 2px solid #e60000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    }
    header nav.open {
        display: flex;
    }
    .navbar-toggle {
        display: block;
    }
    header nav a {
        font-size: 1.2rem;
        text-align: center;
        padding: 10px;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
    }
    header nav a:hover {
        background: #e60000;
        color: #fff;
        transform: scale(1.1);
    }
}

/* Telo stránky */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
    padding: 20px 0;
}

/* Galéria: základné štýly */
.gallery-section {
    padding: 30px 20px;
    text-align: center;
}
.gallery-section h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    -webkit-text-stroke: 1px #cc0000;
    text-stroke: 1px #cc0000;
    animation: pulse 1.5s infinite;
    margin-bottom: 20px;
}
@keyframes customEffects {
    0%, 100% {
        text-shadow: 0 0 3px #cc0000, 0 0 8px #cc0000, 0 0 15px #cc0000;
    }
    50% {
        text-shadow: 0 0 5px #ff3333, 0 0 10px #ff3333, 0 0 20px #ff3333;
    }
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.album-selector {
    margin-bottom: 15px;
}
.album-btn {
    background: transparent;
    color: #fff;
    border: 2px solid #e60000;
    padding: 8px 18px;
    margin: 5px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
    font-size: 1.2rem;
}
.album-btn:hover {
    background-color: #e60000;
    color: #fff;
}
.album-btn.active {
    background-color: #e60000;
    color: #000;
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.8);
}

/* Galéria grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    justify-items: center;
    padding: 10px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4);
}
.gallery-item:hover {
    transform: scale(1.1);
}

/* Modal pre zväčšený obrázok */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.5);
}
.modal img:hover {
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.8),
                0 0 70px rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* Modal arrow navigation buttons */
.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    padding: 10px;
    cursor: pointer;
    user-select: none;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    z-index: 2100;
}
.modal-prev {
    left: 30px;
}
.modal-next {
    right: 30px;
}
.modal-prev:hover, .modal-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 12px 0;
    font-size: 1rem;
    margin-top: auto;
}

/* Responzívna navigácia */
.navbar-toggle {
    display: none;
    font-size: 2rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}
@media (max-width: 768px) {
    header nav {
        display: none;
        flex-direction: column;
        gap: 15px;
        background: rgba(0, 0, 0, 0.95);
        padding: 15px;
        position: absolute;
        top: 70px;
        right: 10px;
        width: 80%;
        max-width: 250px;
        border-radius: 10px;
        border: 2px solid #e60000;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
        animation: slideDown 0.3s ease-in-out;
    }
    header nav.menu-active {
        display: flex;
    }
    .navbar-toggle {
        display: block;
    }
    header nav a {
        font-size: 1.2rem;
        text-align: center;
        padding: 10px;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
    }
    header nav a:hover {
        background: #e60000;
        color: #fff;
        transform: scale(1.1);
    }
}

/* Lightbox pozadie */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

/* Footer Facebook */
.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.footer-icon img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease-in-out;
}
.footer-icon img:hover {
    transform: scale(1.2);
}

/* Nastavenie štýlu posuvníka */
/* Pre Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #e60000 #222;
}
/* Pre Webkit prehliadače */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #222;
}
::-webkit-scrollbar-thumb {
    background: #e60000;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}
