/* ==================== Variables ==================== */
:root {
    --primary-color: #C87854;
    --secondary-color: #E8A87C;
    --dark-color: #1a1614;
    --darker-color: #0f0d0c;
    --light-color: #2a2520;
    --text-color: #e8e6e3;
    --text-light: #b8b6b3;
    --white: #ffffff;
    --success: #4CAF50;
    --error: #f44336;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

/* ==================== Reset ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--dark-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== Header ==================== */
.booking-header {
    background: var(--darker-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    font-family: 'Amiri', serif;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(232, 168, 124, 0.4);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.track-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.track-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 168, 124, 0.3);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--light-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    font-size: 14px;
    white-space: nowrap;
}

.back-btn:hover {
    background: var(--primary-color);
    transform: translateX(5px);
}

/* ==================== Hero Section ==================== */
.booking-hero {
    background: linear-gradient(135deg, var(--darker-color) 0%, var(--dark-color) 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--white);
    font-family: 'Amiri', serif;
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.hero-features .feature i {
    color: var(--secondary-color);
    font-size: 20px;
}

/* ==================== Booking Form Section ==================== */
.booking-form-section {
    padding: 80px 0;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Form Container */
.form-container {
    background: var(--light-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-container h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--white);
    font-family: 'Amiri', serif;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--dark-color);
    border: 2px solid transparent;
    border-radius: 10px;
    color: var(--white);
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--darker-color);
}

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 120, 84, 0.4);
}

/* Info Sidebar */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
}

.info-list li i {
    color: var(--success);
    margin-top: 5px;
}

.contact-info p {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.hours {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    padding: 15px;
    background: var(--dark-color);
    border-radius: 10px;
}

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

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--light-color);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 80px;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-content h2 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--white);
}

.modal-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.modal-details {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.modal-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(200, 120, 84, 0.4);
}

/* ==================== Footer ==================== */
.booking-footer {
    background: var(--darker-color);
    padding: 30px 0;
    text-align: center;
    margin-top: 80px;
}

.booking-footer p {
    color: var(--text-light);
}

/* ==================== Responsive ==================== */
@media (max-width: 968px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .track-btn,
    .back-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-features {
        gap: 20px;
    }

    .form-container h2 {
        font-size: 24px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }

    .modal-icon {
        font-size: 60px;
    }

    .modal-content h2 {
        font-size: 24px;
    }
}
