/* Booking Widget Styles */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(26, 26, 26, 0.9));
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.booking-modal-content {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 35px;
    border-bottom: 3px solid rgba(76, 175, 80, 0.3);
    background: linear-gradient(135deg, #4CAF50 0%, #2e7d32 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.3);
}

.booking-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.booking-header h2 i {
    margin-right: 12px;
    color: #fff;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.close-booking-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.close-booking-modal:hover {
    background: rgba(255, 255, 255, 0.1);
}

#bookingForm {
    padding: 30px;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #4CAF50;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    font-style: italic;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1), 0 5px 15px rgba(76, 175, 80, 0.2);
    transform: translateY(-2px);
}

.form-group input:required:invalid {
    border-color: #e0e0e0;
}

.form-group input:required:valid {
    border-color: #4CAF50;
}

.form-group select {
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    border-left: 5px solid #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.15);
}

.booking-summary h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.booking-summary h3:before {
    content: "📋";
    margin-right: 10px;
}

.summary-items {
    display: grid;
    gap: 8px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.2);
}

.summary-item i {
    color: #4CAF50;
    font-size: 1.2rem;
    min-width: 20px;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item strong {
    color: #2c3e50;
    min-width: 80px;
    font-size: 0.9rem;
}

.summary-item span {
    color: #555;
    flex: 1;
}

/* Booking Actions */
.booking-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.booking-actions .btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.booking-actions .btn.primary {
    background: linear-gradient(135deg, #4CAF50 0%, #2e7d32 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    position: relative;
    overflow: hidden;
}

.booking-actions .btn.primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.booking-actions .btn.primary:hover::before {
    width: 300px;
    height: 300px;
}

.booking-actions .btn.primary:hover {
    background: linear-gradient(135deg, #45a049 0%, #2e7d32 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
}

.booking-actions .btn.secondary {
    background: #6c757d;
    color: white;
}

.booking-actions .btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.booking-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Book Now Button Styles */
.book-now-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
}

.book-now-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.book-now-btn i {
    font-size: 1.2rem;
}

/* Floating Book Button */
.floating-book-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-book-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}

.floating-book-btn::before {
    content: "Book Now";
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-book-btn:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-modal {
        padding: 10px;
    }
    
    .booking-modal-content {
        max-height: 95vh;
    }
    
    .booking-header {
        padding: 20px;
    }
    
    .booking-header h2 {
        font-size: 1.3rem;
    }
    
    #bookingForm {
        padding: 20px;
    }
    
    .booking-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .booking-actions {
        flex-direction: column;
    }
    
    .booking-actions .btn {
        width: 100%;
    }
    
    .floating-book-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .floating-book-btn::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .booking-header {
        padding: 15px;
    }
    
    #bookingForm {
        padding: 15px;
    }
    
    .booking-summary {
        padding: 15px;
    }
    
    .summary-item {
        flex-direction: column;
        gap: 4px;
    }
    
    .summary-item strong {
        min-width: auto;
    }
}

/* Animation for form validation */
.form-group input.error,
.form-group select.error {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success state */
.form-group input.success,
.form-group select.success {
    border-color: #28a745;
}

/* Loading state for submit button */
.booking-actions .btn.loading {
    position: relative;
    color: transparent;
}

.booking-actions .btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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