/* Booking Tabs Styles */
.booking-wrapper {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 10;
}

.booking-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    gap: 10px;
}

.tab-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}

.tab-btn.active {
    background: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.booking-container {
    /* Existing styles, just removing positioning as it's now handled by wrapper */
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Rest of the existing CSS... */
.booking-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

/* Ensure hidden forms don't take up space */
.booking-form:not(.active) {
    display: none;
}

/* Split Date/Time Inputs */
.form-row-split {
    flex: 1.5;
    display: flex;
    align-items: center;
    gap: 0;
}

.form-row-split .form-group {
    padding: 0 10px;
    margin-bottom: 0;
    border-bottom: 2px solid transparent;
}

.form-row-split .form-divider {
    height: 20px;
    margin: 0 5px;
}

@media (max-width: 991px) {
    .form-row-split {
        flex-direction: row;
        width: 100%;
        gap: 0;
    }
    .form-row-split .form-group {
        width: 50%;
        border-bottom: 1px solid #eee;
    }
}


.form-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    position: relative;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

/* Hata Durumu */
.form-group.error {
    border-bottom-color: #ff4d4d;
    animation: shake 0.4s ease-in-out;
}

.form-group.error .icon {
    color: #ff4d4d;
}

.form-group.error input::placeholder {
    color: #ff4d4d;
    opacity: 0.7;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group .icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.8;
    transition: color 0.3s;
}

.form-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    outline: none;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.form-group input::placeholder {
    color: #666;
    font-weight: 400;
    transition: color 0.3s;
}

/* Divider */
.form-divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
}

/* Submit Button */
.btn-booking {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s;
    font-size: 1.2rem;
}

.btn-booking:hover {
    transform: scale(1.05);
    background-color: var(--secondary-color);
}

/* Responsive adjustments for Tabs */
@media (max-width: 991px) {
    .booking-wrapper {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 20px 15px;
        background: transparent;
        margin-top: -100px; /* Hero görselinin üzerine çıkması için */
        z-index: 10;
    }
    
    .booking-container {
        border-radius: 20px;
        padding: 1.5rem;
        background: white; /* Mobilde tam opak olsun */
    }

    .booking-form {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 10px;
        margin-bottom: 5px;
    }

    .form-divider {
        display: none;
    }

    .btn-booking {
        width: 100%;
        border-radius: 12px;
        margin-top: 10px;
        height: 55px;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 1rem;
        letter-spacing: 1px;
    }

    /* Tab butonlarını da mobile uygun hale getirelim */
    .booking-tabs {
        margin-bottom: 10px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}
