﻿
        :root { --gold: #7a5c20; --gold-dark: #4a2e0a; --dark: #2c2c2c; --light: #f9f9f9; --gray: #666; --white: #fff; --shadow: 0 4px 20px rgba(0,0,0,0.08); --shadow-lg: 0 10px 40px rgba(0,0,0,0.12); }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: 'Segoe UI', Roboto, system-ui, sans-serif; line-height: 1.6; color: var(--dark); background: var(--white);
            background-image: repeating-linear-gradient(45deg, transparent, transparent 30px, rgba(184,151,62,0.02) 30px, rgba(184,151,62,0.02) 31px), repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(184,151,62,0.02) 30px, rgba(184,151,62,0.02) 31px);
            background-attachment: fixed; overflow-x: hidden; }
        a { text-decoration: none; color: inherit; transition: color 0.3s; }
        /* Make footer and contact links visibly distinct (not only color) */
        .main-footer a, .contact-details a, .map-caption a { text-decoration: underline; text-underline-offset: 2px; }
        .skip-link{position:fixed;left:-999px;top:0;background:#000;color:#fff;padding:8px 12px;z-index:10000}
        .skip-link:focus{left:8px;top:8px}
        a:focus, a:focus-visible{outline:3px solid #f0d78c;outline-offset:3px}
        img { max-width: 100%; height: auto; display: block; }

        /* NAWIGACJA */
        nav { background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); box-shadow: 0 2px 20px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
        .nav-inner { max-width: 1200px; margin: 0 auto; padding: 0.7rem 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
        .nav-logo img { height: 65px; width: auto; }
        .nav-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
        .nav-links a { font-weight: 500; color: var(--dark); padding: 0.5rem 0; border-bottom: 2px solid transparent; transition: all 0.3s; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
        .nav-contact a { background: var(--gold); color: white; padding: 0.5rem 1.3rem; border-radius: 25px; font-weight: 600; font-size: 0.9rem; transition: 0.3s; white-space: nowrap; }
        .nav-contact a:hover { background: var(--gold-dark); transform: translateY(-2px); }
        .hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--dark); background: none; border: none; }

        /* 🔥 HERO Z MOCNYM ROZMYCIEM (97%) */
        .hero { 
            position: relative; 
            width: 100%; 
            height: 70vh; 
            min-height: 400px; 
            max-height: 700px; 
            overflow: hidden; 
            background: #000; 
        }
        .hero-bg-blur {
            position: absolute;
            top: -30px;
            left: -30px;
            right: -30px;
            bottom: -30px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            /* 🔥 ROZMYCIE 97% */
            filter: blur(1450px) brightness(0.6) saturate(1.2);
            z-index: 0;
            transition: background-image 1.5s ease-in-out;
        }
        .hero-slide { 
            position: absolute; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            opacity: 0; 
            transition: opacity 1.2s ease-in-out;
            z-index: 1;
        }


        .hero-slide.active { opacity: 1; }
        .hero-overlay { 
            position: absolute; 
            top: 0; 
            left: 0; 
            right: 0; 
            bottom: 0; 
            background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.75) 100%); 
            display: flex; 
            flex-direction: column; 
            justify-content: center; 
            align-items: center; 
            text-align: center; 
            color: white; 
            padding: 2rem; 
            z-index: 2; 
        }
        .hero-overlay h1 { font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem; text-shadow: 2px 2px 12px rgba(0,0,0,0.6); font-weight: 700; }
        .hero-overlay p { font-size: clamp(1rem, 2vw, 1.4rem); max-width: 700px; margin-bottom: 2rem; text-shadow: 1px 1px 8px rgba(0,0,0,0.5); }
        .btn-gold { background: var(--gold); color: white; padding: 0.9rem 2.5rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem; transition: 0.3s; display: inline-block; border: 2px solid var(--gold); cursor: pointer; text-transform: uppercase; }
        .btn-gold:hover { background: transparent; border-color: white; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
        .slider-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
        .dot { width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
        .dot.active { background: var(--gold); transform: scale(1.3); }

        /* SEKCJE */
        section { max-width: 1200px; margin: 4rem auto; padding: 0 2rem; scroll-margin-top: 100px; }
        .section-title { font-size: 2.2rem; margin-bottom: 0.8rem; color: var(--dark); padding-bottom: 0.8rem; position: relative; }
        .section-title:after { content: ''; position: absolute; left: 0; bottom: 0; width: 60px; height: 3px; background: var(--gold); }
        .section-subtitle { color: var(--gray); margin-bottom: 2rem; font-size: 1.1rem; }

        /* O NAS */
        .about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; margin-top: 2rem; }
        .about-card { background: white; padding: 2rem 1.5rem; border-radius: 15px; box-shadow: var(--shadow); transition: all 0.3s; text-align: center; border-top: 4px solid transparent; }
        .about-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-top-color: var(--gold); }
        .about-card .icon-circle { width: 70px; height: 70px; border-radius: 50%; background: rgba(184,151,62,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.8rem; transition: 0.3s; }
        .about-card:hover .icon-circle { background: var(--gold); }
        .about-card h3 { margin-bottom: 0.8rem; font-size: 1.3rem; }
        .about-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

        /* KOLEKCJA */
        .collection-text { font-size: 1.1rem; color: var(--gray); max-width: 850px; line-height: 1.9; margin: 2rem 0; }
        .collection-text p { margin-bottom: 1.2rem; }

        /* GALERIA PRZEWIJAJĄCA */
        .exhibits-section { overflow: hidden; padding: 2rem 0; }
        .scrolling-gallery-wrapper { width: 100%; overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
        .scrolling-gallery { display: flex; gap: 20px; animation: scrollLeft 45s linear infinite; width: max-content; }
        .scrolling-gallery:hover { animation-play-state: paused; }
        @keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
        .scrolling-item { flex: 0 0 280px; height: 350px; border-radius: 15px; overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; background: white; }
        .scrolling-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
        .scrolling-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
        .scrolling-item:hover img { transform: scale(1.08); }
        .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 2rem; }
        .gallery-item { overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; background: var(--light); }
        .gallery-item img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.4s; }
        .gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
        .gallery-item:hover img { transform: scale(1.05); }

        /* LIGHTBOX */
        .lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 2000; justify-content: center; align-items: center; flex-direction: column; }
        .lightbox.active { display: flex; }
        .lightbox img { max-width: 92%; max-height: 85vh; border-radius: 10px; box-shadow: 0 0 40px rgba(0,0,0,0.8); }
        .close-lightbox { position: absolute; top: 15px; right: 25px; font-size: 2.8rem; color: white; cursor: pointer; background: none; border: none; z-index: 2001; transition: 0.3s; }
        .close-lightbox:hover { color: var(--gold); }

        /* KONTAKT */
        .contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; background: var(--light); border-radius: 20px; padding: 2.5rem; margin-top: 2rem; box-shadow: var(--shadow); }
        .contact-details p { margin: 1rem 0; font-size: 1.1rem; }
        .contact-details a { color: var(--gold); font-weight: 500; }
        .contact-details a:hover { text-decoration: underline; }
        .contact-details h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
        .map-iframe { border-radius: 12px; border: none; width: 100%; height: 320px; box-shadow: var(--shadow); }

        /* SEKCJA FLAG NAD STOPKĄ */
        .lang-section { background: #f0f0f0; padding: 2rem 1rem; border-top: 1px solid #ddd; }
        .lang-section .container { max-width: 1200px; margin: 0 auto; text-align: center; }
        .lang-section h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 1rem; }
        .lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px 5px; list-style: none; justify-items: center; align-items: center; }
        .lang-grid li { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.75rem; color: #555; padding: 5px; border-radius: 8px; transition: 0.3s; cursor: pointer; width: 100%; }
        .lang-grid li:hover { background: #e8e8e8; color: var(--dark); }
        .lang-grid img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }

        /* STOPKA */
        .main-footer { background: #1a1a1a; color: #ddd; padding: 3rem 2rem; }
        .main-footer .container { max-width: 1200px; margin: 0 auto; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-bottom: 2rem; }
        .footer-logo { margin-bottom: 15px; }
        .footer-logo img { height: 55px; width: auto; }
        .footer-grid p { color: #ddd; font-size: 0.9rem; line-height: 1.6; }
        .footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
        .footer-links a { color: #ddd; font-size: 0.9rem; transition: 0.3s; }
        .footer-links a:hover { color: var(--gold); }
        .footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #ccc; font-size: 0.8rem; }
        .footer-bottom a { color: #f0d78c; }

        @media (max-width: 768px) {
            .nav-links { display: none; flex-direction: column; width: 100%; gap: 0.5rem; background: white; padding: 1rem; border-radius: 10px; margin-top: 0.5rem; }
            .nav-links.active { display: flex; }
            .hamburger { display: block; }
            .hero { height: 50vh; min-height: 300px; }
            .contact-wrapper, .footer-grid { grid-template-columns: 1fr; }
            .scrolling-item { flex: 0 0 220px; height: 280px; }
            .lang-grid { grid-template-columns: repeat(auto-fill, minmax(65px, 1fr)); }
        }
        @media (max-width: 480px) {
            .hero { height: 40vh; min-height: 250px; }
            .scrolling-item { flex: 0 0 180px; height: 230px; }
            section { padding: 0 1rem; }
            .about-grid { grid-template-columns: 1fr; }
            .lang-grid { grid-template-columns: repeat(5, 1fr); gap: 6px 3px; }
        }
    
    /* Dopracowana sekcja O nas - subtelne akcenty zamiast emotek */
    #o-nas{padding:60px 20px;background:linear-gradient(180deg, rgba(248,246,243,0.6), rgba(255,255,255,0));}
    #o-nas .section-title{margin-bottom:8px}
    #o-nas .section-subtitle{max-width:880px;color:#555;margin:0 auto 28px;text-align:center;font-size:1.05rem}
    .about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px;max-width:1200px;margin:0 auto}
    .about-card{background:#fff;border-radius:10px;padding:22px;border:1px solid rgba(0,0,0,0.04);box-shadow:0 6px 20px rgba(0,0,0,0.04)}
    .about-card h3{font-size:1.1rem;margin:0 0 10px;position:relative;color:#222}
    .about-card h3::after{content:"";display:block;width:56px;height:4px;background:linear-gradient(90deg,#b8873a,#f0d78c);border-radius:2px;margin-top:8px}
    .about-card p{color:#444;line-height:1.6;font-size:0.95rem;margin:0}
