#Reserveringsformulier{
    margin: 3rem 0;
}

#reserve-text-section{
    height: 65vh;
    width: 100%;
    background-image: url("../img/LogoTaxiElst.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

#reserve-text-section::before{
    content: "";
    height: 100%;
    background-color: rgb(88, 88, 88);
    opacity: 0.6;
    position: absolute;
    width: 100%;
    z-index: -1;
}

#reservation-form{
    margin: 3rem 0;
}

.form-group{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 70%;
    margin: 0 auto;
}

.form-control, .form-group select, .form-group option{
    background-color: #ffffff; /* White background */
    border: 1px solid #cccccc; 
    font-size: 18px; /* Reduced from 25px for better proportion */
    padding: 1rem; /* Increased padding for better touch targets */
    border-radius: 8px; /* More rounded corners */
    margin: 0.5rem;
    color: #000000 !important;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease; /* Smooth transitions */
    width: 100%; /* Full width for modern form design */
    box-sizing: border-box; /* Include padding in width */
}

/* Modern form styling - like second design */
.form-control::placeholder {
    color: #666666 !important;
    text-shadow: none;
}

/* Hover effects */
.form-control:hover, .form-group select:hover {
    border-color: #FFD700;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

/* Focus effects (from first design) */
input:focus, select:focus, option:focus, textarea:focus {
    border: 2px solid #FFD700 !important;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7); /* Stronger glow */
    transform: translateY(-2px); /* Lift effect */
}

.form-heading{
    width: 70%;
    margin: 3rem auto 0.5rem auto;
    text-align: center;
    font-size: 2.2rem;
    color: #333;
}

/* Modern form layout - adjusted sizes */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Individual field sizing - more balanced */
#Naam, #email, #pickup-location, #dropoff {
    width: 100%; /* Full width for important fields */
}

#phone, #luggage, #Ophaaldatum, #Gender {
    flex: 1;
    min-width: 200px;
}

/* Submit button styling */
.form-submit-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto;
    width: 200px;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #00FFFF 0%, #0099CC 100%);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 255, 255, 0.3);
}

@media(max-width:600px){
    .heading-text {
        font-size: 1.9rem;
        margin: 1rem 0;
    }  
    
    .form-group {
        width: 95%; /* More margin on mobile */
        padding: 0 1rem;
    }
    
    #reserve-text-section {
        height: 50vh; /* Smaller on mobile */
    }
    
    .form-control, .form-group select, .form-group option {
        font-size: 16px;
        padding: 0.8rem;
        color: #000000 !important;
        text-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
    }
    
    /* Stack all fields on mobile */
    #Naam, #email, #phone, #Gender, 
    #Ophaaldatum, #pickup-location, #luggage, #dropoff {
        width: 100% !important;
        margin: 0.5rem 0;
    }
    
    .form-submit-btn {
        width: 100%;
        padding: 1rem;
    }
}