/* booking-form.css - Styles for booking forms across the site */
.availability-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.calendar-container {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.booking-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c5530;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-control:focus {
    border-color: #2c5530;
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
    transform: translateY(-2px);
}

.btn-book {
    background: #2c5530;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: bold;
}

.btn-book:hover:not(:disabled) {
    background: #739e82;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 85, 48, 0.3);
}

.btn-book:disabled {
    background: #adb5bd;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.legend-item:hover {
    transform: translateY(-2px);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.legend-available { background: white; }
.legend-booked { background: #f8d7da; }
.legend-selected { background: #2c5530; }
.legend-in-range { background: #739e82; }
.legend-past { background: #f8f9fa; }

.price-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
    animation: priceSummaryFadeIn 0.5s ease-out;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
    transition: all 0.3s ease;
}

.price-item:hover {
    background: rgba(255,255,255,0.5);
    border-radius: 5px;
    padding: 5px 10px;
}

.price-total {
    font-weight: bold;
    border-top: 1px solid #dee2e6;
    padding-top: 10px;
    margin-top: 10px;
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    animation: messageSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.form-message.success {
    background: #d1edff;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes priceSummaryFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (max-width: 768px) {
    .calendar-legend {
        gap: 15px;
    }
    
    .availability-section {
        padding: 40px 0;
    }
    
    .calendar-container,
    .booking-form {
        padding: 20px;
    }
}