/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header - nowoczesny hero z tłem */
.hero-header {
    position: relative;
    height: 45vh;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.7), rgba(74, 124, 89, 0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding: 2rem 0;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.hero-content .subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* Responsywność headera */
@media (max-width: 768px) {
    .hero-header {
        height: 38vh;
        min-height: 250px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content .subtitle {
        font-size: 1.1rem;
    }
}

/* Main content */
main {
    padding: 2rem 0;
}

/* Style dla niedostępnych dat */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
}

.date-unavailable {
    background-color: #ffebee !important;
    color: #c62828 !important;
    cursor: not-allowed !important;
}

.booking-form .date-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 0.9rem;
}

.booking-provider {
    text-align: center;
    margin: 15px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.booking-provider p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.provider-logo {
    max-height: 40px;
    max-width: 200px;
    height: auto;
    width: auto;
}

/* Sekcje */
section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #2c5530;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #4a7c59;
    padding-bottom: 0.5rem;
}

/* Karuzela */
.carousel-container {
    position: relative;
    margin-bottom: 1rem;
}

.carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.carousel-images {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-images img.active {
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background 0.3s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

/* Kropki karuzeli */
.carousel-dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #4a7c59;
}

/* Siatka informacji */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.info-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #4a7c59;
}

.info-card h3 {
    color: #2c5530;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    padding: 0.3rem 0;
    border-bottom: 1px solid #e9ecef;
}

.info-card li:last-child {
    border-bottom: none;
}

/* Sekcja opisu lokalizacji */
.location-info p {
    margin-bottom: 1rem;
    text-align: justify;
    line-height: 1.8;
}

/* Sekcja rezerwacji */
.booking-section {
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    color: white;
}

.booking-section h2 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.booking-card {
    max-width: 500px;
    margin: 0 auto;
}

.price-info {
    text-align: center;
    margin-bottom: 2rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
}

.price-period {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-left: 0.5rem;
}

.booking-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.input-group input,
.guests-input select {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
    color: #333;
}

.guests-input {
    margin-bottom: 1.5rem;
}

.guests-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.booking-btn {
    width: 100%;
    background: #ff6b35;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.booking-btn:hover {
    background: #e55a2b;
}

.booking-info {
    text-align: center;
    opacity: 0.9;
}

/* Dodatkowe usługi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid #4a7c59;
}

.service-item h4 {
    color: #2c5530;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: #2c5530;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsywność */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .carousel-images {
        height: 250px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .date-inputs {
        grid-template-columns: 1fr;
    }

    .price {
        font-size: 2rem;
    }

    .carousel-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
}