:root {
    --primary: #0A7C5D;
    --secondary: #D35400;
    --accent: #2980B9;
    --dark: #14332A;
    --light: #F0F7F4;
    --background: #FAFDFB;
    --text: #2C3E50;
    --gradient-primary: linear-gradient(135deg, #0A7C5D 0%, #27AE60 100%);
    --gradient-accent: linear-gradient(135deg, #D35400 0%, #E67E22 100%);
    --gradient-dark: linear-gradient(135deg, #14332A 0%, #1E4638 100%);
    --shadow: 0 3px 15px rgba(10, 124, 93, 0.1);
    --shadow-hover: 0 5px 25px rgba(10, 124, 93, 0.15);
}

body {
    margin: 0;
    font-family: 'Roboto', 'Segoe UI', 'Helvetica Neue', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    min-height: 100vh;
    color: var(--text);
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5% 12px 3%;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(10, 124, 93, 0.15);
    position: fixed;
    width: 92%;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    height: 65px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    flex: 1;
}

.logo a {
    text-decoration: none;
    color: var(--dark);
    font-size: 22px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text-primary {
    color: var(--primary);
    font-weight: 700;
}

.logo-text-secondary {
    color: var(--dark);
    font-weight: 500;
    opacity: 0.85;
}

.logo a:hover .logo-text-primary {
    color: var(--accent);
}

.logo a:hover .logo-text-secondary {
    opacity: 1;
    color: var(--dark);
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    margin-left: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-size: 13px;
    background: rgba(240, 247, 244, 0.8);
    border: 1px solid rgba(10, 124, 93, 0.1);
    height: 36px;
    font-family: 'Roboto', sans-serif;
}

.main-nav a:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
    background: var(--gradient-primary);
}

.main-nav a i {
    margin-right: 6px;
    font-size: 12px;
    color: var(--primary);
    transition: all 0.2s ease;
}

.main-nav a:hover i {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
    height: 36px;
    align-items: center;
}

.mobile-menu-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.mobile-nav {
    display: none;
    width: 100%;
    background: white;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    padding: 15px 0;
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(10, 124, 93, 0.15);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 6px;
}

.mobile-nav a {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    background: rgba(240, 247, 244, 0.8);
    margin: 0 15px;
    border: 1px solid rgba(10, 124, 93, 0.1);
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

.mobile-nav a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateX(3px);
}

.main-content {
    padding-top: 90px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #F5FAF8 0%, #FFFFFF 100%);
    min-height: calc(100vh - 150px);
}

.gallery-section-data-ceske-s {
    padding: 25px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section-data-ceske-s h1,
.gallery-section-data-ceske-s h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
    position: relative;
    padding-bottom: 12px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.gallery-section-data-ceske-s h1:after,
.gallery-section-data-ceske-s h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.gallery-grid-data-ceske-s {
    column-count: 4;
    column-gap: 18px;
    margin-top: 25px;
}

.gallery-item-data-ceske-s {
    break-inside: avoid;
    text-align: center;
    transition: all 0.25s ease;
    background: white;
    border-radius: 10px;
    padding: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid rgba(10, 124, 93, 0.15);
    box-shadow: var(--shadow);
    position: relative;
}

.gallery-item-data-ceske-s:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.gallery-item-data-ceske-s:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    border-radius: 10px 10px 0 0;
}

.gallery-item-data-ceske-s:hover:before {
    transform: scaleX(1);
}

.gallery-item-data-ceske-s img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(10, 124, 93, 0.15);
    transition: all 0.25s ease;
}

.gallery-item-data-ceske-s:hover img {
    border-color: var(--primary);
    box-shadow: 0 3px 12px rgba(10, 124, 93, 0.1);
}

.gallery-caption {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 6px;
    font-weight: 500;
    transition: color 0.25s ease;
    padding: 0 6px;
    font-family: 'Roboto', sans-serif;
}

.gallery-item-data-ceske-s:hover .gallery-caption {
    color: var(--primary);
}

.links-section-data-ceske-s {
    padding: 25px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.links-section-data-ceske-s h2 {
    color: var(--dark);
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

.links-grid-data-ceske-s {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.links-grid-data-ceske-s a {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(240, 247, 244, 0.9);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(10, 124, 93, 0.2);
    text-align: center;
    min-width: 120px;
    font-size: 13px;
    position: relative;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}

.links-grid-data-ceske-s a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.links-grid-data-ceske-s a:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.links-grid-data-ceske-s a:hover:before {
    opacity: 1;
}

.footer {
    background: var(--gradient-dark);
    padding: 35px 5% 25px;
    text-align: center;
    color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 15px;
    order: 1;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
    padding: 8px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 36px;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}

.footer-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 124, 93, 0.3);
    border-color: transparent;
}

.footer-links a i {
    font-size: 13px;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 800px;
    margin: 0 auto;
    order: 3;
    width: 100%;
}

.copyright-text {
    line-height: 1.6;
    max-width: 700px;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}

.age-warning {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    text-align: center;
    line-height: 1.5;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    order: 2;
    font-family: 'Roboto', sans-serif;
}

.age-warning i {
    color: var(--accent);
    font-size: 14px;
}

@media (max-width: 1200px) {
    .gallery-grid-data-ceske-s {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .header {
        flex-wrap: wrap;
        padding: 10px 3% 10px 2%;
        height: 60px;
        width: 94%;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        margin-right: 0;
    }
    
    .main-content {
        padding-top: 85px;
    }
    
    .gallery-grid-data-ceske-s {
        column-count: 2;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .footer-links {
        gap: 8px;
    }
    
    .footer-links a {
        padding: 7px 12px;
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 8px 2% 8px 2%;
        width: 96%;
    }
    
    .gallery-grid-data-ceske-s {
        column-count: 2;
        column-gap: 15px;
    }
    
    .gallery-item-data-ceske-s {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .links-grid-data-ceske-s {
        gap: 8px;
    }
    
    .links-grid-data-ceske-s a {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 110px;
    }
    
    .footer {
        padding: 25px 3% 20px;
    }
    
    .footer-links a {
        padding: 7px 10px;
        font-size: 10px;
        min-height: 34px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 6px 2% 6px 2%;
        width: 96%;
    }
    
    .gallery-grid-data-ceske-s {
        column-count: 1;
    }
    
    .gallery-section-data-ceske-s h1,
    .gallery-section-data-ceske-s h2 {
        font-size: 20px;
    }
    
    .links-grid-data-ceske-s a {
        padding: 7px 14px;
        font-size: 11px;
        min-width: 100px;
    }
    
    .logo a {
        font-size: 18px;
        gap: 5px;
    }
    
    .footer-links a {
        padding: 6px 8px;
        font-size: 9px;
        min-height: 32px;
    }
    
    .age-warning {
        font-size: 10px;
        padding: 10px 15px;
    }
    
    .copyright-text {
        font-size: 11px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.gallery-item-data-ceske-s:hover {
    animation: float 2s ease-in-out infinite;
}

/* Logo icon styling */
.logo-icon {
    font-size: 20px;
    color: var(--primary);
    transition: all 0.2s ease;
}

.logo a:hover .logo-icon {
    color: var(--accent);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
}