/* Booking Section */
.booking-section {
    background-color: #0B0B0B;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Booking Info Modern */
.booking-info-modern {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.booking-info-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.booking-info-modern .info-header {
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.booking-info-modern .info-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.booking-info-modern h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Info Card */
.info-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card-header h4 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    display: inline-block;
    margin: 0;
}

/* Feature Items */
.feature-item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.1);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: #D4AF37;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.feature-content h5 {
    color: #fff;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Pricing Info */
.pricing-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-info h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.price-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.price-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.package {
    color: #fff;
    font-weight: 500;
}

.price {
    color: #D4AF37;
    font-weight: 600;
}

/* Booking Form Container */
.booking-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.booking-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Form Header */
.form-header h3 {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Form Progress */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid #D4AF37;
    color: #D4AF37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: #D4AF37;
    color: #1a1a1a;
}

.progress-step.completed .step-number {
    background: #D4AF37;
    color: #1a1a1a;
    border-color: #D4AF37;
}

.step-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.3s ease;
}

.progress-step.active .step-label,
.progress-step.completed .step-label {
    color: #fff;
    font-weight: 500;
}

.progress-connector {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
    position: relative;
}

.progress-connector::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.progress-step.completed + .progress-connector::after {
    width: 100%;
}

/* Form Groups */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Date Input Styling */
input[type="text"].date-picker {
    background-color: #0B0B0B;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f0f0f0;
    transition: all 0.3s ease;
}

input[type="text"].date-picker::placeholder {
    color: #D4AF37;
    opacity: 0.7;
    transition: all 0.3s ease;
}

input[type="text"].date-picker:focus::placeholder {
    opacity: 0.5;
}

input[type="text"].date-picker:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-control,
.form-select {
    width: 100%;
    padding: 1rem 1rem 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
    outline: none;
    background: rgba(255, 255, 255, 0.05);
}

.form-control::placeholder {
    color: transparent;
}

.form-control:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Floating Labels */
.form-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.2s ease;
    background: transparent;
    padding: 0 0.5rem;
    margin: 0;
    transform-origin: left center;
}

.form-control:focus ~ label,
.form-control:not(:placeholder-shown) ~ label,
.form-select:not([value=""]) ~ label,
.form-select:focus ~ label {
    top: 0.5rem;
    transform: translateY(0) scale(0.85);
    color: #D4AF37;
    background: #0B0B0B;
    padding: 0 0.5rem;
}

/* For select elements that don't support :placeholder-shown */
.form-select ~ label {
    top: 0.5rem;
    transform: translateY(0) scale(0.85);
    background: #0B0B0B;
    padding: 0 0.5rem;
}

.form-select option {
    background: #1a1a1a;
    color: #fff;
    padding: 0.5rem;
}

/* Textarea specific styles */
textarea.form-control {
    min-height: 100px;
    padding-top: 1.5rem;
}

textarea.form-control ~ label {
    top: 1rem;
}

textarea.form-control:focus ~ label,
textarea.form-control:not(:placeholder-shown) ~ label {
    top: 0.5rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-gold {
    background: #D4AF37;
    color: #1a1a1a;
    border: none;
}

.btn-gold:hover {
    background: #c9a227;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline-gold {
    border: 1px solid #D4AF37;
    color: #D4AF37;
    background: transparent;
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #D4AF37;
    border-color: #D4AF37;
}

/* Success Message */
#bookingSuccess {
    display: none;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

#bookingSuccess h3 {
    color: #fff;
    margin-bottom: 1rem;
}

#bookingSuccess p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation */
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875em;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip,
.form-control.is-invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-tooltip {
    display: block;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Required field indicator */
.required {
    color: #dc3545;
    margin-left: 0.25rem;
}

/* Spinner */
.spinner-border {
    display: none;
    margin-left: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

.btn.loading .spinner-border {
    display: inline-block;
}

.btn.loading .submit-text {
    margin-right: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .booking-info-modern,
    .booking-form-container {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 0.75rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .form-progress {
        margin: 1.5rem 0;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .booking-info-modern,
    .booking-form-container {
        padding: 1.5rem !important;
    }
    
    .info-card {
        padding: 1.25rem;
    }
    
    .feature-content h5 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* Animation for form elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apply animation to form steps */
.form-step {
    animation: fadeInUp 0.5s ease forwards;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Form Header */
.form-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--muted-text);
    font-size: 0.95rem;
}

.divider-gold {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 1.5rem 0;
}

/* Progress Steps */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--primary-gold);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    transition: var(--transition);
}

.progress-step.active {
    background: var(--primary-gold);
    color: #1a1a1a;
}

.progress-connector {
    flex: 1;
    height: 2px;
    background: rgba(212, 175, 55, 0.3);
    max-width: 40px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

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

/* Floating Labels */
.floating-label {
    position: relative;
    padding-top: 1.5rem;
}

.floating-label label {
    position: absolute;
    top: 2.2rem;
    left: 0.75rem;
    color: var(--muted-text);
    font-size: 0.9rem;
    pointer-events: none;
    transform-origin: 0 0;
    transition: var(--transition);
    padding: 0 0.25rem;
    background: var(--dark-bg);
    z-index: 1;
}

.floating-label .form-control:focus ~ label,
.floating-label .form-control:not(:placeholder-shown) ~ label {
    top: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary-gold);
    transform: translateY(0);
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--form-border);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 2px var(--form-focus);
    outline: none;
}

/* Form Icons */
.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gold);
    font-size: 1rem;
    transition: var(--transition);
}

.floating-label .form-icon {
    top: 3.2rem;
}

/* Select Dropdown */
.select-group {
    position: relative;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary-gold);
}

.form-select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

/* Textarea */
textarea.form-control {
    min-height: 120px;
    resize: vertical;
    padding: 1.5rem 1rem 1rem 1rem;
}

/* Checkbox */
.custom-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 2rem;
    cursor: pointer;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--form-border);
    border-radius: 4px;
    transition: var(--transition);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: var(--primary-gold);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Submit Button */
.btn-modern-gold {
    background: linear-gradient(135deg, var(--primary-gold), #c9a227);
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-modern-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-modern-gold .btn-icon {
    transition: transform 0.3s ease;
}

.btn-modern-gold:hover .btn-icon {
    transform: translateX(5px);
}

/* Invalid Feedback */
.invalid-feedback {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #ff6b6b;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ff6b6b'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ff6b6b' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem);
}

/* Responsive */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-booking-form {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}
