/* ============================================================
   Omisewa Temple - public site stylesheet
   Warm earthy palette: deep brown, cream, gold, forest green.
   Mobile first, large readable text, no gradients.
   ============================================================ */

:root {
    --brown: #3e2a1e;
    --brown-dark: #2b1d14;
    --brown-mid: #553a28;
    --brown-soft: #6b5746;
    --cream: #faf5e9;
    --cream-dark: #f1e8d4;
    --cream-line: #e5d9bf;
    --gold: #c9a227;
    --gold-dark: #a8861b;
    --green: #35513b;
    --green-dark: #2a3f2f;
    --white: #ffffff;
    --text: #3e2a1e;
    --muted: #6b5746;
    --radius: 10px;
    --shadow: 0 6px 24px rgba(43, 29, 20, 0.10);
    --shadow-soft: 0 2px 10px rgba(43, 29, 20, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1.075rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: Georgia, "Times New Roman", serif;
    color: var(--brown);
    line-height: 1.2;
    margin: 0 0 1rem;
    font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p {
    margin: 0 0 1.1rem;
}

a {
    color: var(--green);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4rem 0;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-heading h2 {
    margin-bottom: 0.75rem;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--gold);
    margin: 0.85rem auto 0;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
}

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

.btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-lg {
    padding: 1.05rem 2.4rem;
    font-size: 1.15rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--brown-dark);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--brown-dark); }

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

.btn-brown {
    background: var(--brown);
    color: var(--cream);
}
.btn-brown:hover { background: var(--brown-dark); color: var(--cream); }

.btn-outline-cream {
    border-color: var(--cream);
    color: var(--cream);
}
.btn-outline-cream:hover { background: var(--cream); color: var(--brown); }

.btn-outline-brown {
    border-color: var(--brown);
    color: var(--brown);
}
.btn-outline-brown:hover { background: var(--brown); color: var(--cream); }

/* ---------- Header / navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--brown);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--cream);
}

.nav-brand img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--cream);
}

.nav-brand span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.15;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
    padding: 0.4rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold);
}

.nav-menu .nav-cta .btn {
    padding: 0.45rem 1.05rem;
    font-size: 0.92rem;
    white-space: nowrap;
}

.nav-toggle,
.nav-toggle-label {
    display: none;
}

@media (max-width: 960px) {
    .nav-toggle-label {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 0.5rem;
    }

    .nav-toggle-label span {
        display: block;
        width: 26px;
        height: 3px;
        background: var(--cream);
        border-radius: 2px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--brown-dark);
        padding: 1rem 1.25rem 1.5rem;
        box-shadow: var(--shadow);
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(250, 245, 233, 0.12);
    }

    .nav-menu .nav-cta {
        margin-top: 0.9rem;
        border-bottom: none;
    }

    .nav-toggle:checked ~ .nav-menu {
        display: flex;
    }
}

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

.hero {
    background: var(--brown);
    color: var(--cream);
    text-align: center;
    padding: 5.5rem 1.25rem 5rem;
}

.hero-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.hero-title {
    color: var(--cream);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.hero-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--gold);
    margin: 1.1rem auto 0;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--cream);
    max-width: 640px;
    margin: 0 auto 2rem;
}

/* ---------- Page header (inner pages) ---------- */

.page-header {
    background: var(--brown);
    color: var(--cream);
    text-align: center;
    padding: 3.5rem 1.25rem;
}

.page-header h1 {
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.page-header p {
    color: var(--cream);
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Intro ---------- */

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* ---------- Owner photo ---------- */

.owner-photo {
    width: 100%;
    max-width: 340px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1.25rem;
}

/* ---------- About page ---------- */

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
}

.about-photo img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
    outline: 1px solid var(--cream-line);
}

.about-subhead {
    font-size: 1.5rem;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
    margin: 1.75rem 0 0.75rem;
}

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

.gallery-placeholder {
    border: 2px dashed var(--cream-line);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--muted);
    text-align: center;
    padding: 3.5rem 1.5rem;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.help-cards {
    display: grid;
    gap: 1.25rem;
}

.card h3 {
    color: var(--brown);
}

.card p {
    color: var(--muted);
    margin: 0;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--gold-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* ---------- Image strip ---------- */

.image-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.image-strip img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.25s ease;
}

.image-strip img:hover {
    transform: scale(1.03);
}

/* ---------- Video ---------- */

.video-wrap {
    max-width: 380px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--brown-dark);
    line-height: 0;
}

.video-wrap video {
    display: block;
    width: 100%;
    height: auto;
}

.video-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.video-layout .video-wrap {
    max-width: 320px;
    margin: 0 auto;
}

.welcome-points {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.welcome-points li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--muted);
}

.welcome-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.welcome-point-title {
    display: block;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 0.1rem;
}

/* ---------- Consultants ---------- */

.consultants-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.consultant-card {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.consultant-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--cream-dark);
}

.consultant-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    overflow-wrap: anywhere;
}

.consultant-card p {
    color: var(--muted);
    margin: 0;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.gallery-item {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.gallery-item figcaption {
    padding: 0.9rem 1.1rem;
    color: var(--muted);
    font-size: 0.98rem;
}

/* ---------- Contact ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.field {
    margin-bottom: 1.25rem;
}

.field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    font-size: 1.05rem;
    border: 1px solid var(--cream-line);
    border-radius: 8px;
    background: var(--cream);
    color: var(--text);
    font-family: inherit;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
}

.field .error {
    color: #8f2d1f;
    font-size: 0.92rem;
    margin-top: 0.3rem;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: #e7f0e8;
    color: #2a4d30;
    border: 1px solid #c8ddcb;
}

.alert-danger {
    background: #f8e7e4;
    color: #8f2d1f;
    border: 1px solid #eccdc6;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-details {
    background: var(--cream-dark);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
}

.contact-details h3 {
    margin-bottom: 1rem;
}

.contact-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream-line);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-details .label {
    font-weight: 700;
    display: block;
    color: var(--brown);
}

/* ---------- Social links ---------- */

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cream-dark);
    color: var(--brown);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--brown-dark);
    transform: translateY(-2px);
}

.social-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.site-footer .social-link {
    background: rgba(250, 245, 233, 0.12);
    color: var(--cream);
}

.site-footer .social-link:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

/* ---------- Floating WhatsApp button ---------- */

.float-whatsapp {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--green);
    color: var(--cream);
    box-shadow: 0 8px 20px rgba(43, 29, 20, 0.3);
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.float-whatsapp:hover {
    background: var(--green-dark);
    color: var(--cream);
    transform: translateY(-3px);
}

.float-whatsapp svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* ---------- Call to action band ---------- */

.cta-band {
    background: var(--green);
    color: var(--cream);
    text-align: center;
}

.cta-band h2 {
    color: var(--cream);
}

.cta-band p {
    color: var(--cream);
    max-width: 560px;
    margin: 0 auto 1.75rem;
}

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

.site-footer {
    background: var(--brown-dark);
    color: var(--cream);
    padding: 3.5rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.footer-col h3 {
    color: var(--gold);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col li {
    color: var(--cream);
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    padding: 0.35rem 0;
}

.footer-col a {
    color: var(--cream);
    text-decoration: none;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.footer-brand img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--cream);
}

.footer-brand span {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.15rem;
}

.footer-map {
    margin-top: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(250, 245, 233, 0.15);
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.footer-map-outer {
    padding-bottom: 2.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 245, 233, 0.12);
    padding: 1.25rem 0;
    text-align: center;
    color: var(--cream);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
}

/* ---------- Services ---------- */

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.service-card h3 {
    color: var(--brown);
    margin-bottom: 0.6rem;
}

.service-card p {
    color: var(--muted);
    margin: 0 0 1rem;
}

.service-duration {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: var(--cream-dark);
    color: var(--brown);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---------- Teachings ---------- */

.teachings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* ---------- FAQ ---------- */

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--brown);
    list-style: none;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-dark);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item p {
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    color: var(--muted);
}

/* ---------- Founder bio ---------- */

.founder-bio {
    background: var(--cream-dark);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
}

.founder-bio h2 {
    margin-bottom: 1rem;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

/* ---------- Responsive breakpoints ---------- */

@media (min-width: 560px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 820px) {
    .intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .about-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 3rem;
    }

    .video-layout {
        grid-template-columns: 300px 1fr;
        gap: 3rem;
    }

    .video-layout .video-wrap {
        max-width: 300px;
        margin: 0;
    }

    .cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .consultants-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachings-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1.2fr 1fr;
        gap: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }

    .image-strip img {
        height: 200px;
    }
}

/* Consultants intentionally remain in a two-column grid on desktop
   so the longer names have room to read comfortably. */

/* ---------- Homepage additions ---------- */

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

.section--alt {
    background: var(--cream-dark);
}

.bio-more {
    margin: 1.5rem 0 0;
}

.center-link {
    text-align: center;
    margin: 2rem 0 0;
}

/* Teachings preview */

.topics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.topic-card {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-top: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.topic-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.topic-card p {
    color: var(--muted);
    margin: 0;
}

/* How a session works */

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step {
    background: var(--white);
    border: 1px solid var(--cream-line);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--brown-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--muted);
    margin: 0;
}

@media (min-width: 560px) {
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 820px) {
    .topics-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
