/* Reset a základní styly */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: #000;
}

/* Video pozadí - celá stránka */
.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -100;
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: -99;
}

/* Navigace */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 35px;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    display: inline-block;
}

.nav-link:hover {
    background: rgba(0, 255, 0, 0.35);
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.6);
}

.nav-link.active {
    background: rgba(0, 150, 0, 0.4);
    border-bottom: 3px solid #00ff00;
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.4);
}

/* Social ikona */
.social-icon {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.social-icon a:hover {
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transform: scale(1.1);
}

/* Hlavní kontejner */
.gallery-container {
    max-width: 1400px;
    margin: 120px auto 40px;
    padding: 0 20px;
    width: 100%;
}

.text-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease forwards;
}

/* Grid a položky */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.gallery-item {
    width: 100%;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    height: auto; /* Důležité pro roztahování karet */
}

/* Postupné načítání karet */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Rámeček karty */
.image-frame {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.image-frame:hover {
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.3);
    border-color: rgba(0, 255, 0, 0.4);
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
}

/* VAVŘÍNY */
.laurel-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.laurel-icon {
    width: 45px;
    height: auto;
    filter: drop-shadow(0px 0px 5px rgba(255, 215, 0, 0.5));
    transition: transform 0.3s ease;
}

/* TEXTY */
.image-caption.gold {
    color: #fcc201;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 5px rgba(255, 165, 0, 0.5), 1px 1px 2px rgba(0, 0, 0, 1);
    margin-top: 5px;
    font-size: 0.9rem;
    text-align: left;
}

.green-text {
    color: #00ff00;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    margin-top: 10px;
}

/* Visit counter (srdce) */
.visit-counter {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.heart-container {
    position: relative;
    width: 90px;
    height: 90px;
    animation: heartbeat 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.08); }
    20% { transform: scale(1); }
}

.heart-shape {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 0, 0.25);
    transform: rotate(45deg);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.25);
}

.heart-shape:before, .heart-shape:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 0, 0.25);
    border-radius: 50%;
}

.heart-shape:before { top: -35px; left: 0; }
.heart-shape:after { top: 0; left: -35px; }

.counter-number {
    position: absolute;
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.9);
}

/* Responzivita */
@media (max-width: 1200px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .nav-menu { gap: 15px; }
    .nav-link { font-size: 15px; padding: 8px 16px; }
}