/* Studio Booking System Styles */

/* Language Toggle */
.lang-toggle-item {
    margin-left: 15px;
}

.lang-toggle-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
    background: #fff;
    color: #000;
}

/* Arabic text direction */
body.ar {
    direction: rtl;
    text-align: right;
}

body.ar .lang-toggle-btn {
    border-color: #000;
    color: #000;
}

body.ar .lang-toggle-btn:hover {
    background: #000;
    color: #fff;
}

/* Floating Book Now Button */
.floating-book-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

body.ar .floating-book-btn {
    right: auto;
    left: 30px;
}

/* Booking Modal */
.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
}

body.ar .booking-modal-close {
    right: auto;
    left: 20px;
}

.booking-modal h2 {
    margin-bottom: 25px;
    color: #333;
}

.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.booking-form-group input,
.booking-form-group select,
.booking-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.booking-form-group input:focus,
.booking-form-group select:focus,
.booking-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.booking-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.booking-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.booking-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Success Message */
.booking-success {
    text-align: center;
    padding: 30px;
}

.booking-success .checkmark {
    font-size: 50px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.booking-success h3 {
    color: #333;
    margin-bottom: 10px;
}

.booking-success p {
    color: #666;
}

/* Contact Page Form Override */
.contact-booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-booking-form .full-width {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .contact-booking-form {
        grid-template-columns: 1fr;
    }
    
    .floating-book-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    body.ar .floating-book-btn {
        right: auto;
        left: 20px;
    }
    
    .booking-modal-content {
        padding: 25px;
    }
}