/* Modal z podziękowaniem - dostosowany do stylu strony */
.modal-thankyou {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 20, 30, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    backdrop-filter: blur(4px);
}
.modal-thankyou .modal-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #fff;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    min-width: 280px;
    max-width: 90vw;
    position: relative;
    backdrop-filter: blur(10px);
}
.modal-thankyou h2 {
    margin-top: 0;
    color: #ffffff;
    letter-spacing: 0.15rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}
.modal-thankyou p {
    color: #fff;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0;
    letter-spacing: 0.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}
.close-modal {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
body.modal-open {
    overflow: hidden;
}
/* --- Kontakt Nowy Układ --- */
.contact-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.contact-section .contact-form,
.contact-section .contact-details {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.contact-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.contact-form .field {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form ul.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
}

.contact-form ul.actions li {
    flex: 1;
}

.contact-form ul.actions input[type="submit"],
.contact-form ul.actions input[type="reset"] {
    width: 100%;
    height: 100%;
}

.contact-form .primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-form .primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@media screen and (min-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
    .contact-section .contact-form,
    .contact-section .contact-details {
        width: 100%;
    }
}

.contact-details, .contact-form {
    width: 100%;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
/* Via Ferrata Equipment Rental - Custom Styles */

/* Alert boxes */
.alert-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    backdrop-filter: blur(10px);
}

/* Equipment section */
.equipment-info {
    margin-top: 2rem;
}

.equipment-item {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.equipment-item h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.equipment-item ul {
    margin: 1rem 0;
}

.equipment-item li {
    margin: 0.5rem 0;
    padding-left: 0.5rem;
}

/* Equipment images */
.equipment-image {
    margin: 1.5rem 0;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equipment-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.equipment-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* Responsive design for equipment images */
@media screen and (min-width: 768px) {
    .equipment-image {
        margin: 2rem 0;
        padding: 1.5rem;
        height: 320px;
    }
}

@media screen and (min-width: 1024px) {
    .equipment-image {
        height: 360px;
    }
}

.sizes {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.optional-equipment {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
}

.safety-note {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.safety-note h3 {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Pricing section */
.pricing-info {
    margin-top: 2rem;
}

.pricing-table {
    margin: 2rem 0;
}

.pricing-table .highlight {
    background: rgba(255, 255, 255, 0.1);
}

.savings {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.price-calculator {
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-form .field {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calculator-form input[type="number"] {
    width: 100px;
}

.calculator-form .result {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    text-align: center;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pricing-notes {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(10px);
}

/* Reservation system */
.reservation-system {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
}

@media screen and (min-width: 1200px) {
    .reservation-system {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto;
    }
}

.calendar-section, .booking-form-section {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Calendar legend */
.calendar-legend {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.legend-color.available {
    background: #4CAF50;
}

.legend-color.booked {
    background: #f44336;
}

.legend-color.unavailable {
    background: #9e9e9e;
}

/* Calendar */
.calendar-container {
    margin-top: 1rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.calendar-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.calendar-nav {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.calendar-nav:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.calendar-nav:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 45px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.day-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.day-number {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1;
}

.available-count {
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 3px;
    border-radius: 10px;
    padding: 2px 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1;
    min-width: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.available-count.count-zero {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    border: 1px solid #c62828;
    color: white;
}

.available-count.count-low {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    border: 1px solid #ef6c00;
    color: white;
}

.available-count.count-medium {
    background: linear-gradient(135deg, #ffc107 0%, #ffa000 100%);
    border: 1px solid #ff8f00;
    color: #333;
}

.available-count.count-high {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    border: 1px solid #2e7d32;
    color: white;
}

.calendar-day:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calendar-day.available {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.4) 0%, rgba(76, 175, 80, 0.2) 100%);
    border-color: #4CAF50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.calendar-day.booked {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.4) 0%, rgba(244, 67, 54, 0.2) 100%);
    border-color: #f44336;
    cursor: not-allowed;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.calendar-day.unavailable {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.3) 0%, rgba(158, 158, 158, 0.1) 100%);
    border-color: #9e9e9e;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.selected {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.6) 0%, rgba(33, 150, 243, 0.3) 100%);
    border-color: #0b6dbe;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
    font-weight: bold;
}

.calendar-day.other-month {
    opacity: 0.4;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.calendar-day.today {
    font-weight: bold;
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.3) 0%, rgba(33, 150, 243, 0.2) 100%);
    border: 2px solid transparent;
    border-image: linear-gradient(45deg, #00C853, #2196F3) 1;
    box-shadow: 0 0 20px rgba(0, 150, 136, 0.4), 0 0 30px rgba(33, 150, 243, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.calendar-day.today.available {
    /* Dzisiejsza data (dostępna) - wyrazisty zielony z niebieskim akcentem */
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.5) 0%, rgba(76, 175, 80, 0.4) 50%, rgba(33, 150, 243, 0.3) 100%);
    border: 2px solid #00C853;
    box-shadow: 0 0 25px rgba(0, 200, 83, 0.6), 0 0 35px rgba(33, 150, 243, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
}

.calendar-day.today.available:hover {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.6) 0%, rgba(76, 175, 80, 0.5) 50%, rgba(33, 150, 243, 0.4) 100%);
    box-shadow: 0 0 30px rgba(0, 200, 83, 0.7), 0 0 40px rgba(33, 150, 243, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: scale(1.03);
}

/* Dzisiejsza data, gdy jest wybrana przez klienta - intensywny niebieski z zielonym akcentem */
.calendar-day.today.selected {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.7) 0%, rgba(30, 136, 229, 0.6) 50%, rgba(0, 200, 83, 0.4) 100%);
    border: 2px solid #2196F3;
    box-shadow: 0 0 30px rgba(33, 150, 243, 0.8), 0 0 40px rgba(0, 200, 83, 0.5), 0 6px 20px rgba(0, 0, 0, 0.4);
    transform: scale(1.08);
    font-weight: bold;
    z-index: 10;
    position: relative;
}

.calendar-weekday {
    text-align: center;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border-radius: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Form input styling adjustments */
.booking-form-section input[type="text"],
.booking-form-section input[type="email"],
.booking-form-section input[type="number"],
.booking-form-section input[type="date"],
.booking-form-section select,
.booking-form-section textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem;
}

/* Hide number input spinners */
.booking-form-section input[type="number"]::-webkit-outer-spin-button,
.booking-form-section input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.booking-form-section input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.booking-form-section input::placeholder,
.booking-form-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Hide head circumference field */
.booking-form-section input[name="head_circumference"],
.booking-form-section select[name="head_circumference"],
.booking-form-section .field-head-circumference {
    display: none !important;
}

/* Add field for liczba kompletów */
.booking-form-section input[name="sets_count"],
.booking-form-section .field-sets-count {
    display: block;
}

/* Match Telefon field styling with Imię i Nazwisko */
.booking-form-section input[name="phone"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.75rem;
    width: 100%;
    border-radius: 4px;
}

/* Booking form */
.booking-summary {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item.total {
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.1rem;
}

/* Contact form styling adjustments */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.75rem;
    border-radius: 6px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Contact section */
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media screen and (max-width: 736px) {
    .contact-info {
        flex-direction: column;
    }
}

.contact-details {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.5rem;
}

.contact-item .icon {
    width: 20px;
    text-align: center;
}

.contact-form {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.social-media {
    margin-top: 2rem;
    text-align: center;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Info sections */
.info-sections {
    margin-top: 2rem;
}

.info-section {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.15rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.faq-item {
    margin: 1.5rem 0;
    padding: 1rem;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 6px 6px 0;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.faq-item p {
    margin: 0;
    opacity: 0.9;
}

/* Mobile-specific fixes for article containers */
@media screen and (max-width: 736px) {
    #main article {
        max-width: 100vw;
        overflow-x: hidden;
        padding: 2rem 1.5rem;
        box-sizing: border-box;
    }
    
    #main article#rezerwacja {
        padding: 1.5rem 1rem;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 736px) {
    .calculator-form .field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .calculator-form input[type="number"] {
        width: 100%;
    }
    
    .reservation-system {
        gap: 1rem;
        margin: 1rem 0;
        padding: 0;
    }
    
    .calendar-section, .booking-form-section {
        padding: 1rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calendar-grid {
        padding: 0.75rem;
        gap: 1px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calendar-day {
        min-height: 32px;
        font-size: 0.75rem;
    }
    
    .day-number {
        font-size: 0.75rem;
    }
    
    .available-count {
        font-size: 0.6rem;
        padding: 1px 4px;
        margin-top: 2px;
        min-width: 14px;
    }
    
    .calendar-header {
        padding: 0.75rem 1rem;
        margin-bottom: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .calendar-header h4 {
        font-size: 1rem;
        letter-spacing: 0.1rem;
    }
    
    .calendar-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .calendar-weekday {
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }
    
    .legend-item {
        font-size: 0.75rem;
    }
    
    .calendar-legend {
        justify-content: center;
        gap: 0.75rem;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 480px) {
    .reservation-system {
        gap: 0.75rem;
        margin: 0.5rem 0;
    }
    
    .calendar-section, .booking-form-section {
        padding: 0.75rem;
        border-radius: 6px;
    }
    
    .calendar-legend {
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .calendar-grid {
        padding: 0.5rem;
        gap: 1px;
        border-radius: 12px;
    }
    
    .calendar-day {
        min-height: 28px;
        font-size: 0.65rem;
        border-radius: 4px;
    }
    
    .day-number {
        font-size: 0.65rem;
    }
    
    .available-count {
        font-size: 0.55rem;
        padding: 1px 3px;
        margin-top: 1px;
        border-radius: 6px;
        min-width: 12px;
    }
    
    .calendar-header {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0.75rem;
        border-radius: 8px;
    }
    
    .calendar-header h4 {
        font-size: 0.9rem;
        letter-spacing: 0.05rem;
    }
    
    .calendar-nav {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
    
    .calendar-weekday {
        padding: 0.4rem 0.2rem;
        font-size: 0.65rem;
        border-radius: 4px;
    }
    
    .legend-item {
        font-size: 0.7rem;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
    }
}

/* Extra small screens */
@media screen and (max-width: 360px) {
    .reservation-system {
        gap: 0.5rem;
        margin: 0.25rem 0;
    }
    
    .calendar-section, .booking-form-section {
        padding: 0.5rem;
        border-radius: 4px;
    }
    
    .calendar-grid {
        padding: 0.25rem;
        border-radius: 8px;
    }
    
    .calendar-day {
        min-height: 24px;
        font-size: 0.6rem;
        border-radius: 3px;
    }
    
    .day-number {
        font-size: 0.6rem;
    }
    
    .available-count {
        font-size: 0.5rem;
        padding: 1px 2px;
        margin-top: 1px;
        border-radius: 4px;
        min-width: 10px;
    }
    
    .calendar-header {
        padding: 0.4rem 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }
    
    .calendar-header h4 {
        font-size: 0.8rem;
        letter-spacing: 0.05rem;
    }
    
    .calendar-nav {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        border-radius: 4px;
    }
    
    .calendar-weekday {
        padding: 0.3rem 0.1rem;
        font-size: 0.6rem;
        border-radius: 3px;
    }
    
    .legend-item {
        font-size: 0.65rem;
    }
    
    .legend-color {
        width: 12px;
        height: 12px;
    }
    
    .calendar-legend {
        gap: 0.4rem;
        margin-bottom: 0.5rem;
    }
}

/* Animation for calendar loading */
.calendar-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Form validation styles */
.field.error input,
.field.error select,
.field.error textarea {
    border-color: #f44336;
    box-shadow: 0 0 0 1px #f44336;
}

.field.error label {
    color: #f44336;
}

.error-message {
    color: #f44336;
    font-size: 0.7rem;
    margin-top: 0.5rem;
    display: block;
}

/* Success message */
.success-message {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
