/* ================================================================
   Route Page Styles — One Side Taxi
   "Midnight Crimson & Champagne Gold" Theme
   File: public/front/css/route-page.css
================================================================ */

/* ─── Hero Section ─── */
.premium-hero {
    position: relative;
    background: linear-gradient(135deg, #0f0505 0%, #2a0a0a 60%, #1a1a2e 100%);
    padding: 110px 0 130px;
    color: #fff;
    overflow: hidden;
}

.premium-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(153,27,27,0.35) 0%, transparent 70%);
}

.premium-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(226,198,156,0.15);
    border: 1px solid rgba(226,198,156,0.4);
    color: #e2c69c;
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.premium-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.premium-hero-title span {
    color: #e2c69c;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: inline;
}

.hero-desc-alt,
.hero-desc-fallback {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    margin-top: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

@media (max-width: 767px) {
    .premium-hero { padding: 90px 0 110px; }
    .premium-hero-title { font-size: 2rem; }
    .hero-desc-alt, .hero-desc-fallback {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* ─── Booking Strip ─── */
.booking-strip-wrap {
    margin-top: -60px;
    position: relative;
    z-index: 20;
}

.premium-booking-strip {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
    border: 1px solid #f0e6d8;
}

@media (max-width: 991px) {
    .premium-booking-strip {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 22px 20px;
    }
    .booking-strip-wrap { margin-top: -20px; }
}

.strip-group { display: flex; flex-direction: column; }

.strip-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.strip-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.strip-input-wrap i {
    position: absolute;
    left: 15px;
    color: #991b1b;
    font-size: 1rem;
}

.strip-input-wrap input {
    width: 100%;
    height: 52px;
    padding: 0 15px 0 44px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s;
}

.strip-input-wrap input:focus {
    border-color: #991b1b;
    outline: none;
    background: #fff;
}

.strip-btn {
    background: #991b1b;
    color: #fff;
    border: none;
    padding: 0 28px;
    height: 52px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    font-size: 0.95rem;
}

.strip-btn:hover {
    background: #7f1d1d;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(153,27,27,0.35);
}

/* ─── About / Description Section ─── */
.about-section { padding: 90px 0; background: #fff; overflow-x: hidden; }

.about-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.about-img-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: #991b1b;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 25px rgba(153,27,27,0.4);
}

.about-content {
    padding-left: 60px;
    min-width: 0;
    overflow-x: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 991px) {
    .about-content { padding-left: 0; margin-top: 100px !important; }
    .about-img-wrap img { height: 350px; }
}

.tag-pill {
    display: inline-block;
    background: #fef2f2;
    color: #991b1b;
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title-alt {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.section-title-alt span { color: #991b1b; }

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f5f5f5;
}

.benefit-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #fef2f2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #991b1b;
    font-size: 1.1rem;
}

.benefit-title { font-weight: 700; color: #1a1a1a; font-size: 1rem; margin-bottom: 4px; }
.benefit-desc  { font-size: 0.9rem; color: #666; line-height: 1.6; }

/* ─── Fleet / Car Selection Section ─── */
.fleet-section { padding: 80px 0; background: #f9f7f5; }

.section-header { text-align: center; margin-bottom: 55px; }

.section-header .overline {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #991b1b;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.section-header h2 span { color: #991b1b; }
.section-header p {
    color: #777;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1100px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .fleet-grid { grid-template-columns: 1fr; } }

.fleet-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1.5px solid #eee;
    transition: all 0.35s;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    border-color: #991b1b;
}

/* Innova - Most Popular card */
.fleet-card-popular {
    border-color: #e2c69c !important;
    box-shadow: 0 8px 30px rgba(226,198,156,0.25);
}
.fleet-card-popular:hover {
    border-color: #d4af37 !important;
    box-shadow: 0 20px 50px rgba(226,198,156,0.4);
}

.fleet-popular {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, #d4af37, #e2c69c);
    color: #1a1a1a;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

.fleet-img-wrap {
    background: linear-gradient(to bottom, #fdf6ee, #fef2f2);
    padding: 30px 20px;
    text-align: center;
}

.fleet-img-wrap img { height: 110px; object-fit: contain; transition: transform 0.4s; }
.fleet-card:hover .fleet-img-wrap img { transform: scale(1.07); }

.fleet-details { padding: 22px 20px 24px; text-align: center; }
.fleet-name    { font-size: 1.15rem; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }

.fleet-features {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 16px;
}

.fleet-features span { font-size: 0.82rem; color: #777; display: flex; align-items: center; gap: 5px; }
.fleet-features i    { color: #991b1b; }

.fleet-price {
    font-size: 1.7rem;
    font-weight: 800;
    color: #991b1b;
    margin-bottom: 18px;
    line-height: 1;
}

.fleet-price s { display: block; font-size: 0.9rem; color: #aaa; font-weight: 400; margin-bottom: 4px; }

.btn-select {
    width: 100%;
    background: #991b1b;
    color: #fff;
    border: none;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-select:hover { background: #7f1d1d; box-shadow: 0 8px 20px rgba(153,27,27,0.3); }

/* ─── FAQ Section ─── */
.faq-section { padding: 80px 0; background: #fff; }

.faq-item {
    border: 1.5px solid #eee;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s;
    background: #fff;
}

.faq-item.active { border-color: #991b1b; background: #991b1b; }

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-width: 0;
}

.faq-item.active .faq-question { color: #fff; background: #991b1b; }
.faq-item.active .faq-question .faq-icon { color: #fff; }
.faq-question .faq-icon { color: #991b1b; font-size: 1.05rem; flex-shrink: 0; width: 20px; transition: color 0.3s; }

.faq-toggle {
    margin-left: auto;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.faq-item.active .faq-toggle { background: #fff; color: #991b1b; transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    padding: 0 24px;
    background: #fff;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    word-break: break-word;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.faq-item.active .faq-answer { max-height: 2000px; padding: 0 24px 22px; color: rgba(255,255,255,0.9); background: #991b1b; }
.faq-item.active .faq-answer strong { color: #fff; }

/* ─── Custom Booking Popup Modal Overlay ─── */
.booking-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.booking-overlay.visible { display: flex; }

.booking-modal {
    position: relative;
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    margin: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
    overflow: hidden;
    animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
}

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

.booking-modal-header {
    background: linear-gradient(135deg, #7f1d1d, #991b1b);
    padding: 30px;
    padding-right: 56px;
}

.booking-modal-header h5 { color: #fff; font-size: 1.3rem; font-weight: 700; margin: 0 0 6px; }
.booking-modal-header p  { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin: 0; }

.modal-car-badge {
    margin-top: 0;
    background: rgba(226,198,156,0.2);
    border: 1px solid rgba(226,198,156,0.5);
    border-radius: 10px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-car-badge i      { color: #e2c69c; }
.modal-car-badge span   { color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.modal-car-badge strong { color: #e2c69c; font-size: 1rem; text-transform: capitalize; }

.booking-modal-body { padding: 30px; }

.booking-modal .modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 20;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.booking-modal .modal-close-btn i {
    font-size: 1rem;
    font-weight: 700;
    pointer-events: none;
}

.booking-modal .modal-close-btn:hover {
    background: #ffffff;
    color: #991b1b;
    transform: rotate(90deg);
}

.booking-modal .modal-close-btn:focus-visible {
    outline: 2px solid #e2c69c;
    outline-offset: 2px;
}

.bm-field { margin-bottom: 18px; }

.bm-field label {
    display: block;
    font-weight: 600;
    font-size: 0.87rem;
    color: #333;
    margin-bottom: 8px;
}

.bm-field label i    { color: #991b1b; margin-right: 6px; }
.bm-field label span { color: #991b1b; }

.bm-field input {
    width: 100%;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.95rem;
    color: #1a1a1a;
    transition: border-color 0.25s;
    outline: none;
}

.bm-field input:focus {
    border-color: #991b1b;
    box-shadow: 0 0 0 3px rgba(153,27,27,0.1);
}

.bm-submit {
    width: 100%;
    background: #991b1b;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bm-submit:hover { background: #7f1d1d; box-shadow: 0 10px 25px rgba(153,27,27,0.35); }

.bm-note { text-align: center; font-size: 0.78rem; color: #aaa; margin-top: 14px; }
.bm-note i { margin-right: 4px; }

/* jQuery Validate error labels in booking modal */
.bm-error {
    color: #991b1b;
    font-size: 0.78rem;
    margin-top: 4px;
    display: block;
    animation: fadeIn 0.2s ease;
}
.bm-field input.error {
    border-color: #991b1b !important;
    background: rgba(153,27,27,0.04) !important;
}

/* Backend captcha error alert in modal */
.bm-backend-error {
    background: rgba(153,27,27,0.08);
    border: 1px solid rgba(153,27,27,0.35);
    color: #991b1b;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
