
        * {
            margin:0;padding:0;box-sizing:border-box;
        }
        body { font-family: 'Playfair Display', serif;line-height:1.6;color:#333;background:#f8f8f8;}
        .hero {position:relative;height:60vh;min-height:400px;background:url('https://testczjs.store/5a-min.jpg') center/cover;display:flex;align-items:center;justify-content:center;color:white;text-align:center; margin-top: 90px;}
        .hero::before {content:'';position:absolute;inset:0;background:rgba(0,0,0,0.4);}
        .hero-content {position:relative;z-index:1;max-width:800px;padding:2rem;animation:fadeInUp 1s ease-out;}
        .hero h1 {font-size:3rem;font-weight:700;margin-bottom:1rem;text-shadow:2px 2px 4px rgba(0,0,0,0.5);}
        .hero p {font-size:1.3rem;font-weight:300;text-shadow:1px 1px 2px rgba(0,0,0,0.5);}
        .rooms-container {max-width:1600px;width:100%;margin:0 auto;padding:4rem 2rem;}
        .room-card {background:white;border-radius:12px;overflow:hidden;margin-bottom:4rem;box-shadow:0 4px 6px rgba(0,0,0,0.1);transition:all 0.3s;opacity:0;animation:fadeInUp 0.6s ease-out forwards;display:grid;grid-template-columns:60% 40%;}
        .room-card:nth-child(1){animation-delay:0.2s;}.room-card:nth-child(2){animation-delay:0.4s;}.room-card:nth-child(3){animation-delay:0.6s;}
        .room-card:hover {transform:translateY(-5px);box-shadow:0 8px 16px rgba(0,0,0,0.15);}
        .gallery-section {display:flex;flex-direction:column;}
        .main-image-container {position:relative;width:100%;padding-bottom:75%;background:#f0f0f0;overflow:hidden;}
        .main-image {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity 0.5s;}
        .main-image.fade {opacity:0;}
        .gallery-nav {position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.9);border:none;width:45px;height:45px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;transition:all 0.3s;z-index:10;box-shadow:0 2px 8px rgba(0,0,0,0.15);}
        .main-image-container:hover .gallery-nav {opacity:1;}
        .gallery-nav:hover {background:white;transform:translateY(-50%) scale(1.1);}
        .gallery-nav.prev {left:15px;}.gallery-nav.next {right:15px;}
        .gallery-nav svg {width:24px;height:24px;color:#2c2c2c;}
        .price-badge {position:absolute;top:20px;left:20px;background:rgba(139,111,78,0.95);color:white;padding:12px 24px;font-size:1.1rem;font-weight:600;z-index:10;letter-spacing:0.5px;}
        .thumbnails {
            display: flex;
            gap: 0.5rem;
            padding: 1rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            scrollbar-width: thin;
            scrollbar-color: #8b6f4e #f0f0f0;
        }
        /* Webkit scrollbar styling */
.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #8b6f4e;
    border-radius: 3px;
}
       /* Miniaturki - mniejsze rozmiary */
.thumbnail {
    position: relative;
    min-width: calc(25% - 0.375rem); /* 4 miniaturki widoczne */
    width: calc(25% - 0.375rem);
    padding-bottom: 15%; /* Zmniejszona wysokość */
    cursor: pointer;
    overflow: hidden;
    background: #e0e0e0;
    transition: all 0.3s;
    border: 2px solid white;
    flex-shrink: 0;
}

/* Gdy jest 3 lub mniej zdjęć - wyśrodkowanie */
.thumbnails:has(.thumbnail:nth-child(3):last-child),
.thumbnails:has(.thumbnail:nth-child(2):last-child),
.thumbnails:has(.thumbnail:only-child) {
    justify-content: center;
}

.thumbnail img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail.active {
    border: 3px solid #8b6f4e;
}

.thumbnail.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(139, 111, 78, 0.15);
}
        
        
        .amenities-icons {display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;padding:1.5rem;background:#fafafa;font-size:0.7em;}
        .amenity-icon-item {display:flex;flex-direction:column;align-items:center;text-align:center;gap:0.5rem;}
        .amenity-icon-circle {width:45px;height:45px;background:#f8f5f1;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:all 0.3s;}
        .amenity-icon-item:hover .amenity-icon-circle {background:#8b6f4e;transform:translateY(-5px);}
        .amenity-icon-circle svg {width:22px;height:22px;color:#8b6f4e;transition:color 0.3s;}
        .amenity-icon-item:hover .amenity-icon-circle svg {color:white;}
        .amenity-icon-item span {color:#64748b;font-size:1em;font-weight:500;line-height:1.3;}
        .room-info {padding:2rem;}
        .room-info h2 {font-size:2rem;color:#1e293b;margin-bottom:1rem;}
        .room-info p {color:#64748b;line-height:1.8;margin-bottom:2rem;font-size:1.05rem;}
        .action-buttons {display:flex;gap:1rem;margin-top:2rem;flex-wrap:wrap;}
        .btn svg {
            display: none;
        }
        .btn {
            padding:14px 32px;
            font-size:1rem;
            font-weight:600;
            border:none;
            border-radius:6px;
            cursor:pointer;
            transition:all 0.3s;
            text-decoration:none;
            display:inline-flex;
            align-items:center;
            justify-content: center;
            gap:0.5rem;
        }
        .btn-primary {background:#2c2c2c;color:white;}
        .btn-primary:hover {background:#1a1a1a;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,0.2);}
        .btn-secondary {background:white;color:#2c2c2c;border:2px solid #2c2c2c;}
        .btn-secondary:hover {background:#2c2c2c;color:white;transform:translateY(-2px);}
        .amenities {margin-top:2rem;border-top:1px solid #e2e8f0;padding-top:2rem;}
        .amenities h3 {font-size:1.3rem;color:#1e293b;margin-bottom:1.5rem;font-weight:600;}
        .amenities-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0.75rem;}
        .amenity-item {display:flex;align-items:center;gap:0.75rem;padding:0.65rem 1rem;background:#f8f5f1;border-radius:6px;transition:all 0.3s;border:1px solid #e8e3dc;}
        .amenity-item:hover {background:#ebe5dc;transform:translateX(3px);}
        .amenity-icon {width:20px;height:20px;color:#8b6f4e;flex-shrink:0;}
        .amenity-item span {color:#475569;font-size:0.9rem;}
        .contact-section {background:#f8f5f1;padding:5rem 2rem;text-align:center;margin-top:4rem;}
        .contact-content {max-width:600px;margin:0 auto;}
        .contact-section h2 {font-size:2.5rem;color:#1e293b;margin-bottom:1rem;font-weight:400;}
        .contact-section p {color:#64748b;font-size:1.2rem;margin-bottom:2rem;}
        .btn-contact {background:white;color:#2c2c2c;border:2px solid #2c2c2c;padding:16px 48px;font-size:1.1rem;font-weight:600;border-radius:6px;cursor:pointer;transition:all 0.3s;display:inline-block;text-decoration:none;}
        .btn-contact:hover {background:#2c2c2c;color:white;transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,0.15);}
        @keyframes fadeInUp {from{opacity:0;transform:translateY(30px);}to{opacity:1;transform:translateY(0);}}
        @media (max-width:1024px){.room-card{grid-template-columns:1fr;}}
        @media (max-width:768px){
            .hero h1{font-size:1.5rem;}
            .hero p{font-size:0.8rem;}
            .thumbnail {
                min-width: calc(33.333% - 0.33rem); /* 3 miniaturki na mobile */
                width: calc(33.333% - 0.33rem);
                padding-bottom: 20%;
            }
            
            .thumbnails {
                padding: 0.75rem;
                gap: 0.25rem;
            }
            .amenities-grid{grid-template-columns:1fr;}
            .action-buttons{flex-direction:column;}
            .btn{width:100%;justify-content:center;}.contact-section h2{font-size:1.8rem;}.price-badge{font-size:0.95rem;padding:10px 18px;}.gallery-nav{width:40px;height:40px;}.gallery-nav.prev{left:10px;}.gallery-nav.next{right:10px;}}
        
