/* luxury-booking.css - v1.0 */
/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --gold-primary: #8B7355;
    --gold-light: #D4A574;
    --gold-dark: #69523C;
    --cream-bg: #FAF8F5;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-deep: 0 20px 60px rgba(139, 115, 85, 0.15);
}

/* =========================================
   Luxury Booking Section Layout
   ========================================= */
.booking-section-luxury {
    background: var(--cream-bg);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.booking-luxury-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* Left Content */
.booking-luxury-content {
    flex: 1;
    max-width: 500px;
}

.luxury-label {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--gold-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.booking-luxury-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.booking-luxury-content p {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.luxury-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.luxury-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.luxury-feature-item svg {
    color: var(--gold-primary);
    min-width: 20px;
}

/* Right Content (Card) */
.booking-luxury-card-wrapper {
    flex: 1;
    max-width: 500px;
    position: relative;
}

/* Floating Card Effect */
.booking-luxury-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(139, 115, 85, 0.1);
    position: relative;
    z-index: 10;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-box .from {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.price-box .amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    font-weight: 600;
}

.price-box .unit {
    font-size: 1rem;
    color: var(--text-light);
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    color: var(--gold-primary);
}

.rating-badge svg {
    fill: currentColor;
    width: 14px;
    height: 14px;
}

/* Form Styles */
.luxury-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.luxury-input-group {
    position: relative;
    border: 1px solid #E5E5E5;
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    background: #FAFAFA;
}

.luxury-input-group:focus-within {
    border-color: var(--gold-primary);
    background: var(--white);
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.1);
}

.luxury-input-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.luxury-input-group input,
.luxury-input-group select {
    width: 100%;
    border: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
    outline: none;
    padding: 0;
    cursor: pointer;
}

.date-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.guests-row {
    display: grid;
    grid-template-columns: 1fr;
    /* Full width for better mobile target */
}

/* Button */
.btn-luxury-submit {
    width: 100%;
    background: var(--gold-primary);
    color: var(--white);
    border: none;
    padding: 1.25rem;
    border-radius: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.btn-luxury-submit:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 115, 85, 0.3);
}

/* =========================================
   Calendar Theme (Integrated)
   ========================================= */
.flatpickr-calendar {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.15) !important;
    border: 1px solid rgba(139, 115, 85, 0.1) !important;
    padding: 24px !important;
    width: auto !important;
    background: #fff !important;
    animation: fadeInScale 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Clean spacing between months */
.flatpickr-months .flatpickr-month {
    flex: 1 !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.endRange {
    background: var(--gold-primary) !important;
    border-color: var(--gold-primary) !important;
    font-weight: 700;
}

.flatpickr-day.inRange {
    background: var(--cream-bg) !important;
    border-color: transparent !important;
    color: var(--gold-primary) !important;
    box-shadow: -5px 0 0 var(--cream-bg), 5px 0 0 var(--cream-bg) !important;
}

/* ... (Keep other essential calendar styles simpler) ... */
.flatpickr-current-month {
    color: var(--gold-primary) !important;
}

.flatpickr-weekday {
    color: #999 !important;
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 992px) {
    .booking-luxury-container {
        flex-direction: column;
        padding: 0 1.5rem;
        gap: 3rem;
    }

    .booking-luxury-content,
    .booking-luxury-card-wrapper {
        max-width: 100%;
        width: 100%;
    }

    .booking-luxury-content h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .booking-section-luxury {
        padding: 4rem 0;
    }

    .booking-luxury-card {
        padding: 1.5rem;
        /* Space saving */
        border-radius: 24px;
    }

    .card-header {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 1rem;
    }

    .rating-badge {
        align-self: flex-start;
    }

    .price-box .amount {
        font-size: 2rem;
    }

    /* Stack Date Inputs */
    .date-row {
        grid-template-columns: 1fr;
    }

    /* Make inputs larger touch targets */
    .luxury-input-group {
        padding: 1rem;
    }

    .luxury-input-group input {
        font-size: 1.2rem;
        /* Larger text */
        height: 1.5rem;
    }

    /* Calendar Mobile Fixes */
    .flatpickr-calendar {
        width: 320px !important;
        /* Fixed width for small screens */
        padding: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .dayContainer {
        min-width: 300px !important;
        width: 300px !important;
    }

    span.flatpickr-day {
        height: 40px !important;
        line-height: 40px !important;
    }
}