/* ============================================================
   BHATI TAXI UJJAIN – custom.css
   Laravel-specific additions & dynamic content overrides
   All base styles come from style.css
   ============================================================ */

/* ============================================================
   ALERT MESSAGES (Form submission feedback)
   ============================================================ */
.alert-success-custom {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error-custom {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 14px;
}

/* ============================================================
   HERO FORM – Laravel form integration
   ============================================================ */
.hbc_select_option {
    background: #111;
    color: #fff;
}

/* ============================================================
   VEHICLE CARDS – dynamic empty image state
   ============================================================ */
.vehicle_img_placeholder {
    width: 100%;
    height: 210px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
}

/* ============================================================
   PACKAGE CARDS – dynamic empty image state
   ============================================================ */
.pkg_img_placeholder {
    width: 100%;
    height: 185px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

/* ============================================================
   SPECIAL PACKAGES – dynamic stops list
   ============================================================ */
.sp_stop_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 6px;
    line-height: 1.5;
}

.sp_stop_item i {
    color: var(--primar-color);
    font-size: 10px;
    width: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ============================================================
   PLACES SECTION – dynamic image placeholder
   ============================================================ */
.place_card {
    height: 100%;
}

.place_card figure {
    margin: 0;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #f3f3f3;
}

.place_card figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.place_img_placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

@media (max-width: 767.98px) {
    .place_card figure,
    .place_img_placeholder {
        height: 150px;
    }
}

/* ============================================================
   TESTIMONIALS – dark section override
   ============================================================ */
.section_dark .testimonial_card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

.section_dark .testimonial_card:hover {
    border-color: rgba(230, 168, 23, 0.3);
}

.section_dark .t_review_text {
    color: rgba(255, 255, 255, 0.7);
}

.section_dark .t_author_name {
    color: #ffffff;
}

.section_dark .t_author_loc {
    color: rgba(255, 255, 255, 0.45);
}

.section_dark .t_route_tag {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.section_dark .testimonial_card .quote_mark {
    color: rgba(230, 168, 23, 0.08);
}

/* ============================================================
   GALLERY – dynamic images
   ============================================================ */
.gallery_img_placeholder {
    width: 100%;
    height: 195px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

/* ============================================================
   WHY CHOOSE US – dynamic icon fallback
   ============================================================ */
.why_icon_default {
    font-size: 42px;
    color: var(--primar-color);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq_section {
    background: var(--bg-light);
}

.faq_item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq_item:hover {
    border-color: var(--primar-color);
}

.faq_question {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: var(--transition);
}

.faq_question:hover {
    color: var(--primar-color);
}

.faq_question i {
    color: var(--primar-color);
    font-size: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq_item.faq_open .faq_question i {
    transform: rotate(45deg);
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 14px;
    color: var(--muted-color);
    line-height: 1.75;
}

.faq_item.faq_open .faq_answer {
    max-height: 300px;
    padding: 4px 22px 20px;
}

/* ============================================================
   CONTACT SECTION – form card style matching design
   ============================================================ */
.inquiry_form_card .form_group {
    margin-bottom: 16px;
}

/* ============================================================
   PRICING TERMS LIST
   ============================================================ */
.terms_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.term_item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.6;
}

.term_item i {
    color: var(--primar-color);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================================
   FARE CALCULATOR OVERRIDES
   ============================================================ */
.fare_calc_wrap {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
}

.calc_result_box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--primar-pale);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-top: 18px;
    border-left: 4px solid var(--primar-color);
}

.calc_result_box span {
    font-size: 13px;
    color: var(--muted-color);
}

.calc_result_box strong {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    color: var(--primar-color);
}

/* ============================================================
   POPULAR ROUTES (dynamic from DB)
   ============================================================ */
.popular_routes_section {
    background: var(--dark-color);
}

.routes_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.route_tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.route_tag:hover {
    background: rgba(230, 168, 23, 0.16);
    border-color: var(--primar-color);
    transform: translateY(-3px);
}

.route_tag strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    font-family: var(--font-heading);
}

.route_tag span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   STAR RATING DISPLAY
   ============================================================ */
.star_filled { color: var(--primar-color); }
.star_empty { color: rgba(255, 255, 255, 0.2); }

.section_dark .star_empty { color: rgba(255, 255, 255, 0.15); }

/* ============================================================
   SERVICE CARDS – dynamic
   ============================================================ */
.service_card {
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.service_card:hover {
    border-color: var(--primar-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.sc_icon {
    width: 60px;
    height: 60px;
    background: var(--primar-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: var(--primar-color);
    transition: var(--transition);
}

.service_card:hover .sc_icon {
    background: var(--primar-color);
    color: #000;
}

.sc_title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 8px;
}

.sc_desc {
    font-size: 12px;
    color: var(--muted-color);
    line-height: 1.65;
    margin-bottom: 14px;
}

.sc_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primar-color);
    color: #000;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}

.sc_btn:hover {
    background: var(--primar-dark);
    color: #000;
}

/* ============================================================
   CONTACT INFO ITEMS (override for light section)
   ============================================================ */
.contact_info_item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.contact_info_item:hover {
    color: var(--primar-color);
}

.ci_icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primar-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primar-color);
    flex-shrink: 0;
}

.ci_icon.wa {
    background: #e8faf0;
    color: #25d366;
}

.contact_info_item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.contact_info_item span {
    font-size: 12px;
    color: var(--muted-color);
}

.contact_info_list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 24px 0;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page_header {
    position: relative;
    background: linear-gradient(120deg, rgba(18, 18, 18, 0.92), rgba(32, 32, 32, 0.85)),
        url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
    padding: 120px 0 48px;
    color: #fff;
}

.page_header_inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.page_header_text h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 8px;
    color: var(--primar-color);
}

.page_header_text p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    max-width: 620px;
    margin: 0;
}

.page_breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
    padding: 8px 14px;
    border-radius: 999px;
}

.page_breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.page_breadcrumb a:hover {
    color: var(--primar-color);
}

/* ============================================================
   RESPONSIVE – routes grid
   ============================================================ */
@media (max-width: 992px) {
    .routes_grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .routes_grid { grid-template-columns: 1fr; }
    .faq_question { font-size: 13px; }
}
