/* === 1. RESET I BAZA === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* === 2. PŁYWAJĄCA NAWIGACJA (Z FIXEM NA LOGO) === */
.navbar {
    position: sticky;
    top: 0;
    background-color: #2c3e50; /* ZMIENIONE: Twój oryginalny ciemny kolor */
    padding: 0 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.nav-logo {
    max-height: 85px; 
    width: auto;
    display: block;
    object-fit: contain;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar nav ul li a {
    text-decoration: none;
    color: white; /* ZMIENIONE: Biały tekst, żeby był widoczny na ciemnym tle */
    font-weight: bold;
    transition: color 0.3s;
}

.navbar nav ul li a:hover {
    color: #2ecc71;
}

/* === 3. SEKCJA ZE ZDJĘCIEM (Znika przy scrollu) === */
.hero {
    position: absolute; 
    top: 100px; /* Zmienione z 55px na 100px, żeby pasowało do navbara z logo */
    left: 0;
    width: 100%;
    height: 40vh;
    z-index: 1;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === 4. GŁÓWNA TREŚĆ (Wjeżdża na zdjęcie) === */
main {
    position: relative;
    z-index: 10;
    background-color: #f8f9fa;
    padding-bottom: 50px;
}

.home-main {
    margin-top: 40vh;
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
}

.info-text, .calendar-wrapper {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* === 5. UKŁAD WIELU MIESIĘCY OBOK SIEBIE === */
.months-container {
    display: flex;
    flex-wrap: nowrap; 
    overflow-x: auto; 
    gap: 30px;
    padding-bottom: 20px; 
    scroll-behavior: smooth;
}

.months-container::-webkit-scrollbar {
    height: 10px;
}

.months-container::-webkit-scrollbar-thumb {
    background-color: #2c3e50;
    border-radius: 5px;
}

.month-box {
    flex: 0 0 auto; 
    width: 320px;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* === 6. SIATKA DNI === */
.mini-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 10px;
    color: #7f8c8d;
}

.mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* === 7. WYGLĄD POJEDYNCZEGO DNIA === */
.mini-day {
    aspect-ratio: 1; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; 
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: transform 0.1s ease, opacity 0.2s;
}

.mini-day.empty {
    background-color: transparent;
    cursor: default;
}

.free {
    background-color: #2ecc71;
    color: white;
}

.booked {
    background-color: #e74c3c;
    color: white;
}

.mini-day:not(.empty):hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* === 8. MODAL LOGOWANIA ADMINA === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    min-width: 320px;
}

.modal-content input {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-content button {
    padding: 12px;
    cursor: pointer;
    background: #2c3e50;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
}

/* === 10. OGÓLNE KLASY PODSTRON === */
.content-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.content-section h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* === 11. PLAKIETKA CENOWA NA STRONIE GŁÓWNEJ === */
.price-badge {
    display: inline-block;
    background-color: #e8f6f3;
    color: #2c3e50;
    font-size: 1.15rem;
    padding: 8px 20px;
    border-radius: 25px;
    border: 2px solid #2ecc71;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* === 12. TEKST POWITALNY NA STRONIE GŁÓWNEJ === */
.hero-description {
    padding: 5rem 2rem 2rem;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-description h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.2rem;
}

.hero-description .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #34495e;
}

.hero-description .highlight {
    font-size: 1.15rem;
    margin-top: 2.5rem;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    border-left: 5px solid #2ecc71;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.hero-description .welcome {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2ecc71;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* === 13. SZYBKI KONTAKT (STRONA GŁÓWNA) === */
.quick-contact {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #2c3e50;
    color: white;
    margin: 2rem auto 4rem;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.quick-contact h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #2ecc71; 
}

.quick-contact .contact-details p {
    font-size: 1.2rem;
    margin: 12px 0;
}

.quick-contact a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.quick-contact a:hover {
    color: #2ecc71;
}

/* === 14. MINI GALERIA (NASZ KAMPER) === */
.our-camper {
    max-width: 1000px;
    margin: 0 auto 5rem;
    text-align: center;
    padding: 0 2rem;
}

.our-camper h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
}

.camper-photos {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap; 
}

.photo-box {
    flex: 1;
    min-width: 320px; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: #fff;
    padding-bottom: 15px;
    transition: transform 0.3s ease;
}

.photo-box:hover {
    transform: translateY(-5px); 
}

.photo-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.photo-caption {
    margin-top: 15px;
    font-weight: 600;
    color: #34495e;
    font-size: 1.15rem;
}

/* === 15. PRZYCISK POBIERANIA UMOWY === */
.download-box {
    margin: 2rem 0;
    padding: 2rem;
    background-color: #f1f2f6;
    border-radius: 10px;
    border: 1px dashed #2c3e50;
}

.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
}

.download-btn:hover {
    background-color: #2ecc71; 
    transform: scale(1.05);
}

/* === KARTA POBIERANIA UMOWY / REGULAMINU === */
.full-height-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 65vh; 
}

.download-card {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 500px;
    width: 100%;
    border-top: 5px solid #2ecc71; 
}

/* DUŻE EMOTKI UMOWY I REGULAMINU */
.icon-document {
    font-size: 6rem;
    margin-bottom: 1rem;
    display: block;
}

.download-card h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.download-card p {
    color: #7f8c8d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.btn-primary {
    display: inline-block;
    background-color: #2ecc71;
    color: white;
    padding: 15px 35px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    background-color: #27ae60;
    transform: translateY(-3px); 
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

/* === 16. GALERIA PODRÓŻNIKÓW === */
.gallery-intro {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.placeholder-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f6f3 0%, #d4efdf 100%);
    border: 2px dashed #2ecc71;
}

.placeholder-text {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
    text-align: center;
    padding: 20px;
}

/* === 17. SEKCJA KONTAKTOWA === */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 3rem;
    width: 100%; /* Fix wyśrodkowania na stronie kontaktowej */
    display: block;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: stretch;
}

.contact-info-card, .contact-map-card {
    flex: 1;
    min-width: 320px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-top: 5px solid #2ecc71;
}

.info-group {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.info-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-group h3 {
    color: #27ae60;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.info-group p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.info-group a {
    color: #34495e;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.info-group a:hover {
    color: #2ecc71;
}

.bank-account {
    font-family: monospace;
    font-size: 1.25rem !important;
    font-weight: bold;
    color: #2c3e50 !important;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 6px;
    letter-spacing: 1px;
    display: inline-block;
}

.contact-map-card {
    display: flex;
    flex-direction: column;
    padding: 1rem; 
}

.contact-map-card iframe {
    border-radius: 8px;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.map-btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* === 18. SEKCJA WYPOSAŻENIA (NOWA) === */
.specs-section {
    padding: 4rem 2rem;
    background-color: #f4f7f6;
    text-align: center;
}

.specs-section h2 {
    margin-bottom: 3rem;
    color: #2c3e50;
}

.specs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.specs-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    border-top: 4px solid #2ecc71;
}

.specs-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.specs-card h3 .icon {
    margin-right: 10px;
    font-size: 1.5rem;
}

.specs-card ul {
    list-style: none;
    padding: 0;
}

.specs-card ul li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
}

.specs-card ul li strong {
    color: #2c3e50;
    font-weight: 600;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    .nav-logo {
        height: 60px;
        margin-bottom: 10px;
    }
    .navbar nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero {
        position: relative;
        top: 0;
    }
    .home-main {
        margin-top: 0;
    }
}