/*
 * /temple-tours — package chooser + package sections (pages/temple-tours.blade.php).
 * Plain CSS (no build step). Palette/typography follow the homepage sections:
 * emerald brand, warm gold accents (#fef3c7 / #92400e / #b45309), Inter.
 */

.tt-wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .tt-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .tt-wrap { padding: 0 2rem; } }

/* ── Section header (same look as the homepage section headers) ─────── */
.tt-head { max-width: 46rem; margin-bottom: 2.25rem; }
.tt-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.5rem;
    color: #15803d;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.tt-eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.tt-title {
    margin: 0;
    color: #0b1f17;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(2rem, 3.6vw, 2.75rem);
    line-height: 1.1;
    letter-spacing: -0.022em;
}
.tt-intro { margin: 0.6rem 0 0; color: #475569; font-size: clamp(1rem, 1.3vw, 1.125rem); line-height: 1.55; }

.tt-chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.25rem 0.6rem;
    border-radius: 0.3rem;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.tt-chip--sm { font-size: 0.65rem; padding: 0.2rem 0.5rem; }

/* ── Package chooser tiles ──────────────────────────────────────────── */
.tt-overview { padding: 4.5rem 0 3.5rem; background: #fff; }
.tt-tiles { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .tt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .tt-tiles { gap: 1.75rem; } }
.tt-tile {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
    border: 1px solid #e8edf2;
    border-radius: 1.25rem;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 20px -10px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.tt-tile:hover { transform: translateY(-4px); border-color: #bbf7d0; box-shadow: 0 18px 32px -16px rgba(6, 78, 59, 0.28); }
.tt-tile:focus-visible { outline: 3px solid #86efac; outline-offset: 3px; }
.tt-tile__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 0.75rem; background: #e2e8f0; margin-bottom: 0.35rem; }
.tt-tile__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tt-tile:hover .tt-tile__media img { transform: scale(1.05); }
.tt-tile__title { color: #0f172a; font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.tt-tile__meta { display: flex; align-items: center; gap: 0.45rem; color: #334155; font-size: 0.8rem; font-weight: 600; }
.tt-tile__meta svg { width: 1rem; height: 1rem; color: #b45309; flex-shrink: 0; }
.tt-tile__foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid #eef2f6;
}
.tt-tile__foot small { display: block; color: #94a3b8; font-size: 0.72rem; }
.tt-tile__foot strong { color: #166534; font-size: 1.05rem; }
.tt-tile__go { display: inline-flex; align-items: center; gap: 0.3rem; color: #065f46; font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.tt-tile__go svg { width: 1rem; height: 1rem; transform: rotate(90deg); }

/* ── Package sections ───────────────────────────────────────────────── */
.tt-pkg { padding: 4.5rem 0; background: #fff; scroll-margin-top: 5rem; border-top: 1px solid #eef2f6; }
.tt-pkg--tint { background: #f6faf7; }
.tt-pkg__intro { display: grid; gap: 1.75rem; align-items: center; }
@media (min-width: 1024px) { .tt-pkg__intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; } }
.tt-pkg__media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1.25rem; background: #e2e8f0; box-shadow: 0 18px 40px -20px rgba(6, 78, 59, 0.45); }
.tt-pkg__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tt-pkg__title {
    margin: 0.7rem 0 0;
    color: #0b1f17;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.tt-pkg__lead { margin: 0.75rem 0 0; color: #334155; font-size: 1.02rem; line-height: 1.6; }
.tt-pkg__about { margin: 0.6rem 0 0; color: #64748b; font-size: 0.9rem; line-height: 1.6; }

.tt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 1.25rem 0 0; }
@media (min-width: 640px) { .tt-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tt-facts > div { padding: 0.65rem 0.8rem; border: 1px solid #e8edf2; border-radius: 0.8rem; background: #fff; }
.tt-facts dt { color: #64748b; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tt-facts dd { margin: 0.2rem 0 0; color: #0f172a; font-size: 0.85rem; font-weight: 600; line-height: 1.35; }
.tt-facts__price { color: #166534 !important; font-size: 1rem !important; font-weight: 800 !important; }
.tt-facts__price small { display: block; color: #94a3b8; font-size: 0.7rem; font-weight: 500; }

.tt-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }
.tt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.3rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tt-btn svg { width: 1.1rem; height: 1.1rem; }
.tt-btn--primary { background: #065f46; color: #fff; }
.tt-btn--primary:hover { background: #064e3b; }
.tt-btn--ghost { border: 1.5px solid #15803d; background: #fff; color: #14532d; }
.tt-btn--ghost:hover { background: #15803d; color: #fff; }
.tt-btn:focus-visible { outline: 3px solid #86efac; outline-offset: 2px; }
@media (max-width: 479px) { .tt-btn { width: 100%; } }

/* sub-blocks */
.tt-block { margin-top: 3rem; scroll-margin-top: 5rem; }
/* h3/h4 get the base heading weight/tracking site-wide (app.css) — set fonts explicitly */
.tt-subtitle {
    margin: 0;
    color: #0b1f17;
    font-family: var(--font-sans);
    font-size: clamp(1.45rem, 2.4vw, 1.75rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.tt-subintro { max-width: 48rem; margin: 0.35rem 0 1.25rem; color: #64748b; font-size: 0.92rem; line-height: 1.55; }

/* regions (Divya Desam) */
.tt-regions { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.tt-region {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.1rem;
    border: 1px solid #e8edf2;
    border-radius: 1rem;
    background: #fff;
}
.tt-region__count { color: #065f46; font-family: var(--font-sans); font-size: 2.1rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.tt-region__name { margin-top: 0.4rem; color: #0f172a; font-weight: 700; font-size: 0.95rem; }
.tt-region__area { color: #64748b; font-size: 0.8rem; }
.tt-region__note { margin-top: 0.5rem; color: #92400e; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; }

/* route (Navagraha) */
.tt-route { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0; padding: 0; list-style: none; }
.tt-route li {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem 0.45rem 0.45rem;
    border: 1px solid #d1fae5;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 600;
}
.tt-route li:not(:last-child)::after {           /* arrow to the next stop */
    content: "→";
    position: absolute;
    right: -1.15rem;
    color: #94a3b8;
    font-weight: 700;
}
.tt-route li span {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #065f46;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
}

/* temples */
.tt-temples { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tt-temples { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tt-temples { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .tt-temples--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tt-temple {
    display: flex;
    flex-direction: column;
    padding: 1.15rem 1.2rem;
    border: 1px solid #e8edf2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.18);
}
.tt-temple__top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.tt-temple__dist { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; color: #64748b; font-size: 0.75rem; font-weight: 600; }
.tt-temple__dist svg { width: 0.85rem; height: 0.85rem; color: #059669; flex-shrink: 0; }
.tt-temple__dist--foot { margin-top: auto; padding-top: 0.75rem; }
.tt-temple__name { margin: 0.7rem 0 0; color: #0f172a; font-family: var(--font-sans); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.tt-temple__loc { margin: 0.15rem 0 0; color: #64748b; font-size: 0.8rem; }
.tt-temple__loc--place { margin-top: 0.7rem; color: #065f46; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; }
.tt-temple__loc--place + .tt-temple__name { margin-top: 0.15rem; }
.tt-temple__text { margin: 0.55rem 0 0; color: #475569; font-size: 0.85rem; line-height: 1.55; }
.tt-temple__details { display: grid; gap: 0.45rem; margin: 0.85rem 0 0; padding-top: 0.75rem; border-top: 1px solid #f1f5f9; }
.tt-temple__details dt { color: #94a3b8; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.tt-temple__details dd { margin: 0.1rem 0 0; color: #1e293b; font-size: 0.8rem; font-weight: 600; line-height: 1.4; }

/* benefits */
.tt-benefits { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .tt-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .tt-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tt-benefit { display: flex; gap: 0.75rem; padding: 1rem; border-radius: 1rem; background: #ecfdf5; }
.tt-benefit svg { flex-shrink: 0; width: 1.35rem; height: 1.35rem; color: #059669; }
.tt-benefit h4 { margin: 0; color: #064e3b; font-family: var(--font-sans); font-size: 0.92rem; font-weight: 700; }
.tt-benefit p { margin: 0.3rem 0 0; color: #3f5f52; font-size: 0.82rem; line-height: 1.5; }

/* fares */
.tt-fares { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); }
.tt-fare {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid #e8edf2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.18);
}
.tt-fare__class { margin: 0; color: #64748b; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.tt-fare__model { margin: 0.2rem 0 0.75rem; color: #0f172a; font-size: 1rem; font-weight: 700; }
.tt-fare__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.6rem 0.7rem;
    border: 1px solid #d1fae5;
    border-radius: 0.75rem;
    background: #f0fdf4;
    color: inherit;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s;
}
.tt-fare__opt:first-of-type { margin-top: auto; }
.tt-fare__opt:hover { background: #dcfce7; border-color: #86efac; }
.tt-fare__opt:focus-visible { outline: 3px solid #86efac; outline-offset: 2px; }
.tt-fare__opt small { display: block; color: #64748b; font-size: 0.7rem; font-weight: 600; }
.tt-fare__opt strong { color: #166534; font-size: 1.1rem; font-weight: 800; }
.tt-fare__book {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.65rem;
    border-radius: 0.55rem;
    background: #065f46;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}
.tt-fare__book svg { width: 0.95rem; height: 0.95rem; }
.tt-fare-note {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0.75rem 0.9rem;
    border-radius: 0.8rem;
    background: #fffbeb;
    color: #78350f;
    font-size: 0.82rem;
    line-height: 1.5;
}
.tt-fare-note svg { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: 0.1rem; color: #b45309; }

@media (prefers-reduced-motion: reduce) {
    .tt-tile, .tt-tile__media img { transition: none; }
    .tt-tile:hover { transform: none; }
}
