/* ==================== Book Page Specific Styles ==================== */

.book-header {
    background: linear-gradient(135deg, #1a659e 0%, #004e89 100%);
    padding: 110px 0 40px;
    text-align: center;
    color: white;
    position: relative;
}

.book-header h1 {
    font-size: 36px;
    margin-bottom: 12px;
    font-weight: 700;
}

.book-header p {
    font-size: 17px;
    opacity: 0.95;
}

/* Booking Section */
.booking-section {
    padding: 50px 0;
    background: #f8f9fa;
    overflow-x: hidden;
}

.booking-section .container {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Booking Tabs */
.booking-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: nowrap;
}

.tab-btn i {
    font-size: 24px;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-color: #f97316;
    color: white;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.tab-btn.active:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Booking Form Main */
.booking-form-main {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.booking-form-main h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.booking-form-main h2 i {
    color: var(--primary-color);
    font-size: 32px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    width: 100%;
    box-sizing: border-box;
    height: auto;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(26, 101, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    margin: 0;
}

/* Flight Type Selector */
.flight-type-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-color);
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

/* Benefits Section */
.benefits-section {
    padding: 80px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.benefit-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .book-header {
        padding: 100px 0 35px;
    }

    .book-header h1 {
        font-size: 32px;
    }

    .book-header p {
        font-size: 16px;
    }

    .booking-form-main {
        padding: 40px 30px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .booking-tabs {
        gap: 15px;
        padding: 0 15px;
    }

    .tab-btn {
        padding: 14px 30px;
        font-size: 15px;
        flex: 1 1 auto;
        min-width: 0;
        max-width: 100%;
    }

    .tab-btn span {
        display: none;
    }

    .tab-btn i {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .book-header {
        padding: 90px 0 30px;
    }

    .book-header h1 {
        font-size: 28px;
    }

    .book-header p {
        font-size: 15px;
    }

    .booking-section {
        padding: 40px 0;
    }

    .booking-form-main {
        padding: 30px 20px;
    }

    .booking-form-main h2 {
        font-size: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .flight-type-selector {
        flex-direction: column;
        gap: 15px;
    }
    
    .booking-tabs {
        flex-direction: column;
        gap: 12px;
        padding: 0 10px;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 15px 20px;
        box-sizing: border-box;
    }
    
    .tab-btn i {
        font-size: 20px;
    }
    
    .tab-btn span {
        font-size: 14px;
    }
    
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .btn-block {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 576px) {
    .book-header {
        padding: 85px 0 25px;
    }

    .book-header h1 {
        font-size: 24px;
    }

    .book-header p {
        font-size: 14px;
    }

    .booking-section {
        padding: 35px 0;
    }

    .booking-form-main {
        padding: 25px 15px;
    }

    .booking-form-main h2 {
        font-size: 22px;
        flex-direction: column;
        text-align: center;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .tab-btn i {
        font-size: 20px;
    }

    .benefit-card {
        padding: 25px 18px;
    }
    
    .benefit-card i {
        font-size: 32px;
    }
    
    .benefit-card h3 {
        font-size: 18px;
    }
    
    .benefit-card p {
        font-size: 13px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .counter-input {
        width: 100%;
    }
    
    .counter-btn {
        width: 40px;
        height: 40px;
    }
}

