/* Mobile Quick Booking Form Styles */
@media (max-width: 767px) {
    /* Make the booking form more compact and eye-catching */
    .hero-section .container {
        padding: 0 10px;
    }

    .hero-section .quick-booking-card {
        padding: 12px !important;
        margin: 0 5px;
        border-radius: 12px;
        border: none;
    }
    
    .hero-section h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
        padding-bottom: 5px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        color: var(--primary-color);
    }
    
    /* Reduce space between form elements */
    .mobile-compact-form .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.15rem;
        font-weight: 600;
    }
    
    .mobile-compact-form .mb-3 {
        margin-bottom: 0.4rem !important;
    }
    
    /* Make input elements smaller */
    .mobile-compact-form .form-control, 
    .mobile-compact-form .form-select,
    .mobile-compact-form .input-group-text {
        padding: 6px 8px;
        font-size: 0.85rem;
        height: auto;
    }
    
    .mobile-compact-form .input-group-text {
        padding: 0 8px;
    }
    
    /* Make the guests selection even more compact */
    .mobile-compact-form #guests-row {
        display: flex;
        flex-wrap: nowrap;
        margin: 0 -2px;
    }
    
    .mobile-compact-form #guests-row .col {
        padding: 0 2px;
    }
    
    /* Tabs for date selection to save vertical space */
    .mobile-compact-form .dates-tabs {
        display: flex;
        margin-bottom: 0.5rem;
    }
    
    .mobile-compact-form .dates-tabs .date-tab {
        flex: 1;
        text-align: center;
        padding: 5px;
        background: #f0f0f0;
        cursor: pointer;
        font-size: 0.8rem;
        font-weight: 500;
        color: #555;
        border-radius: 4px 4px 0 0;
        border: 1px solid #ddd;
        border-bottom: none;
    }
    
    .mobile-compact-form .dates-tabs .date-tab.active {
        background: #fff;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    /* Make the stay type radios more compact and modern */
    .mobile-compact-form .form-check {
        margin-right: 0;
        padding-right: 1.5rem;
        display: inline-block;
    }
    
    /* Make the submit button smaller but stand out more */
    .mobile-compact-form .btn-lg {
        padding: 8px 15px;
        font-size: 0.95rem;
        margin-top: 5px;
    }
    
    /* Reduce spacing in form sections */
    .mobile-compact-form .row {
        margin-left: -3px;
        margin-right: -3px;
    }
    
    .mobile-compact-form .row > div {
        padding-left: 3px;
        padding-right: 3px;
    }
}

/* Extra small devices */
@media (max-width: 575px) {
    .hero-section .display-4 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .mobile-compact-form .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Stack rooms, adults, children on top of each other for extra small screens */
    .mobile-compact-form .guests-label {
        margin-bottom: 5px;
        display: block;
    }
    
    .mobile-compact-form #guests-row .col + .col {
        margin-top: 5px;
    }
}