/* Vedic Sadhan Ashram — shared look for index.html and yoga-retreat.html.

   Tailwind's CDN injects its reset AFTER this file, and that reset wins over
   plain element selectors (h1, body, button). That is why rules here are
   written as "body h1", "html body", ".btn.btn-primary" and so on: the extra
   specificity keeps them from being reset.

   The palette is also declared in js/site.js (tailwind.config). Change both. */

:root {
    --ivory: #FBF6EC;
    --cream: #F4EAD8;
    --paper: #FFFDF8;
    --maroon: #5E1F1A;
    --saffron: #B4530F;
    --saffron-dark: #964409;
    --gold: #B8893B;
    --gold-deep: #8F6620;
    --gold-soft: #E9CF9C;
    --ink: #2B211C;
    --muted: #6F6258;
    --green: #1F7A4D;
    --green-dark: #17613C;
    --line: rgba(184, 137, 59, .35);
    --shadow: 0 1px 2px rgba(94, 31, 26, .05), 0 18px 40px -24px rgba(94, 31, 26, .35);
    --font-display: 'Cormorant Garamond', 'Noto Serif Devanagari', Georgia, serif;
    --font-body: 'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

html body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ink);
    background: var(--ivory);
    -webkit-font-smoothing: antialiased;
}

body h1,
body h2,
body h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--maroon);
    font-variant-numeric: lining-nums;
}

body h3 {
    font-size: 1.5rem;
}

/* ---------- Layout ---------- */

.section {
    padding: 6rem 1.5rem;
}

.section--cream {
    background: var(--cream);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.wrap {
    max-width: 72rem;
    margin: 0 auto;
}

.wrap--narrow {
    max-width: 54rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.85;
    text-align: center;
    max-width: 50rem;
    margin: 0 auto;
}

.muted {
    color: var(--muted);
}

/* ---------- Section heading ---------- */

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

body .section-title {
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    letter-spacing: .01em;
}

.section-sub {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--gold-deep);
    margin-top: .35rem;
}

.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    margin-top: 1.1rem;
}

    .ornament::before,
    .ornament::after {
        content: '';
        width: 4.5rem;
        height: 1px;
        background: var(--gold);
    }

    .ornament span {
        width: 8px;
        height: 8px;
        background: var(--gold);
        transform: rotate(45deg);
    }

.eyebrow {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--gold-deep);
}

/* ---------- Icons ---------- */

.icon {
    width: 1.35em;
    height: 1.35em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--ivory);
    color: var(--gold-deep);
    display: grid;
    place-items: center;
    margin: 0 auto 1.25rem;
    flex-shrink: 0;
}

    .icon-badge .icon {
        width: 26px;
        height: 26px;
    }

.icon-badge--inline {
    margin: 0;
    width: 48px;
    height: 48px;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .9rem 2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}

    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px -14px rgba(43, 33, 28, .7);
    }

    .btn:focus-visible,
    .input:focus-visible,
    .nav-toggle:focus-visible,
    a:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 3px;
    }

    .btn.btn-primary {
        background: var(--saffron);
        color: #fff;
    }

        .btn.btn-primary:hover {
            background: var(--saffron-dark);
        }

    .btn.btn-whatsapp {
        background: var(--green);
        color: #fff;
    }

        .btn.btn-whatsapp:hover {
            background: var(--green-dark);
        }

    .btn.btn-outline {
        background: transparent;
        border-color: var(--gold);
        color: var(--maroon);
    }

        .btn.btn-outline:hover {
            background: var(--maroon);
            border-color: var(--maroon);
            color: #fff;
        }

    .btn.btn-outline--light {
        border-color: rgba(255, 255, 255, .7);
        color: #fff;
    }

        .btn.btn-outline--light:hover {
            background: #fff;
            border-color: #fff;
            color: var(--maroon);
        }

    .btn.btn-sm {
        padding: .55rem 1.15rem;
        font-size: .8rem;
    }

/* ---------- Navigation ---------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 246, 236, .93);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}

    .site-nav.scrolled {
        box-shadow: 0 10px 28px -18px rgba(94, 31, 26, .55);
    }

.nav-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: .85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--maroon);
}

.brand-om {
    font-family: 'Noto Serif Devanagari', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-deep);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-link {
    position: relative;
    padding: .3rem 0;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
}

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 1px;
        background: var(--gold);
        transform: scaleX(0);
        transition: transform .3s;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
    }

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--maroon);
}

@media (max-width: 1099px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .25rem 1.5rem 1.5rem;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 30px -20px rgba(94, 31, 26, .5);
    }

    /* The menu is only collapsed when the script that can open it has run. */
    .js .nav-links {
        display: none;
    }

        .js .nav-links.open {
            display: flex;
        }

    .nav-link {
        padding: .95rem 0;
        border-bottom: 1px solid var(--line);
    }

        .nav-link::after {
            display: none;
        }

    .nav-links .btn {
        margin-top: .9rem;
    }
}

@media (max-width: 420px) {
    .nav-inner {
        padding: .75rem 1rem;
    }

    .brand {
        font-size: 1.3rem;
        gap: .45rem;
    }

    .brand-om {
        font-size: 1.25rem;
    }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 92vh;
    padding: 6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('/images/hero.jpg') center/cover no-repeat;
}

    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(180deg, rgba(28, 12, 8, .6) 0%, rgba(28, 12, 8, .38) 45%, rgba(28, 12, 8, .8) 100%);
    }

.hero--short {
    min-height: 78vh;
}

.hero-inner {
    max-width: 52rem;
}

.hero .eyebrow {
    color: var(--gold-soft);
}

body .hero h1 {
    margin: 1.25rem 0 .75rem;
    font-size: clamp(2.7rem, 7.5vw, 5.25rem);
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero-hindi {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 3.2vw, 2.1rem);
    font-weight: 500;
    color: var(--gold-soft);
}

.hero-text {
    max-width: 40rem;
    margin: 1.5rem auto 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .92);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero .ornament {
    margin-top: 1.5rem;
}

    .hero .ornament::before,
    .hero .ornament::after,
    .hero .ornament span {
        background: var(--gold-soft);
    }

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.75rem;
    width: 1px;
    height: 3rem;
    background: linear-gradient(180deg, transparent, var(--gold-soft));
}

/* ---------- Chips ---------- */

.chip-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: .95rem;
    line-height: 1.4;
}

    .chip .icon {
        color: var(--gold-deep);
    }

.hero .chip {
    border-color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

    .hero .chip .icon {
        color: var(--gold-soft);
    }

/* ---------- Cards ---------- */

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.card--hover {
    transition: transform .35s, box-shadow .35s;
}

    .card--hover:hover {
        transform: translateY(-4px);
        box-shadow: 0 1px 2px rgba(94, 31, 26, .05), 0 28px 48px -26px rgba(94, 31, 26, .5);
    }

.card--center {
    text-align: center;
}

.card h3 {
    margin-bottom: .6rem;
}

.card-title-row {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-bottom: 1rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--line);
}

    .card-title-row h3 {
        margin: 0;
    }

    .card-title-row .muted {
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 400;
    }

/* Quick facts */
.fact-label {
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
}

.fact-value {
    margin-top: .3rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--maroon);
    font-variant-numeric: lining-nums;
}

/* Feature card: photo beside text */
.feature {
    display: grid;
    padding: 0;
    overflow: hidden;
}

.feature-photo {
    min-height: 16rem;
}

    .feature-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.feature-body {
    padding: 2.75rem 2.5rem;
}

@media (min-width: 768px) {
    .feature {
        grid-template-columns: 300px 1fr;
        align-items: center;
    }

    .feature-photo {
        align-self: stretch;
    }
}

/* ---------- Schedule ---------- */

.schedule-item {
    display: flex;
    align-items: baseline;
    gap: 1.25rem;
    padding: .8rem 0;
    border-bottom: 1px solid var(--line);
}

    .schedule-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .schedule-item strong {
        min-width: 7.25rem;
        font-weight: 600;
        color: var(--saffron);
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

.service-item {
    height: 100%;
    padding: 1.1rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--ivory);
    text-align: center;
}

    .service-item strong,
    .service-item span {
        display: block;
    }

    .service-item strong {
        font-weight: 600;
        color: var(--saffron);
        font-variant-numeric: tabular-nums;
    }

@media (max-width: 576px) {
    .schedule-item {
        display: block;
    }

        .schedule-item strong {
            display: block;
        }
}

/* ---------- Lists ---------- */

.tick-list li {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .55rem 0;
    border-bottom: 1px solid var(--line);
}

    .tick-list li:last-child {
        border-bottom: 0;
    }

.tick-list .icon {
    margin-top: .3rem;
    width: 1.1em;
    height: 1.1em;
    stroke-width: 2;
}

.tick-list--yes .icon {
    color: var(--green);
}

.tick-list--no .icon {
    color: #A8402F;
}

.rule-list li {
    position: relative;
    padding: .45rem 0 .45rem 1.6rem;
}

    .rule-list li::before {
        content: '';
        position: absolute;
        left: .2rem;
        top: 1.15rem;
        width: 7px;
        height: 7px;
        background: var(--gold);
        transform: rotate(45deg);
    }

/* ---------- Price table ---------- */

.price-card {
    padding: 0;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    text-align: left;
}

    .price-table th {
        padding: 1rem 1.5rem;
        background: var(--maroon);
        color: var(--gold-soft);
        font-size: .78rem;
        font-weight: 500;
        letter-spacing: .14em;
        text-transform: uppercase;
    }

    .price-table td {
        padding: 1.4rem 1.5rem;
    }

    .price-table .price {
        font-family: var(--font-display);
        font-size: 1.7rem;
        font-weight: 700;
        color: var(--maroon);
        font-variant-numeric: lining-nums;
        white-space: nowrap;
    }

/* ---------- Gallery ---------- */

/* The photos are 300x400 portraits, so tiles are 3:4 and kept small (4 across on desktop). */
.gallery-item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1.2s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.06);
    }

/* ---------- Form ---------- */

.field label {
    display: block;
    margin-bottom: .4rem;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}

.input {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--ivory);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}

    .input:focus {
        border-color: var(--gold);
        box-shadow: 0 0 0 3px rgba(184, 137, 59, .2);
        outline: none;
    }

/* ---------- Map and contact ---------- */

.map-frame {
    display: block;
    width: 100%;
    height: 450px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.phone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1rem;
}

    .phone-card .fact-value {
        letter-spacing: .04em;
    }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--maroon);
    color: rgba(255, 255, 255, .85);
    border-top: 3px solid var(--gold);
    padding: 4rem 1.5rem 2rem;
}

    .site-footer .brand {
        color: #fff;
    }

    .site-footer .brand-om {
        color: var(--gold-soft);
    }

    .site-footer a:hover {
        color: var(--gold-soft);
    }

.footer-heading {
    margin-bottom: .9rem;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(233, 207, 156, .3);
    text-align: center;
    font-size: .9rem;
    color: rgba(255, 255, 255, .7);
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .8s ease, transform .8s ease;
    }

        .js .reveal.in {
            opacity: 1;
            transform: none;
        }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .card--hover,
    .gallery-item img {
        transition: none;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.25rem 1.25rem;
    }

    .section-head {
        margin-bottom: 2.5rem;
    }

    .card {
        padding: 1.5rem;
    }

    .feature {
        padding: 0;
    }

    .feature-body {
        padding: 2rem 1.5rem;
    }

    .price-table th,
    .price-table td {
        padding: 1rem;
    }
}
