/* ============================================================
   CHAR DHAM YATRA MODULE — Om Taxi Service
   Includes: Chardham Packages, Route Cards, Yatra Details
   ============================================================ */

/* ── CHAR DHAM HOMEPAGE & LISTING SECTION ── */
.cdham-sec {
    position: relative;
    background: #ffffff;
    padding: 60px 0 70px;
}

.cdham-header {
    margin-bottom: 36px;
}

.cdham-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f59e0b;
    background: #fffbeb;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.cdham-heading {
    font-size: 32px;
    font-weight: 800;
    color: #170F2F;
    line-height: 1.25;
    margin-bottom: 8px;
}

.cdham-sub {
    font-size: 14.5px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.cdham-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.cdham-tab {
    background: #f8fafc;
    border: 1.5px solid var(--border, #e2e8f0);
    color: #475569;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cdham-tab:hover {
    background: #f4efff;
    border-color: var(--theme, #5F2DED);
    color: var(--theme, #5F2DED);
}

.cdham-tab.active {
    background: var(--theme, #5F2DED);
    border-color: var(--theme, #5F2DED);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(95, 45, 237, 0.25);
}

/* ── Chardham Cards ── */
.cdham-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cdham-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cdham-card:hover {
    border-color: var(--theme, #5F2DED);
    box-shadow: 0 12px 32px rgba(95, 45, 237, 0.12);
}

.cdham-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.cdham-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.cdham-card:hover .cdham-img-wrap img {
    transform: scale(1.08);
}

.cdham-route-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px solid var(--border, #e2e8f0);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.cdham-route-card:hover {
    border-color: var(--theme, #5F2DED);
    box-shadow: 0 8px 24px rgba(95, 45, 237, 0.1);
}

.cdham-route-img-ph {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #ede9ff, #f8f5ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--theme, #5F2DED);
    opacity: 0.5;
}

.cdham-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cdham-title {
    font-size: 17px;
    font-weight: 800;
    color: #170F2F;
    margin: 0 0 10px;
    line-height: 1.3;
}

.cdham-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cdham-title a:hover {
    color: var(--theme, #5F2DED);
}

.cdham-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border, #e2e8f0);
    margin-bottom: 14px;
}

.cdham-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
}

.cdham-btn-details {
    background: #f4efff;
    color: var(--theme, #5F2DED);
    border: 1px solid #ede9ff;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cdham-btn-details:hover {
    background: var(--theme, #5F2DED);
    color: #fff;
}

.cdham-btn-enq {
    background: var(--theme, #5F2DED);
    color: #ffffff;
    border: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cdham-btn-enq:hover {
    background: #4c20c9;
}

.cdham-btn-wa {
    background: #25D366;
    color: #ffffff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cdham-btn-wa:hover {
    background: #1ebc59;
    color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .cdham-heading {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    /* .cdham-btn-row single row */
}