/* =========================================
   HARE KRISHNA YOGA CENTER - MAIN STYLES
========================================= */

/* COLORS AND FONTS */

:root {
    --green: #628a52;
    --green-dark: #294f3c;
    --blue: #205e78;
    --cream: #fbf8f2;
    --white: #ffffff;
    --text: #34443d;
    --muted: #758078;
    --light: #f5f7f5;
    --border: #e4e9e3;

    --heading-font: "Trebuchet MS", Arial, sans-serif;
    --body-font: Arial, Helvetica, sans-serif;
    --header-height: 94px;
}


/* RESET */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--body-font);
    color: var(--text);
    line-height: 1.7;
    background: var(--cream);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

section {
    scroll-margin-top: var(--header-height);
}

img {
    display: block;
    max-width: 100%;
}

.hidden-view,
.hidden-program {
    display: none !important;
}


/* =========================================
   HEADER AND NAVIGATION
========================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 50;
    background: rgba(255, 251, 246, 0.97);
    border-bottom: 1px solid rgba(41, 79, 60, 0.08);
    backdrop-filter: blur(6px);
}

.navbar {
    width: 100%;
    max-width: 1340px;
    height: 100%;
    margin: auto;
    padding: 0 4%;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.navbar a {
    font-size: 13px;
    color: #45514b;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.navbar a:hover,
.navbar a:focus-visible,
.navbar a.active-nav {
    color: var(--green);
}

#nav-login-link {
    padding: 6px 15px;
    border: 1px solid rgba(41, 79, 60, 0.22);
    border-radius: 20px;
    font-weight: bold;
    color: var(--green-dark);
}

#nav-login-link:hover {
    background: var(--green-dark);
    color: var(--white);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    line-height: 1.2;
    font-family: var(--heading-font);
    font-size: 19px !important;
    font-weight: bold;
    color: var(--green-dark) !important;
    white-space: nowrap;
}

.logo-symbol {
    font-size: 35px;
    line-height: 1.05;
    color: var(--green);
}

.logo small {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 1.4px;
    font-weight: normal;
    color: var(--muted);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 27px;
    color: var(--green-dark);
    padding: 5px;
}


/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 11px 24px;

    border: 1px solid transparent;
    border-radius: 30px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-align: center;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid rgba(98, 138, 82, 0.35);
    outline-offset: 4px;
}

.button-light {
    color: var(--green-dark);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.button-light:hover {
    background: #f0f4e9;
}

.button-green {
    color: var(--white);
    background: var(--green-dark);
}

.button-green:hover {
    background: var(--green);
}


/* =========================================
   HERO SECTION
========================================= */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 130px 24px 90px;

    isolation: isolate;
    overflow: hidden;
    color: var(--white);

    background-color: #294f3c;

    background-image:
        linear-gradient(
            to bottom,
            rgba(245, 245, 235, 0.12) 0%,
            rgba(23, 45, 39, 0.25) 32%,
            rgba(10, 34, 30, 0.80) 100%
        ),
        url("images/hero-yoga.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        radial-gradient(
            ellipse at center,
            transparent 10%,
            rgba(13, 37, 30, 0.15) 100%
        );
}

.hero-content {
    width: min(800px, 100%);
    margin: auto;
    padding-top: 40px;
    text-align: center;
}

.eyebrow {
    margin-bottom: 10px;

    color: var(--green);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #e7f0d9;
}

.hero h1 {
    font-family: var(--heading-font);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.17;
    font-weight: 500;
    letter-spacing: -1px;

    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.hero-description {
    max-width: 650px;
    margin: 20px auto 28px;

    font-size: 15px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.94);
}

.scroll-down {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    justify-content: center;
    align-items: center;

    width: 60px;
    height: 60px;

    border-radius: 50% 50% 0 0;
    color: white;
    background: var(--green);

    font-size: 34px;
    line-height: 1;

    transition: background 0.2s ease;
}

.scroll-down:hover {
    background: var(--green-dark);
}


/* =========================================
   COMMON SECTION STYLES
========================================= */

.section {
    min-height: calc(100vh - var(--header-height));
    padding: 50px 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2,
.teacher-content h2,
.contact-box h2 {
    margin-bottom: 10px;

    font-family: var(--heading-font);
    font-weight: 400;
    font-size: clamp(27px, 3.6vw, 40px);
    line-height: 1.22;
}

.section-heading > p:last-child {
    color: var(--muted);
    font-size: 14px;
}


/* =========================================
   YOGA PROGRAMS SECTION (Clean Simple Background)
========================================= */

.classes {
    background: #fbf8f2;
}

.category-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.category-card {
    min-width: 0;
    min-height: 230px;
    overflow: hidden;

    display: flex;
    align-items: stretch;

    border: 1px solid #e6eadd;
    border-radius: 8px;
    background: white;

    box-shadow: 0 8px 28px rgba(42, 63, 48, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(98, 138, 82, 0.4);
    box-shadow: 0 14px 32px rgba(42, 63, 48, 0.11);
}

.category-content {
    width: 100%;
    padding: 26px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-number {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--green);
    font-family: var(--heading-font);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.category-content h3 {
    margin-bottom: 10px;

    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.38;
}

.category-content p {
    flex-grow: 1;
    margin-bottom: 18px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.category-content a {
    color: var(--green-dark);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.category-content a:hover {
    color: var(--green);
    text-decoration: underline;
}

.programs-more-wrapper {
    margin-top: 32px;
    text-align: center;
}


/* =========================================
   TIMINGS & SERVICES SECTIONS
========================================= */

.timings {
    background: #eef2e9;
}

.services {
    background: #fbfaf6;
}

.service-grid,
.timings-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.services-two-parts-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.services-part-column {
    display: flex;
    flex-direction: column;
}

.part-heading {
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(41, 79, 60, 0.14);
    font-family: var(--heading-font);
    font-size: 17px;
    font-weight: 500;
    color: var(--green-dark);
}

.two-col-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    min-width: 0;
    padding: 28px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border: 1px solid rgba(67, 105, 76, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);

    box-shadow: 0 6px 20px rgba(42, 63, 48, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.compact-service-card {
    padding: 22px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(44, 70, 50, 0.09);
}

.service-number {
    display: inline-block;
    margin-bottom: 12px;

    color: var(--green);
    font-family: var(--heading-font);
    font-size: 26px;
    line-height: 1;
}

.service-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
}

.timing-hours {
    display: inline-block;
    margin-bottom: 12px !important;
    padding: 4px 12px;
    border-radius: 20px;
    background: #e3ece0;
    color: var(--green-dark) !important;
    font-size: 12px !important;
    font-weight: bold;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 16px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.service-card a {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: bold;
}

.service-card a:hover {
    color: var(--green);
    text-decoration: underline;
}


/* =========================================
   TEACHER PROFILE
========================================= */

.teacher {
    background: #eef2e9;
    text-align: center;
}

.teacher-content {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.teacher-content h2 {
    color: var(--green-dark);
    margin-bottom: 14px;
    text-align: center;
}

.teacher-bio-text {
    margin-bottom: 20px;
    color: #5b675f;
    font-size: 14px;
    line-height: 1.9;
    text-align: center;
}

.highlight-text {
    color: var(--green-dark);
    font-weight: bold;
}

.teacher-credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 45px;
    width: 100%;
    margin: 22px 0;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 190px;
}

.credential-item strong {
    color: var(--green-dark);
    font-size: 20px;
    line-height: 1.3;
    display: block;
    margin-bottom: 4px;
}

.credential-item span {
    color: var(--muted);
    font-size: 12px;
    display: block;
}

.ayush-item {
    position: relative;
    padding-top: 68px;
}

.ayush-logo-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ayush-thumbnail-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.teacher-button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 2px;
}


/* =========================================
   TESTIMONIALS
========================================= */

.testimonials {
    background: #f2f4f1;
}

.testimonial-grid {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonial-card {
    min-width: 0;
    padding: 30px 25px;

    border: 1px solid #e8ece6;
    border-radius: 6px;
    background: white;

    text-align: center;
    box-shadow: 0 4px 18px rgba(35, 53, 47, 0.04);
}

.stars {
    margin-bottom: 14px;
    color: #a4a85b;
    letter-spacing: 3px;
}

.testimonial-card p {
    margin-bottom: 20px;

    color: #66736e;
    font-size: 13px;
    line-height: 1.85;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    font-size: 14px;
}

.testimonial-card span {
    color: #8b958e;
    font-size: 12px;
}


/* =========================================
   CONTACT & SOCIAL ICONS STYLING
========================================= */

.contact {
    background: #e7eee3;
    padding: 30px 6%;
}

.whatsapp-connect-section {
    background: #fbfaf6;
    padding: 40px 6%;
}

.contact-box {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 34px;

    border: 1px solid rgba(41, 79, 60, 0.08);
    border-radius: 10px;
    background: white;

    box-shadow: 0 10px 35px rgba(44, 70, 50, 0.07);
}

.whatsapp-connect-box {
    max-width: 680px;
    padding: 42px;
    text-align: center;
}

.contact-header-text {
    text-align: center;
    margin-bottom: 18px;
}

.contact-header-text h2 {
    color: var(--green-dark);
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 6px;
}

.contact-header-text p:not(.eyebrow) {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

#booking-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#booking-form label {
    font-size: 12px;
    font-weight: bold;
    color: var(--text);
}

#booking-form input,
#booking-form select,
#booking-form textarea {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;

    border: 1px solid var(--border);
    border-radius: 5px;
    background: #fdfdfb;
    color: var(--text);
    font-size: 13px;
    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#booking-form textarea {
    min-height: 62px;
    resize: vertical;
}

#booking-form input:focus,
#booking-form select:focus,
#booking-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(98, 138, 82, 0.12);
}

#booking-form button {
    width: 100%;
    margin-top: 6px;
}

.contact-links-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: 20px;
    background: #f2f6ef;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: bold;
    transition: background 0.2s ease, transform 0.2s ease;
}

.social-pill:hover {
    background: #e1ebdc;
    transform: translateY(-2px);
}

.social-icon {
    flex-shrink: 0;
    fill: currentColor;
}

.whatsapp-direct-btn-wrapper {
    margin-top: 24px;
}

.whatsapp-huge-btn {
    font-size: 14px;
    padding: 14px 28px;
}


/* =========================================
   EMBEDDED GOOGLE MAP STYLES
========================================= */

.map-section {
    background: #fbfaf6;
    padding: 30px 6%;
}

.map-container-box {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid rgba(41, 79, 60, 0.08);
    border-radius: 10px;
    background: white;
    box-shadow: 0 10px 35px rgba(44, 70, 50, 0.07);
    text-align: center;
}

.map-responsive-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-responsive-wrapper iframe {
    width: 100%;
    height: 380px;
    display: block;
    border-radius: 8px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 40px 6% 24px;

    background: #e1e9cb;
    color: #4c6150;
    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 8px;

    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: bold;
    color: var(--green-dark);
}

.footer > p {
    margin-bottom: 16px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;

    margin: 18px 0 12px;
}

.footer-links a,
.footer-social-links a {
    font-size: 12px;
}

.footer-links a:hover,
.footer-social-links a:hover {
    color: var(--green-dark);
    text-decoration: underline;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: bold;
}

.footer-social-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.footer .copyright {
    padding-top: 18px;
    border-top: 1px solid rgba(65, 90, 64, 0.15);
    margin-bottom: 0;

    color: #77836d;
    font-size: 11px;
}


/* =========================================
   TABLET & MOBILE RESPONSIVE
========================================= */

@media (max-width: 1100px) {
    .navbar {
        gap: 12px;
        padding-inline: 3%;
    }
    .nav-left,
    .nav-right {
        gap: 12px;
    }
    .navbar a {
        font-size: 11.5px;
    }
    .logo {
        font-size: 16px !important;
    }
    .category-grid,
    .timings-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .services-two-parts-wrapper {
        grid-template-columns: 1fr;
    }
    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .testimonial-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 78px;
    }
    .header {
        height: auto;
        min-height: var(--header-height);
    }
    .navbar {
        min-height: var(--header-height);
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 10px 5%;
        gap: 10px;
    }
    .logo {
        grid-column: 1;
        grid-row: 1;
        align-items: flex-start;
        text-align: left;
        font-size: 16px !important;
    }
    .logo-symbol {
        display: none;
    }
    .logo small {
        font-size: 7px;
    }
    .menu-toggle {
        display: block;
        grid-column: 2;
        grid-row: 1;
    }
    .nav-left,
    .nav-right {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }
    .navbar.menu-open .nav-left,
    .navbar.menu-open .nav-right {
        display: flex;
    }
    .navbar .nav-left a,
    .navbar .nav-right a {
        padding: 12px 0;
        border-top: 1px solid var(--border);
        font-size: 14px;
    }
    #nav-login-link {
        border: 0;
        border-top: 1px solid var(--border);
        border-radius: 0;
        padding: 12px 0;
    }
    .hero {
        min-height: 100svh;
        padding: 110px 22px 85px;
    }
    .section {
        min-height: auto;
        padding: 55px 6%;
    }
    .category-grid,
    .service-grid,
    .timings-grid,
    .two-col-grid,
    .testimonial-grid,
    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .category-card {
        min-height: 0;
    }
    .testimonial-card:last-child {
        grid-column: auto;
    }
    .contact-box {
        padding: 24px 20px;
    }
}