/* RESET I BAZOWE USTAWIENIA */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #fafafa;
    color: #2c2c2c;
    line-height: 1.6;
    overflow-x: hidden; 
}

/* --- BAJER 1: DEKORACYJNE NAGŁÓWKI --- */
h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #111;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #111;
    border-radius: 2px;
}

/* MENU NAWIGACYJNE */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%; 
    background-color: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); 
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

/* LOGO Z EFEKTEM BŁYSKU (SHIMMER) I POWIĘKSZENIEM */
.logo {
    font-size: 20px; 
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 1002;
    background: linear-gradient(90deg, #111 0%, #111 40%, #999 50%, #111 60%, #111 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: logoShine 4s linear infinite;
    transition: all 0.4s ease;
    display: inline-block;
}

.logo:hover {
    transform: scale(1.05);
    letter-spacing: 3px;
}

@keyframes logoShine {
    to {
        background-position: 200% center;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 13px; 
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: #000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #111;
    bottom: 0;
    left: 50%;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a.btn-book::after {
    display: none;
}

.btn-book {
    background-color: #111;
    color: white !important;
    padding: 10px 20px; 
    border-radius: 4px;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: 1px solid #111 !important;
}

.btn-book:hover {
    background-color: white;
    color: #111 !important;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001; 
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #111;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* BANER GŁÓWNY Z EFEKTEM PARALAKSY */
.hero-parallax {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    z-index: -2;
}

.grid-item {
    background-size: cover;
    background-position: center;
}

.banner1 { background-image: url('banner1.jpg'); }
.banner2 { background-image: url('banner2.jpg'); }
.banner3 { background-image: url('banner3.jpg'); }
.banner4 { background-image: url('banner4.jpg'); }
.banner5 { background-image: url('banner5.jpg'); }
.banner6 { background-image: url('banner6.jpg'); }

.hero-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    animation: fadeInUp 1s ease; 
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-content p.hero-subtitle {
    font-size: 17px;
    color: #f0f0f0;
    max-width: 600px;
    margin: 0 auto 40px auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
    opacity: 0.7;
    z-index: 2;
    text-decoration: none;
}

/* SEKCJE ZAWARTOŚCI */
.content-wrapper {
    position: relative;
    z-index: 10;
    background-color: #fafafa;
    min-height: 70vh;
}

.content-section {
    padding: 100px 10%; 
    text-align: center;
    background-color: #fafafa;
}

.content-section.gray-bg {
    background-color: #f4f6f7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23e0e4e6' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.content-section p.lead {
    font-size: 15px;
    color: #555;
    max-width: 750px;
    margin: 0 auto 50px auto;
    font-weight: 300;
}

/* POKOJE */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    color: white;
    padding: 60px 30px;
    border-radius: 8px; 
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    transform: translateZ(0); 
}

.price-card:hover {
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
}

.price-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%); 
    z-index: 1;
    transition: opacity 0.4s ease;
}

.price-card:hover::after {
    opacity: 0.8; 
}

.price-card h4 {
    font-size: 22px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
}

.room-price {
    font-size: 28px;
    font-weight: 300;
    color: white;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.room-price span {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.gallery-btn {
    font-size: 12px;
    font-weight: 500;
    color: #fff;
    background: rgba(255,255,255,0.1); 
    padding: 10px 24px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.price-card:hover .gallery-btn {
    background: white;
    color: #111;
    border-color: white;
}

/* MODAL (SLIDER) */
.slider-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.96); 
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slider-modal.active {
    display: flex;
    opacity: 1;
}

.slider-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: 200; 
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s;
    opacity: 0.7;
}

.slider-close:hover {
    opacity: 1;
}

.slider-content {
    position: relative;
    width: 90vw;
    max-width: 1100px; 
    height: 75vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); 
    will-change: transform;
}

.slider-img-container {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1); 
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.6;
}

.slider-nav:hover {
    background-color: white;
    color: black;
    opacity: 1;
}

.slider-nav.prev { left: 15px; }
.slider-nav.next { right: 15px; }

.slider-counter {
    position: absolute;
    bottom: -35px;
    color: #888;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 300;
}

/* SEKCJE TEKSTOWE I LISTY */
.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.features-box h3 {
    font-size: 17px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    display: inline-block;
    color: #111;
    font-weight: 500;
    letter-spacing: 1px;
}

.features-box ul {
    list-style-type: none;
}

.features-box ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: #444;
    font-size: 14px;
    font-weight: 300;
}

.features-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: #aaa;
    border-radius: 50%;
}

/* MAPA GOOGLE */
.map-placeholder {
    width: 100%;
    max-width: 950px; 
    height: 480px;
    background: #eee;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
}

/* REGULAMIN */
.rules-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    counter-reset: km-counter;
    list-style: none;
}

.rules-list li {
    position: relative;
    padding-left: 55px; 
    margin-bottom: 25px;
    font-size: 14px;
    color: #444;
    font-weight: 300;
}

.rules-list li::before {
    counter-increment: km-counter;
    content: counter(km-counter);
    position: absolute;
    left: 0;
    top: 0px;
    width: 32px;
    height: 32px;
    background: white;
    color: #111;
    border: 1px solid #ddd; 
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 11px;
    font-weight: 600;
}

/* KONTAKT */
.booking-details {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    background: white;
    padding: 50px; 
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); 
    color: #2c2c2c;
    border: none; 
}

.contact-box h3, .bank-box h3 {
    font-size: 17px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #111;
    font-weight: 500;
}

.contact-box p, .bank-box p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    font-weight: 300;
}

.contact-box a {
    color: #111;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    transition: all 0.3s;
}

.contact-box a:hover {
    border-color: #111;
}

.bank-box .account-number {
    font-family: monospace;
    font-size: 15px;
    font-weight: 400;
    color: #111;
    background: #f8f9fa; 
    padding: 10px 15px;
    display: inline-block;
    border-radius: 4px;
    margin-top: 10px;
    border: 1px solid #eee;
}

.info-note {
    grid-column: span 2;
    font-size: 12px;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 25px;
    line-height: 1.6;
    font-weight: 300;
}

/* NOWE STYLE DLA ELEGANCKIEJ STOPKI Z LINKAMI */
footer {
    position: relative;
    z-index: 10;
    background: #111;
    color: #777;
    padding: 40px 5%; 
    text-align: center;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 300;
}

footer a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

.footer-contact {
    margin: 12px 0;
    color: #555;
    font-size: 13px;
}

.footer-contact a {
    font-weight: 500;
}

.footer-author {
    margin-top: 20px;
    font-size: 11px;
    color: #444;
}

.footer-author a {
    color: #555;
    border-bottom: 1px dashed #444;
}

.footer-author a:hover {
    color: #888;
    border-bottom-color: #888;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* RESPONSYWNOŚĆ Z HAMBURGER MENU */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }
    
    .nav-links.nav-active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 18px;
    }
    
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -7px);
    }

    .booking-details { grid-template-columns: 1fr; gap: 30px; padding: 30px; }
    .info-note { grid-column: span 1; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; max-width: 450px; }
    .features-container { grid-template-columns: 1fr; gap: 30px; }
    .background-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
    .slider-nav { width: 40px; height: 40px; font-size: 16px; }
    h2 { font-size: 26px; }
    .hero-content h1 { font-size: 36px; }
}

@media (max-width: 500px) {
    .hero-content h1 { font-size: 30px; }
    h2 { font-size: 22px; }
    .background-grid { grid-template-columns: 1fr; grid-template-rows: repeat(6, 1fr); }
    .content-section { padding: 70px 5%; }
}

/* KLUCZE ANIMACJI */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}