/* Styling für Oberlausitz Miniwelt - Standarddesign */

:root {
    --background: #cfe8ff;
    --card: rgba(255, 255, 255, 0.95);
    --text: #0b1f3a;
    --accent: #1d6fa5;
    --shadow: rgba(0, 0, 0, 0.12);
}

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--background);
}

/* Skip link (keyboard accessibility) */
.skip-link {
    position: absolute;
    top: -44px;
    left: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(29, 111, 165, 0.95);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

.page-bg {
    position: relative;
    min-height: 100vh;
    padding-bottom: 40px;
    background: linear-gradient(160deg, rgba(207,232,255,0.95), rgba(255,255,255,0.6));
    overflow: hidden;
}

.page-bg::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -80px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.60) 45%, rgba(255,255,255,0) 70%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.page-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 8% 14%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 60%),
                      radial-gradient(circle at 20% 35%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 65%);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}

header img {
    max-height: 90px;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 14px 30px var(--shadow);
    border: 1px solid rgba(255,255,255,0.7);
}

.site-logo {
    max-height: 90px;
    width: auto;
}

/* Header title styling */
.site-title {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}

.site-title-line {
    line-height: 1.05;
}

.site-title-line--small {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.site-title-line--large {
    font-size: 2.6rem;
}

@media (max-width: 576px) {
    .site-title-line--small {
        font-size: 1.05rem;
    }

    .site-title-line--large {
        font-size: 2.2rem;
    }
}

main {
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.hours-box {
    background: var(--card);
    border: 1px solid rgba(29, 111, 165, 0.2);
}

.hours-box h2 {
    margin-bottom: 0.75rem;
    color: var(--accent);
}

.hours-main {
    background: rgba(29, 111, 165, 0.12);
    border: 1px solid rgba(29, 111, 165, 0.28);
    border-radius: 12px;
}

.hours-main .display-6 {
    letter-spacing: 0.05em;
}

nav {
    position: relative;
    z-index: 2;
}

.nav-link {
    pointer-events: auto;
    cursor: pointer;
}

@media (max-width: 768px) {
    main {
        margin-top: -40px;
    }

    .hours-main {
        padding: 1rem 0.75rem;
    }
}

footer {
    text-align: center;
    color: rgba(11, 31, 58, 0.75);
    position: relative;
    z-index: 1;
}

.gallery-thumbnails .thumbnail-btn {
    padding: 3px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: rgba(255,255,255,0.85);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumbnails .thumbnail-btn:hover,
.gallery-thumbnails .thumbnail-btn:focus {
    border-color: rgba(29, 111, 165, 0.7);
    transform: translateY(-2px);
}

.gallery-thumbnails .thumbnail-btn.active {
    border-color: rgba(29, 111, 165, 1);
}

.gallery-thumbnails .thumbnail-btn img {
    max-width: 120px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.08);
}

.carousel-item img {
    object-fit: contain;
    height: 500px;
    background: rgba(0, 0, 0, 0.06);
}

.map-consent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

