/* ===================================
   Modern Metal Pilgrims Stylesheet
   Following Laws of UX Principles
   =================================== */

/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Heavy Metal Theme */
    --primary-color: #ff0000;
    --primary-dark: #cc0000;
    --accent-color: #fa694e;
    --secondary-color: #1a1a1a;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --background-gray: #2a2a2a;
    --text-dark: #ffffff;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --border-color: #333333;
    --overlay-dark: rgba(0, 0, 0, 0.85);
    --metal-gold: #d4af37;
    --metal-silver: #c0c0c0;
    
    /* Typography - Readability */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Spacing - Law of Proximity */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Transitions - Doherty Threshold: <400ms */
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    
    /* Shadows - Depth perception */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(250, 105, 78, 0.05) 0%, transparent 50%);
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Navigation - Jakob's Law ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    z-index: 1000;
    transition: transform var(--transition-normal);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Fitts's Law: Larger touch targets */
.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-link {
    font-weight: 700;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0;
    transition: all var(--transition-fast);
    min-height: 48px;
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.95rem;
    position: relative;
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active::after {
    width: 80%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0;
    transition: all var(--transition-fast);
}

/* ===== Hero Section - Aesthetic-Usability Effect ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/1.jpg') center/cover no-repeat;
    color: var(--text-light);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(255, 0, 0, 0.2));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

.hero-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-shadow: 
        0 0 20px rgba(255, 0, 0, 0.8),
        0 0 40px rgba(255, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.9);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 900;
}

.hero-logo {
    max-width: 600px;
    width: 90%;
    height: auto;
    margin-bottom: var(--spacing-md);
    filter: 
        drop-shadow(0 0 30px rgba(255, 0, 0, 0.8))
        drop-shadow(0 0 60px rgba(255, 0, 0, 0.5))
        drop-shadow(0 8px 20px rgba(0, 0, 0, 0.9));
    animation: heroLogoGlow 3s ease-in-out infinite alternate;
}

@keyframes heroLogoGlow {
    0% {
        filter: 
            drop-shadow(0 0 30px rgba(255, 0, 0, 0.8))
            drop-shadow(0 0 60px rgba(255, 0, 0, 0.5))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.9));
    }
    100% {
        filter: 
            drop-shadow(0 0 40px rgba(255, 0, 0, 1))
            drop-shadow(0 0 80px rgba(255, 0, 0, 0.7))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.9));
    }
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(12px); }
}

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

/* ===== Buttons - Fitts's Law ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    min-height: 48px; /* Accessible touch target */
    gap: var(--spacing-xs);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    border-color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--background-dark);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
}

/* ===== Events Section - Chunking & Law of Common Region ===== */
.events-section {
    background: var(--background-dark);
    position: relative;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.countdown-wrapper {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

/* Event Cards - Law of Common Region */
.event-card {
    background: var(--background-gray);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
    position: relative;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.event-featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.2);
}

.event-featured::before {
    height: 4px;
}

.event-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.event-badge-future {
    background: var(--secondary-color);
}

.event-content {
    padding: var(--spacing-lg);
}

.event-title {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-intro {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.event-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

/* Event Details - Progressive Disclosure */
.event-details {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--border-color);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lineup-section,
.features-section {
    margin-bottom: var(--spacing-lg);
}

.lineup-section h4,
.features-section h4 {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Band List - Law of Proximity */
.band-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.band-item {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.band-item:hover {
    background: rgba(255, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.band-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.band-item strong {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.band-item p {
    margin: 0;
    font-size: 0.9375rem;
}

/* Features List */
.features-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-sm);
}

.features-list li {
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-gray);
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Gallery Section - Serial Position Effect ===== */
.gallery-section {
    background: var(--background-gray);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: border-color var(--transition-fast);
}

.gallery-item:hover {
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-sm);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-year {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

/* ===== Video Section ===== */
.video-section {
    background: var(--background-dark);
    position: relative;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.video-card {
    background: var(--background-gray);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.1);
    transition: all var(--transition-normal);
}

.video-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h4 {
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-light);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Footer - Law of Uniform Connectedness ===== */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.partner-logos,
.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    display: inline-block;
    transition: all var(--transition-normal);
    opacity: 0.9;
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-4px);
    filter: drop-shadow(0 4px 20px rgba(255, 0, 0, 0.5));
}

/* Hide img tags, use background images instead */
.partner-logo img {
    display: none;
}

/* Specific partner logos with background images */
.partner-barrak {
    background: url(../images/novybarrak_logo_22.png) no-repeat center center;
    background-size: contain;
    width: 200px;
    height: 85px;
}

.partner-festivaly {
    background: url(https://festivaly.eu/i/festivalyeu.png) no-repeat center center;
    background-size: contain;
    width: 154px;
    height: 106px;
}

.partner-sms {
    background: url(../images/smsticket.png) no-repeat center center;
    background-size: contain;
    width: 220px;
    height: 99px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all var(--transition-fast);
    min-height: 44px;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.social-link {
    width: 44px;
    height: 44px;
    padding: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.875rem;
}

/* ===== Back to Top Button - Fitts's Law ===== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== Responsive Design - Mobile First ===== */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-xxl: 4rem;
    }

    .hero-logo {
        max-width: 400px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--background-dark);
        border-bottom: 2px solid var(--primary-color);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: 0 8px 30px rgba(255, 0, 0, 0.3);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .event-actions {
        flex-direction: column;
    }

    .event-actions .btn {
        width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--spacing-sm);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partner-logos,
    .social-links {
        justify-content: center;
    }

    .partner-logo {
        min-height: 70px;
        padding: var(--spacing-xs);
    }

    .partner-logo img {
        max-height: 50px;
    }

    .partner-barrak img,
    .partner-festivaly img,
    .partner-sms img {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }


/* CSS pro fotogalerii */
.photo-gallery {
  padding: 40px 20px;
  background: #111;
  color: #fff;
  text-align: center;
}

.photo-gallery h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 10px;
  font-size: 1rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Pro mobilní zařízení */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
