/* ===========================
   BOOKING FORM STYLES
   =========================== */

/* Booking Header */
.booking-header {
    background: white;
    padding: var(--spacing-xs) 0;
    /* Reduced from spacing-sm */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    max-width: 225px;
    /* Reduced from 450px */
    height: 75px;
    /* Reduced from 150px */
    display: block;
    margin: 0 auto;
    /* Center the logo */
    object-fit: cover;
    object-position: center;
    /* Crop only top and bottom to remove frame */
    clip-path: inset(18% 0% 18% 0%);
}

.logo-link {
    display: block;
    text-align: center;
}

/* Booking Section */
.booking-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #f8faf9 0%, #ffffff 100%);
    min-height: calc(100vh - 200px);
}

.booking-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(45, 95, 63, 0.1);
}

.booking-header-text {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.booking-header-text h1 {
    color: var(--primary-green);
    margin-bottom: var(--spacing-sm);
}

.booking-header-text p {
    color: var(--text-medium);
    font-size: 1.1rem;
}

/* Form Styles */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 3px rgba(74, 139, 92, 0.1);
}

input:disabled,
select:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    display: none;
    margin-top: -0.25rem;
}

.info-message {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Form Actions */
.form-actions {
    margin-top: var(--spacing-sm);
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(45, 95, 63, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(45, 95, 63, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Spinner */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-top: var(--spacing-md);
    font-weight: 500;
    line-height: 1.6;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

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

/* Responsive */
@media (max-width: 768px) {
    .booking-container {
        padding: var(--spacing-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .header-logo {
        max-width: 150px;
    }
}