/* ==========================================
   CHANDRAVANA ASHRAMA - MAIN STYLESHEET
   ========================================== */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--color-gray-900);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-text-dark); }
p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

/* Inner-page main content (not the homepage, which has no #main-content) gets a serif reading font. Headings keep --font-heading via their own direct rule above. */
#main-content {
    font-family: 'Lora', Georgia, serif;
    font-size: 18px;
    line-height: 1.75;
}
/* !important needed: many templates set inline font-size on <p>/<li>, which otherwise wins over the inherited value above. */
#main-content p,
#main-content li {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 18px !important;
    line-height: 1.75 !important;
}

/* ---- Utility Classes ---- */
.container { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--space-6); }
.container--wide { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-saffron { color: var(--color-saffron); }
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }

/* ---- Section Layout ---- */
.section { padding: var(--section-padding-desktop) 0; }
.section--dark { background-color: var(--color-blue-deep); color: var(--color-white); }
.section--off-white { background-color: var(--color-off-white); }
.section--saffron { background-color: var(--color-saffron); color: var(--color-white); }

.section-eyebrow {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-saffron);
    margin-bottom: var(--space-3);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--color-blue-deep);
    margin-bottom: var(--space-4);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-gold));
    margin-top: var(--space-3);
}

.section-title--center::after { margin-left: auto; margin-right: auto; }
.section-title--white { color: var(--color-white); }
.section-title--white::after { background: linear-gradient(90deg, var(--color-gold), #fff6); }

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--color-gray-500);
    max-width: 640px;
    margin-bottom: var(--space-10);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-saffron);
    color: var(--color-white);
    border: 2px solid var(--color-saffron);
}
.btn--primary:hover { background-color: #B45309; border-color: #B45309; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--secondary {
    background-color: transparent;
    color: var(--color-saffron);
    border: 2px solid var(--color-saffron);
}
.btn--secondary:hover { background-color: var(--color-saffron); color: var(--color-white); transform: translateY(-1px); }

.btn--white {
    background-color: var(--color-white);
    color: var(--color-blue-deep);
    border: 2px solid var(--color-white);
}
.btn--white:hover { background-color: transparent; color: var(--color-white); }

.btn--outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.7);
}
.btn--outline-white:hover { background-color: rgba(255,255,255,0.1); border-color: var(--color-white); }

.btn--gold {
    background: linear-gradient(135deg, var(--color-gold), var(--color-saffron));
    color: var(--color-white);
    border: none;
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,39,0.4); }

.btn--sm { padding: 8px 18px; font-size: var(--text-xs); }
.btn--lg { padding: 16px 36px; font-size: var(--text-base); }
.btn--full { width: 100%; justify-content: center; }

/* ---- Top Bar ---- */
.top-bar {
    background-color: var(--color-blue-deep);
    color: rgba(255,255,255,0.9);
    font-size: var(--text-xs);
    padding: 8px 0;
    position: relative;
    z-index: var(--z-sticky);
}

.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.top-bar__left {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.top-bar__event {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 500;
}

.top-bar__event-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.top-bar__event-badge--today { background-color: var(--color-saffron); color: white; }

.top-bar__right {
    display: flex;
    align-items: center;
    gap: var(--space-5);
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    transition: color var(--transition-fast);
}
.top-bar__contact:hover { color: var(--color-gold); }

/* ---- Header / Navigation ---- */
.site-header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: box-shadow var(--transition-base);
}

.site-header.is-scrolled { box-shadow: var(--shadow-lg); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: var(--space-6);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.site-logo__img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.site-logo__text { line-height: 1.0; }
.site-logo__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-blue-deep);
    letter-spacing: 0.02em;
}

/* Main Navigation */
.main-nav { flex: 1; display: flex; justify-content: center; }

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav__item { position: relative; }

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
}

/* Active / hover states */
.main-nav__link:hover,
.main-nav__link.active,
.main-nav__item.current-menu-item > .main-nav__link,
.main-nav__item.current-menu-parent > .main-nav__link,
.main-nav__item.current-menu-ancestor > .main-nav__link {
    color: var(--color-saffron);
}

/* Active indicator underline */
.main-nav__item.current-menu-item > .main-nav__link::after,
.main-nav__item.current-menu-ancestor > .main-nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--color-saffron);
    border-radius: 2px;
}

.main-nav__item { position: relative; }

.main-nav__arrow {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.main-nav__item:hover > .main-nav__link .main-nav__arrow,
.main-nav__item:focus-within > .main-nav__link .main-nav__arrow {
    transform: rotate(180deg);
    color: var(--color-saffron);
}

/* ---- Dropdown ---- */
.main-nav__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 230px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--color-gray-100);
    border-top: 3px solid var(--color-saffron);
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
    z-index: 500;
    list-style: none;
    margin: 0;
}

/* Show on hover AND keyboard focus-within */
.main-nav__item:hover > .main-nav__dropdown,
.main-nav__item:focus-within > .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega-dropdown: two-column grid for Services */
.main-nav__dropdown--mega {
    min-width: 380px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px var(--space-2);
    padding: var(--space-3);
}

/* Dropdown links */
.main-nav__dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast), padding-left var(--transition-fast);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav__dropdown-link::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-gold);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.main-nav__dropdown-link:hover,
.main-nav__dropdown-link.active {
    background-color: var(--color-off-white);
    color: var(--color-saffron);
    padding-left: 18px;
}

.main-nav__dropdown-link:hover::before,
.main-nav__dropdown-link.active::before {
    opacity: 1;
}

/* Services mega dropdown section title */
.main-nav__mega-section-title {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-saffron);
    padding: 0 var(--space-2) var(--space-2);
    border-bottom: 1px solid var(--color-gray-100);
    margin-bottom: var(--space-2);
    grid-column: 1 / -1;
}

/* Header actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    font-size: var(--text-xs);
    font-weight: 600;
}

.lang-switcher__btn {
    padding: 4px 8px;
    background: transparent;
    color: var(--color-gray-500);
    transition: all var(--transition-fast);
    border: none;
    font-size: 11px;
}
.lang-switcher__btn.active, .lang-switcher__btn:hover { background: var(--color-saffron); color: white; }

.lang-switcher--topbar {
    border-color: rgba(255,255,255,0.25);
}
.lang-switcher--topbar .lang-switcher__btn {
    color: rgba(255,255,255,0.75);
}
.lang-switcher--topbar .lang-switcher__btn.active,
.lang-switcher--topbar .lang-switcher__btn:hover {
    background: var(--color-saffron);
    color: white;
}

.header__donate-btn {
    background: var(--color-saffron);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.header__donate-btn:hover { background: #B45309; transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
    cursor: pointer;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-blue-deep);
    border-radius: 2px;
    transition: all var(--transition-base);
}
.mobile-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
    pointer-events: none;
}

.mobile-nav__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.mobile-nav__drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 90vw);
    height: 100%;
    background: var(--color-white);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open { pointer-events: all; }
.mobile-nav.is-open .mobile-nav__overlay { opacity: 1; }
.mobile-nav.is-open .mobile-nav__drawer { transform: translateX(0); }

.mobile-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--color-gray-100);
    background: var(--color-blue-deep);
    color: white;
}

.mobile-nav__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.mobile-nav__body { padding: var(--space-4); flex: 1; }

.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px var(--space-4);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--color-gray-800);
    border-bottom: 1px solid var(--color-gray-100);
    transition: all var(--transition-fast);
}
.mobile-nav__link:hover { color: var(--color-saffron); background: var(--color-off-white); border-radius: var(--radius-md); }

.mobile-nav__submenu { display: none; padding-left: var(--space-4); }
.mobile-nav__submenu.is-open { display: block; }
.mobile-nav__sub-link {
    display: block;
    padding: 10px var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    border-bottom: 1px solid var(--color-gray-50);
    transition: color var(--transition-fast);
}
.mobile-nav__sub-link:hover { color: var(--color-saffron); }

.mobile-nav__footer {
    padding: var(--space-5);
    border-top: 1px solid var(--color-gray-100);
    background: var(--color-off-white);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

/* ---- HERO SECTION ---- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0a1628;
}

.hero__video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero__img-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.hero__overlay {
    position: absolute;
    inset: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    color: var(--color-white);
    padding: var(--space-12) 0;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
}
.hero__eyebrow::before, .hero__eyebrow::after { content: ''; flex: 0 0 30px; height: 1px; background: var(--color-gold); }

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--space-5);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero__title span { color: var(--color-gold); display: block; }

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
}

.hero__scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.6);
    font-size: var(--text-xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero__scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
    margin-bottom: var(--space-1);
}

/* Slider Dots */
.hero__dots {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: var(--space-2);
    z-index: 2;
}

.hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all var(--transition-base);
}
.hero__dot.active { background: var(--color-gold); width: 24px; border-radius: 4px; }

/* ---- STATISTICS SECTION ---- */
.stats-section {
    background: var(--color-white);
    padding: var(--space-12) 0;
    border-bottom: 1px solid var(--color-gray-100);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    background: var(--color-gray-100);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.stat-card {
    background: var(--color-white);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    position: relative;
    transition: all var(--transition-base);
}

.stat-card:hover { background: var(--color-off-white); }

.stat-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-3);
    color: var(--color-saffron);
}

.stat-card__number {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--color-blue-deep);
    line-height: 1;
    margin-bottom: var(--space-1);
}

.stat-card__suffix {
    color: var(--color-saffron);
    font-size: 0.8em;
}

.stat-card__label {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- SWAMIJI MESSAGE + EVENTS (split layout) ---- */
.message-events {
    padding-top: 45px;
    padding-bottom: 45px;
    background: var(--color-off-white);
}

.message-events__grid {
    display: grid;
    grid-template-columns: 3.5fr 3.5fr 3fr;
    gap: var(--space-8);
    align-items: start;
}

/* Swamiji Photo column */
.swamiji-photo { position: relative; align-self: stretch; }
.swamiji-photo .swamiji-message__image { margin-bottom: 0; max-width: calc(100% - 20px); height: 100%; }
.swamiji-photo .swamiji-message__image img {
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
    transform: scale(1.2);
    transform-origin: top center;
}

/* Swamiji Message */
.swamiji-message { position: relative; }

.swamiji-message__label {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-saffron);
    margin-bottom: var(--space-2);
}

.swamiji-message__title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--color-blue-deep);
    margin-bottom: var(--space-4);
    position: relative;
}

.swamiji-message__title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-gold));
    margin-top: var(--space-3);
}

.swamiji-message__image {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-6);
    position: relative;
    box-shadow: var(--shadow-xl);
}

.swamiji-message__image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: top;
}

.swamiji-message__image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10,22,40,0.8));
    padding: var(--space-6);
    color: white;
}

.swamiji-message__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
}

.swamiji-message__quote {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-gray-700);
    line-height: 1.7;
    margin-bottom: var(--space-5);
    padding-left: var(--space-5);
    border-left: 3px solid var(--color-gold);
    position: relative;
}

.swamiji-message__quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 8px;
    font-size: 60px;
    color: var(--color-gold);
    opacity: 0.3;
    line-height: 1;
    font-family: Georgia, serif;
}

.swamiji-message__signature {
    font-family: 'Dancing Script', Georgia, serif;
    font-size: var(--text-lg);
    font-style: italic;
    font-weight: 700;
    color: var(--color-blue-deep);
    line-height: 1.5;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    position: relative;
    display: inline-block;
}
.swamiji-message__signature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
}

/* Upcoming Events */
.events-panel__header {
    margin-bottom: var(--space-4);
    white-space: nowrap;
}

.events-panel__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--color-blue-deep);
}

.events-panel__view-all-wrap {
    margin-top: var(--space-3);
}

.events-panel__view-all {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-saffron);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}
.events-panel__view-all:hover { color: #B45309; }

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.event-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.event-card__image {
    position: relative;
    height: 65px;
    overflow: hidden;
}
.event-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.event-card:hover .event-card__image img { transform: scale(1.05); }

.event-card__date {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--color-saffron);
    color: white;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
    text-align: center;
    min-width: 36px;
}
.event-card__date-day { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 700; line-height: 1; }
.event-card__date-month { font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.9; }

.event-card__body { padding: var(--space-2); }
.event-card__title { font-size: var(--text-sm); font-weight: 700; color: var(--color-blue-deep); margin-bottom: var(--space-2); line-height: 1.3; }
.event-card__meta { font-size: 11px; color: var(--color-gray-500); margin-bottom: 0; display: flex; align-items: center; gap: var(--space-1); }
.event-card__register {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-saffron);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 4px;
}
.event-card__register:hover { color: #B45309; }

/* ---- EVENTS HUB ---- */
.events-hub__controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}
.events-hub__controls .gallery-tabs { margin-bottom: 0; justify-content: flex-start; }

.view-toggle { display: inline-flex; border: 2px solid var(--color-gray-200); border-radius: var(--radius-full); padding: 2px; }
.view-toggle__btn {
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all var(--transition-base);
}
.view-toggle__btn.active { background: var(--color-blue-deep); color: white; }

.events-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-6);
}
.events-hub-grid .event-card__image { height: 160px; }

.event-card__category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
}

.event-card__recurring-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(30,58,95,0.9);
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 6px;
    border-radius: var(--radius-sm);
}

.events-hub__empty {
    text-align: center;
    color: var(--color-gray-500);
    padding: var(--space-10) 0;
}

.events-hub__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-5);
    margin-top: var(--space-6);
}
.events-hub__legend-item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); color: var(--color-gray-700); }
.events-hub__legend-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

#event-calendar {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-card);
    --fc-border-color: var(--color-gray-200);
    --fc-button-bg-color: var(--color-saffron);
    --fc-button-border-color: var(--color-saffron);
    --fc-button-hover-bg-color: #B45309;
    --fc-button-hover-border-color: #B45309;
    --fc-button-active-bg-color: var(--color-blue-deep);
    --fc-button-active-border-color: var(--color-blue-deep);
    --fc-today-bg-color: rgba(217,119,6,0.08);
    --fc-page-bg-color: transparent;
}
#event-calendar .fc-toolbar-title { font-family: var(--font-heading); color: var(--color-blue-deep); }

.events-hub__subtitle { max-width: 820px; white-space: nowrap; }

@media (max-width: 640px) {
    .events-hub__controls { flex-direction: column; align-items: stretch; }
    .events-hub-grid { grid-template-columns: 1fr; }
    .events-hub__subtitle { white-space: normal; max-width: 100%; }
}

/* ---- SERVICES SECTION ---- */
.services-section {
    padding-top: 45px;
    padding-bottom: 45px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        135deg,
        var(--color-saffron) 0px,
        var(--color-saffron) 1px,
        transparent 1px,
        transparent 22px
    );
    opacity: 0.08;
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-bottom: var(--space-8);
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-gold));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before { opacity: 1; }
.service-card:hover .service-card__icon, .service-card:hover .service-card__title, .service-card:hover .service-card__desc { color: white; position: relative; z-index: 1; }

.service-card__icon {
    width: 64px;
    height: 64px;
    background: var(--color-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--color-saffron);
    font-size: 28px;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}
.service-card:hover .service-card__icon { background: rgba(255,255,255,0.2); }

.service-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-blue-deep);
    margin-bottom: var(--space-2);
    position: relative;
    z-index: 1;
    transition: color var(--transition-base);
}

.service-card__desc {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    position: relative;
    z-index: 1;
    transition: color var(--transition-base);
}

/* ---- TEMPLE SECTION ---- */
.temple-section {
    position: relative;
    min-height: 384px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.temple-section__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.temple-section__bg-div {
    position: absolute;
    inset: 0;
    background-image: url('../images/ashrama/ashrama4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: brightness(0.55);
}

.temple-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%);
}

.temple-section__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.temple-section__eyebrow {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: var(--space-3);
}

.temple-section__title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    color: white;
    margin-bottom: var(--space-4);
}

.temple-section__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-8);
    line-height: 1.7;
}

/* ---- ACCOMMODATION SECTION ---- */
.accommodation-section {
    padding-top: 45px;
    padding-bottom: 45px;
    background: var(--color-off-white);
}

.accommodation-section__inner {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.rooms-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    border: 1px solid var(--color-gray-100);
}
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.room-card__image {
    height: 140px;
    overflow: hidden;
    position: relative;
}
.room-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.room-card:hover .room-card__image img { transform: scale(1.05); }

.room-card__body { padding: var(--space-4); }
.room-card__name { font-size: var(--text-sm); font-weight: 700; color: var(--color-blue-deep); margin-bottom: 2px; }
.room-card__type { font-size: 11px; color: var(--color-saffron); font-weight: 500; margin-bottom: var(--space-2); }
.room-card__price { font-family: var(--font-heading); font-size: var(--text-base); font-weight: 700; color: var(--color-blue-deep); margin-bottom: var(--space-3); }
.room-card__price span { font-size: var(--text-sm); font-weight: 400; color: var(--color-gray-500); }

/* Daily Mantra Card */
.daily-mantra-card {
    background: linear-gradient(135deg, var(--color-blue-deep), #0d2140);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    color: white;
    text-align: center;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(201,162,39,0.3);
}

.daily-mantra-card__label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.daily-mantra-card__label::before, .daily-mantra-card__label::after { content: '✦'; font-size: 8px; color: var(--color-gold); }

.daily-mantra-card__mantra {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--color-gold);
    margin-bottom: var(--space-2);
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(201,162,39,0.5);
}

.daily-mantra-card__english {
    font-size: var(--text-xl);
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-4);
}

.daily-mantra-card__meaning {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.mantra-listen-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    padding: 12px;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.4);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    font-size: var(--text-sm);
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
}
.mantra-listen-btn:hover { background: rgba(201,162,39,0.25); }

.mantra-listen-btn__play {
    width: 32px;
    height: 32px;
    background: var(--color-saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---- GALLERY SECTION ---- */
.gallery-section {
    padding-top: 45px;
    padding-bottom: 45px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--color-gold) 1px, transparent 1px);
    background-size: 18px 18px;
    opacity: 0.6;
    pointer-events: none;
}

.gallery-section .container {
    position: relative;
    z-index: 1;
}

.gallery-section .gallery-tab,
.gallery-section .btn--secondary {
    background-color: var(--color-white);
}
.gallery-section .gallery-tab.active { background-color: var(--color-saffron); }

.gallery-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-tab {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 2px solid var(--color-gray-200);
    color: var(--color-gray-600);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}
.gallery-tab.active, .gallery-tab:hover { border-color: var(--color-saffron); color: var(--color-saffron); background: rgba(217,119,6,0.05); }
.gallery-tab.active { background: var(--color-saffron); color: white; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    gap: var(--space-3);
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--color-gray-100);
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; }

.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--transition-slow); min-height: 160px; }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,22,40,0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-base);
    color: white;
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

/* ---- DONATION SECTION ---- */
.donation-section {
    padding-top: 45px;
    padding-bottom: 45px;
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-white) 100%);
    position: relative;
}

.donation-section__bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: repeating-linear-gradient(
        45deg,
        var(--color-saffron) 0,
        var(--color-saffron) 1px,
        transparent 0,
        transparent 50%
    );
    background-size: 20px 20px;
}

.donation-section__intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    margin-bottom: var(--space-12);
}

.donation-section__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 360px;
}
.donation-section__image img { width: 100%; height: 100%; object-fit: cover; }

.donation-section__eyebrow {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-saffron);
    margin-bottom: var(--space-3);
}

.donation-section__heading {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    color: var(--color-blue-deep);
    margin-bottom: var(--space-4);
    white-space: nowrap;
}

.donation-section__heading em { color: var(--color-saffron); font-style: normal; }

.donation-section__desc {
    font-size: var(--text-base);
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-bottom: var(--space-6);
}

.donation-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.donation-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
}
.donation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); border-color: var(--color-saffron); }

.donation-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-3);
    background: var(--color-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-saffron);
    font-size: 26px;
    transition: all var(--transition-base);
}
.donation-card:hover .donation-card__icon { background: var(--color-saffron); color: white; }

.donation-card__name {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-blue-deep);
    margin-bottom: var(--space-1);
}

.donation-card__desc {
    font-size: 11px;
    color: var(--color-gray-500);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

.donation-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
}

.trust-badge__icon {
    width: 48px;
    height: 48px;
    background: var(--color-off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-saffron);
    font-size: 20px;
    flex-shrink: 0;
}

.trust-badge__text strong { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--color-blue-deep); }
.trust-badge__text span { font-size: var(--text-xs); color: var(--color-gray-500); }

/* ---- CONTACT / VISIT SECTION ---- */
.visit-section {
    padding-top: 30px;
    padding-bottom: 30px;
    background: var(--color-off-white);
}

.visit-section__grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: var(--space-8);
    align-items: start;
}

.visit-section__info h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-blue-deep);
    margin-bottom: var(--space-5);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-gray-700);
}

.contact-item__icon {
    width: 36px;
    height: 36px;
    background: var(--color-saffron);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item__text strong { display: block; color: var(--color-blue-deep); font-weight: 600; margin-bottom: 2px; }
.contact-item__text a { color: var(--color-saffron); transition: color var(--transition-fast); }
.contact-item__text a:hover { color: #B45309; }

.visit-section__map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 320px;
    background: var(--color-gray-200);
    align-self: center;
}

.visit-section__map iframe { width: 100%; height: 100%; border: none; }

.visit-section__connect h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-blue-deep);
    margin-bottom: var(--space-5);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2);
    margin-bottom: var(--space-5);
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    border: 1px solid var(--color-gray-100);
    font-size: 10px;
    font-weight: 600;
    color: var(--color-gray-700);
    transition: all var(--transition-base);
}
.social-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.social-link__icon { font-size: 16px; }
.social-link--facebook .social-link__icon { color: #1877F2; }
.social-link--instagram .social-link__icon { color: #E4405F; }
.social-link--youtube .social-link__icon { color: #FF0000; }
.social-link--twitter .social-link__icon { color: #1DA1F2; }
.social-link--whatsapp .social-link__icon { color: #25D366; }
.social-link--telegram .social-link__icon { color: #2CA5E0; }

.whatsapp-cta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: #25D366;
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-base);
    margin-bottom: var(--space-3);
}
.whatsapp-cta:hover { background: #1DA855; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,211,102,0.4); }

/* ---- FOOTER ---- */
.site-footer {
    background-color: var(--color-blue-deep);
    color: rgba(255,255,255,0.8);
}

.footer-main {
    padding: 45px 0 38px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
}

.footer-brand {}

.footer-brand__logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.footer-brand__icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.footer-brand__icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-brand__name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: white;
}

.footer-brand__tagline { font-size: var(--text-xs); color: var(--color-gold); letter-spacing: 0.1em; text-transform: uppercase; }

.footer-brand__desc {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: var(--space-6);
}

.footer-social-row {
    display: flex;
    gap: var(--space-3);
}

.footer-social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: all var(--transition-base);
}
.footer-social-btn:hover { background: var(--color-saffron); color: white; transform: translateY(-2px); }

.footer-col__title {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
}
.footer-col__title::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 30px; height: 2px; background: var(--color-gold); }

.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-link {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}
.footer-link::before { content: '→'; font-size: 10px; color: var(--color-gold); opacity: 0.6; }
.footer-link:hover { color: var(--color-gold); transform: translateX(4px); }

/* Newsletter */
.newsletter-form { display: flex; flex-direction: column; gap: var(--space-3); }
.newsletter-input {
    width: 100%;
    padding: 12px var(--space-4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.07);
    color: white;
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast);
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus { outline: none; border-color: var(--color-gold); }

.newsletter-submit {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--color-saffron);
    color: white;
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}
.newsletter-submit:hover { background: #B45309; transform: translateY(-1px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 0;
}

.footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-bottom__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.45); }
.footer-bottom__copy a { color: var(--color-gold); transition: color var(--transition-fast); }
.footer-bottom__links { display: flex; gap: var(--space-5); }
.footer-bottom__link { font-size: var(--text-xs); color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.footer-bottom__link:hover { color: var(--color-gold); }

/* ---- STICKY MOBILE CTAs ---- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: var(--color-white);
    border-top: 1px solid var(--color-gray-100);
    padding: var(--space-3) var(--space-4);
    gap: var(--space-2);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: var(--z-sticky);
    transition: all var(--transition-base);
    cursor: pointer;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 25px rgba(37,211,102,0.5); }

/* ---- INNER PAGES ---- */
.page-hero {
    background: linear-gradient(135deg, var(--color-blue-deep), #0d2140);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A227' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero__eyebrow { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--color-gold); margin-bottom: var(--space-3); position: relative; }
.page-hero__title { font-family: var(--font-heading); font-size: clamp(32px, 5vw, 52px); color: white; margin-bottom: var(--space-4); position: relative; }
.swamiji-page-title { white-space: nowrap; font-size: clamp(18px, 3.2vw, 44px); }
.page-hero__subtitle { font-size: var(--text-lg); color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; position: relative; }

/* ---- ABOUT SECTION PAGES (TEXTURE) ---- */
.is-about-section main#main-content {
    position: relative;
    overflow: hidden;
    padding-bottom: 0;
}
.is-about-section main#main-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--color-blue-deep) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    pointer-events: none;
}
.is-about-section main#main-content > .container {
    position: relative;
    z-index: 1;
}

/* ---- FORMS ---- */
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-gray-700); margin-bottom: var(--space-2); }
.form-label.required::after { content: ' *'; color: var(--color-error); }

.form-input, .form-select, .form-textarea {
    width: 100%;
    height: 48px;
    padding: 0 var(--space-4);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-family: var(--font-body);
    color: var(--color-gray-900);
    background: var(--color-white);
    transition: all var(--transition-fast);
}
.form-textarea { height: 120px; padding: var(--space-3) var(--space-4); resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-saffron); box-shadow: 0 0 0 3px rgba(217,119,6,0.1); }
.form-input.error { border-color: var(--color-error); }
.form-error { font-size: var(--text-xs); color: var(--color-error); margin-top: var(--space-1); }
.form-success { font-size: var(--text-xs); color: var(--color-success); margin-top: var(--space-1); }

.amount-btn.active { background: var(--color-saffron); color: var(--color-white); border-color: var(--color-saffron); }
.donation-message { font-size: var(--text-sm); margin-bottom: var(--space-3); display: none; }
.donation-message:not(:empty) { display: block; }
.donation-message--error { color: var(--color-error); }
.donation-message--success { color: var(--color-success); }

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in { animation: fadeIn 0.6s ease forwards; }
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

[data-animate] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1280px) {
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .donation-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; max-width: 480px; }
}

@media (max-width: 1024px) {
    :root { --section-padding-desktop: 64px; }
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header__donate-btn { display: none; }
    .lang-switcher { display: none; }
    .lang-switcher--topbar { display: none; }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .message-events__grid { grid-template-columns: 1fr 1fr; }
    .swamiji-photo { grid-column: 1 / -1; }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .accommodation-section__inner { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .gallery-item:nth-child(6) { grid-column: span 1; }
    .donation-section__intro { grid-template-columns: 1fr; }
    .donation-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .visit-section__grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .top-bar__left { display: none; }
}

@media (max-width: 768px) {
    :root { --section-padding-desktop: var(--section-padding-mobile); }
    .section-title { font-size: var(--text-3xl); }
    .top-bar { display: none; }
    .message-events__grid { grid-template-columns: 1fr; }
    .swamiji-photo { grid-column: auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .rooms-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .donation-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .donation-trust-badges { grid-template-columns: 1fr; }
    .swamiji-intro { grid-template-columns: 1fr !important; }
    .visit-section__grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom__inner { flex-direction: column; text-align: center; }
    .mobile-sticky-cta { display: flex; }
    .whatsapp-float { bottom: 90px; }
    .hero { min-height: 100svh; }
    .hero__actions { flex-direction: column; }
    .hero__dots { bottom: 80px; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .rooms-grid { grid-template-columns: 1fr; }
    .donation-cards-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- WordPress Specifics ---- */
.wp-block-image { margin: var(--space-6) 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin-right: var(--space-6); }
.alignright { float: right; margin-left: var(--space-6); }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: var(--text-sm); color: var(--color-gray-500); text-align: center; margin-top: var(--space-2); }

/* Screen reader text */
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.screen-reader-text:focus { clip: auto; display: block; height: auto; left: 5px; top: 5px; font-size: var(--text-sm); font-weight: bold; padding: var(--space-4); width: auto; z-index: 100000; background: white; border-radius: var(--radius-md); }
