/* ===== REDESIGNED BOOKING FORM - LUXURIOUS & ELEGANT ===== */

.booking-section {
    background: linear-gradient(135deg, #1a1410 0%, #2c2416 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><path d="M0 0h80v80H0z" fill="none"/><path d="M0 0l40 40M40 0l40 40M0 40l40 40M40 40l40 40" stroke="rgba(212,175,55,0.03)" stroke-width="0.5"/></svg>');
    opacity: 0.3;
}

.booking-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
    background: linear-gradient(135deg, #2c2416 0%, #1a1410 100%);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(212, 175, 55, 0.1);
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.booking-form::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #27AE9C, #5BC4B6, #27AE9C);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

/* Form Rows */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

/* Form Groups */
.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #5BC4B6;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.form-group label::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5BC4B6, #27AE9C);
    margin-left: 8px;
    transition: width 0.3s ease;
    vertical-align: middle;
}

.form-group:focus-within label::after {
    width: 30px;
}

/* Inputs & Selects - Luxurious Style */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e8dcc4;
    background: linear-gradient(to bottom, #ffffff 0%, #fdfbf7 100%);
    color: #2c2416 !important;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 36, 22, 0.4) !important;
    font-weight: 400;
}

/* Focus State - Golden Glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none !important;
    border-color: #27AE9C !important;
    background: #ffffff !important;
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.1),
        0 4px 12px rgba(212, 175, 55, 0.15),
        inset 0 2px 4px rgba(212, 175, 55, 0.05) !important;
    transform: translateY(-2px);
}

/* Hover State */
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #27AE9C;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.1);
}

/* Select Arrow */
.form-group select {
    appearance: none;
    background-image: linear-gradient(to bottom, #ffffff 0%, #fdfbf7 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat, no-repeat;
    background-position: center, right 12px center;
    background-size: 100%, 24px;
    padding-right: 45px;
    cursor: pointer;
}

.form-group select:focus {
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23D4AF37"><path d="M7 10l5 5 5-5z"/></svg>');
}

/* Select Options */
.form-group select option {
    background: white;
    color: #2c2416;
    padding: 12px;
    font-weight: 500;
}

.form-group select optgroup {
    font-weight: 700;
    color: #27AE9C;
    font-style: normal;
}

/* Textarea */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Submit Button - Premium Design */
.booking-form .cta-primary {
    width: 100%;
    margin-top: 30px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #27AE9C 0%, #5BC4B6 50%, #27AE9C 100%);
    background-size: 200% 100%;
    color: #1a1410;
    border: none;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 6px 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.booking-form .cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.booking-form .cta-primary:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.booking-form .cta-primary:hover::before {
    left: 100%;
}

.booking-form .cta-primary:active {
    transform: translateY(-1px);
    box-shadow:
        0 4px 15px rgba(212, 175, 55, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Icon in Button */
.booking-form .cta-primary i {
    margin-right: 12px;
    font-size: 1.3rem;
    vertical-align: middle;
}

/* Payment Plan Info - Enhanced */
.payment-plan-info {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.08) 100%);
    padding: 25px 30px;
    border-radius: 12px;
    border-left: 5px solid #5BC4B6;
    margin-bottom: 30px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.payment-icon {
    font-size: 2.5rem;
    color: #5BC4B6;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.3));
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.payment-text strong {
    color: #5BC4B6;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.payment-text p {
    color: #e8dcc4;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Required Field Indicator */
.form-group label span {
    color: #27AE9C;
    font-weight: 700;
}

/* Disabled State */
.form-group input:disabled,
.form-group select:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-form {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-form .cta-primary {
        padding: 18px 30px;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .payment-plan-info {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
}

/* Loading State (optional) */
.booking-form.loading .cta-primary {
    background: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.booking-form.loading .cta-primary::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinner 0.6s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
