/* =========================================
   PEDDAKOTA — UNIQUE EDITORIAL DESIGN
   Developer: Syamkilli
========================================= */

:root {

    --red: #9e2b20;
    --red-dark: #681812;

    --cream: #f8f3e9;
    --paper: #fffdf8;

    --green: #173f2c;
    --green-light: #dfeadf;

    --gold: #c99a3d;

    --ink: #18221d;
    --muted: #718078;

    --white: #ffffff;

    --border: rgba(24,34,29,.12);

    --shadow:
        0 25px 70px rgba(24,34,29,.12);

    --radius: 28px;

    --transition:
        .35s cubic-bezier(.2,.8,.2,1);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Noto Sans Telugu",
        sans-serif;

    background: var(--paper);

    color: var(--ink);

    line-height: 1.8;

    overflow-x: hidden;

    transition:
        background .3s,
        color .3s;
}


body.dark {

    --paper: #101613;
    --cream: #151d19;

    --ink: #f4f2e9;
    --muted: #a6b1aa;

    --border: rgba(255,255,255,.1);

    --white: #18211c;

    background: #101613;
}


body.dark .site-header {
    background: rgba(12,18,15,.88);
}


body.dark .story,
body.dark .life,
body.dark .gallery,
body.dark .location,
body.dark .contact,
body.dark .education-section {
    background: #101613;
}


body.dark .story-content,
body.dark .contact-form,
body.dark .lake-card,
body.dark .gallery-item {
    background: #18211c;
}


body.dark .intro-strip {
    background: #17211c;
}


body.dark .temple-list article {
    background: #18211c;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


.container {

    width: min(1180px, 92%);

    margin-inline: auto;
}


/* =========================================
   PRELOADER
========================================= */

#preloader {

    position: fixed;

    inset: 0;

    z-index: 9999;

    background: var(--green);

    color: white;

    display: grid;

    place-items: center;

    align-content: center;

    gap: 12px;

    transition: .5s;
}


#preloader.hide {

    opacity: 0;

    visibility: hidden;
}


.loader-symbol {

    font-size: 55px;

    animation:
        pulse 1.2s infinite;
}


.loader-line {

    width: 120px;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold),
            transparent
        );
}


#preloader p {

    letter-spacing: 5px;

    font-weight: 700;
}


@keyframes pulse {

    50% {
        transform: scale(1.1);
    }
}


/* =========================================
   HEADER
========================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    padding: 17px 0;

    background:
        rgba(23,63,44,.82);

    backdrop-filter: blur(18px);

    color: white;

    border-bottom:
        1px solid rgba(255,255,255,.1);

    transition: var(--transition);
}


.site-header.scrolled {

    padding: 10px 0;

    box-shadow:
        0 10px 30px rgba(0,0,0,.15);
}


.header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}


.brand-mark {

    width: 44px;
    height: 44px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--gold);

    color: var(--green);

    font-weight: 900;

    font-size: 19px;
}


.brand strong {

    display: block;

    font-size: 20px;

    line-height: 1.1;
}


.brand small {

    display: block;

    font-size: 8px;

    letter-spacing: 2px;

    opacity: .65;
}


.main-nav {

    display: flex;

    align-items: center;

    gap: 5px;
}


.main-nav a {

    font-size: 12px;

    padding: 8px 10px;

    border-radius: 8px;

    opacity: .82;

    transition: .25s;
}


.main-nav a:hover,
.main-nav a.active {

    background: rgba(255,255,255,.12);

    opacity: 1;
}


.header-actions {

    display: flex;

    gap: 7px;
}


.icon-btn,
.menu-btn {

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255,255,255,.15);

    border-radius: 11px;

    color: white;

    background: rgba(255,255,255,.08);

    font-size: 20px;
}


.menu-btn {
    display: none;
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 760px;

    position: relative;

    overflow: hidden;

    background: var(--green);

    color: white;

    display: flex;

    align-items: center;

    padding-top: 90px;
}


.hero-bg {

    position: absolute;

    inset: 0;

    overflow: hidden;
}


.hero-image {

    position: absolute;

    right: -8%;

    top: 0;

    width: 62%;

    height: 100%;

    opacity: .45;
}


.hero-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            black 30%
        );
}


.hero-bg::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            var(--green) 25%,
            rgba(23,63,44,.82) 55%,
            rgba(23,63,44,.15)
        );
}


.hero-orb {

    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

    opacity: .5;
}


.orb-one {

    width: 500px;
    height: 500px;

    background: #8c5a24;

    right: 2%;

    top: -200px;
}


.orb-two {

    width: 300px;
    height: 300px;

    background: #c89a3d;

    left: -150px;

    bottom: -180px;

    opacity: .18;
}


.hero-layout {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns: 1.1fr .75fr;

    align-items: center;

    gap: 80px;
}


.eyebrow,
.section-index {

    font-size: 11px;

    letter-spacing: 3px;

    font-weight: 800;

    color: var(--gold);
}


.hero h1 {

    font-size:
        clamp(65px, 10vw, 125px);

    line-height: 1;

    margin: 17px 0;

    font-weight: 900;

    letter-spacing: -5px;
}


.hero h1 span {

    display: block;

    color: var(--gold);

    font-size: .38em;

    letter-spacing: 1px;

    margin-top: 15px;
}


.hero-lead {

    max-width: 540px;

    color: rgba(255,255,255,.75);

    font-size: 17px;
}


.hero-actions {

    display: flex;

    gap: 12px;

    margin-top: 30px;

    flex-wrap: wrap;
}


.btn {

    min-height: 49px;

    padding: 10px 20px;

    border-radius: 100px;

    border: 1px solid transparent;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    font-weight: 700;

    font-size: 13px;

    transition: var(--transition);
}


.btn-main {

    background: var(--red);

    color: white;

    box-shadow:
        0 12px 30px rgba(158,43,32,.25);
}


.btn-main:hover {

    transform: translateY(-3px);

    background: #b43527;
}


.btn-ghost {

    border-color:
        rgba(255,255,255,.25);

    color: white;

    background:
        rgba(255,255,255,.05);
}


.btn-ghost:hover {

    background: white;

    color: var(--green);
}


.hero-meta {

    display: flex;

    gap: 35px;

    margin-top: 55px;

    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,.15);
}


.hero-meta strong {

    display: block;

    color: white;

    font-size: 16px;
}


.hero-meta span {

    color: rgba(255,255,255,.45);

    font-size: 8px;

    letter-spacing: 2px;
}


/* HERO CARD */

.hero-card {

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.18);

    backdrop-filter: blur(15px);

    padding: 12px;

    border-radius: 30px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.25);
}


.hero-card-top {

    display: flex;

    justify-content: space-between;

    padding: 10px 8px;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: .7;
}


.hero-card-image {

    height: 380px;

    border-radius: 22px;

    overflow: hidden;

    position: relative;

    background:
        radial-gradient(
            circle at 50% 30%,
            #e5ad46,
            #8e2018 55%,
            #330b09
        );
}


.hero-card-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.image-placeholder {

    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    font-size: 100px;

    pointer-events: none;
}


.hero-card-image img:not([style*="display: none"])
~ .image-placeholder {
    display: none;
}


.hero-card-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 8px 7px;
}


.hero-card-bottom small {

    color: rgba(255,255,255,.5);

    font-size: 10px;
}


.hero-card-bottom h2 {

    font-size: 24px;

    color: white;
}


.round-arrow {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background: var(--gold);

    color: var(--green);

    font-size: 18px;
}


.hero-bottom {

    position: absolute;

    z-index: 3;

    bottom: 25px;

    left: 0;

    width: 100%;

    font-size: 9px;

    letter-spacing: 3px;

    color: rgba(255,255,255,.45);
}


.hero-bottom-inner {

    display: flex;

    align-items: center;

    gap: 15px;
}


.scroll-line {

    width: 80px;

    height: 1px;

    background: rgba(255,255,255,.3);
}


/* =========================================
   INTRO STRIP
========================================= */

.intro-strip {

    background: var(--paper);

    border-bottom: 1px solid var(--border);
}


.intro-grid {

    display: grid;

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


.intro-grid > div {

    padding: 25px;

    border-right: 1px solid var(--border);

    display: grid;

    grid-template-columns: auto 1fr;

    column-gap: 12px;

    align-items: center;
}


.intro-grid > div:last-child {
    border: none;
}


.strip-number {

    grid-row: span 2;

    color: var(--gold);

    font-size: 11px;

    font-weight: 800;
}


.intro-grid strong {

    font-size: 14px;
}


.intro-grid small {

    color: var(--muted);

    font-size: 10px;
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {

    padding: 120px 0;
}


.story,
.life,
.gallery,
.location,
.contact {

    background: var(--paper);
}


.section-heading {

    display: grid;

    grid-template-columns: 1fr .65fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 60px;
}


.section-heading.centered {

    grid-template-columns: 1fr;

    text-align: center;

    max-width: 750px;

    margin-inline: auto;

    margin-bottom: 55px;
}


.section-heading h2,
.temple-header h2,
.community-copy h2,
.education-layout h2,
.location-copy h2,
.contact-copy h2 {

    font-size:
        clamp(42px, 6vw, 75px);

    line-height: 1.08;

    letter-spacing: -2px;

    margin-top: 12px;
}


.section-heading h2 em,
.community-copy h2 em,
.location-copy h2 em,
.contact-copy h2 em {

    color: var(--red);

    font-style: normal;
}


.section-heading > p {

    color: var(--muted);

    font-size: 15px;

    max-width: 390px;
}


/* =========================================
   STORY
========================================= */

.story-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


.image-frame {

    position: relative;

    overflow: hidden;

    border-radius: var(--radius);

    min-height: 500px;

    background:
        linear-gradient(
            135deg,
            #c98f40,
            #315e3c
        );
}


.image-frame > img,
.life-photo > img,
.community-photo > img,
.education-image > img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    position: absolute;

    inset: 0;
}


.fallback-art {

    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    font-size: 120px;

    background:
        radial-gradient(
            circle,
            #e4b04b,
            #7d271d 60%,
            #173f2c
        );
}


.image-label {

    position: absolute;

    bottom: 20px;

    left: 20px;

    padding: 14px 17px;

    background:
        rgba(0,0,0,.45);

    backdrop-filter: blur(10px);

    color: white;

    border-radius: 15px;
}


.image-label span {

    display: block;

    font-size: 9px;

    letter-spacing: 2px;

    opacity: .7;
}


.image-label strong {

    font-size: 20px;
}


.story-content {

    position: relative;
}


.quote-mark {

    color: var(--gold);

    font-size: 80px;

    line-height: .5;
}


.large-text {

    font-size: 25px;

    line-height: 1.7;

    font-weight: 600;

    margin: 20px 0;
}


.story-content > p:not(.large-text) {

    color: var(--muted);

    font-size: 14px;
}


.story-facts {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-top: 30px;
}


.story-facts > div {

    padding: 12px;

    border: 1px solid var(--border);

    border-radius: 13px;

    display: flex;

    gap: 10px;

    align-items: center;
}


.story-facts span {

    font-size: 20px;
}


.story-facts small {

    display: block;

    color: var(--muted);

    font-size: 9px;
}


.story-facts strong {

    font-size: 12px;
}


/* =========================================
   TEMPLE
========================================= */

.temple {

    background:
        var(--cream);

    color: var(--ink);
}


.temple-header {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;
}


.temple-header > p {

    max-width: 400px;

    color: var(--muted);
}


.temple-feature {

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    min-height: 550px;

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--green);

    color: white;

    box-shadow: var(--shadow);
}


.temple-photo {

    position: relative;

    min-height: 550px;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            #dfaa42,
            #8e2018 55%,
            #250a08
        );
}


.temple-photo > img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    position: absolute;

    inset: 0;
}


.temple-photo .fallback-art {

    position: absolute;

    inset: 0;
}


.vertical-text {

    position: absolute;

    left: 20px;

    top: 20px;

    writing-mode: vertical-rl;

    font-size: 9px;

    letter-spacing: 4px;

    opacity: .7;
}


.temple-story {

    padding: 65px;
}


.mini-label {

    color: var(--gold);

    font-size: 12px;

    font-weight: 800;
}


.temple-story h3 {

    font-size:
        clamp(42px,5vw,70px);

    line-height: 1.15;

    margin: 15px 0 25px;
}


.temple-story > p {

    color: rgba(255,255,255,.65);

    font-size: 14px;

    max-width: 450px;
}


.festival-highlight {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 35px;

    padding: 20px;

    border-radius: 18px;

    background:
        rgba(255,255,255,.08);

    border:
        1px solid rgba(255,255,255,.1);
}


.festival-number {

    color: var(--gold);

    font-size: 65px;

    line-height: .8;

    font-weight: 900;
}


.festival-highlight small,
.festival-highlight strong,
.festival-highlight span {

    display: block;
}


.festival-highlight small {

    opacity: .5;

    font-size: 10px;
}


.festival-highlight strong {

    font-size: 14px;
}


.festival-highlight span {

    color: var(--gold);

    font-size: 11px;
}


.text-link {

    display: inline-block;

    margin-top: 30px;

    color: white;

    font-size: 12px;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 3px;
}


.temple-list {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 10px;

    margin-top: 12px;
}


.temple-list article {

    padding: 25px;

    background: var(--paper);

    border: 1px solid var(--border);

    border-radius: 18px;

    display: flex;

    gap: 13px;

    align-items: center;
}


.temple-list article > span {

    font-size: 27px;
}


.temple-list small {

    display: block;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: 1px;
}


.temple-list h3 {

    font-size: 13px;
}


/* =========================================
   LIFE
========================================= */

.life-grid {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 70px;

    align-items: center;
}


.green-label {

    color: var(--green);

    font-size: 11px;

    font-weight: 900;

    letter-spacing: 2px;
}


.life-copy h3 {

    font-size: 55px;

    margin: 8px 0;
}


.life-copy > p {

    color: var(--muted);

    max-width: 420px;

    font-size: 15px;
}


.crop-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}


.crop-tags span {

    border: 1px solid var(--border);

    padding: 7px 12px;

    border-radius: 100px;

    font-size: 11px;

    background: rgba(255,255,255,.5);
}


.life-photo {

    min-height: 480px;

    position: relative;

    overflow: hidden;

    border-radius: var(--radius);

    background:
        linear-gradient(
            #8bc4df,
            #42893d
        );
}


.photo-caption {

    position: absolute;

    bottom: 20px;

    left: 20px;

    padding: 15px 18px;

    background:
        rgba(0,0,0,.45);

    backdrop-filter: blur(10px);

    border-radius: 15px;

    color: white;
}


.photo-caption strong,
.photo-caption span {

    display: block;
}


.photo-caption strong {

    font-size: 18px;
}


.photo-caption span {

    font-size: 10px;

    opacity: .7;
}


/* =========================================
   WATER
========================================= */

.water {

    background: var(--green);

    color: white;
}


.water .section-heading h2 {

    color: white;
}


.water .section-heading > p {

    color: rgba(255,255,255,.6);
}


.lake-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;
}


.lake-card {

    position: relative;

    background: var(--paper);

    color: var(--ink);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0,0,0,.2);
}


.lake-number {

    position: absolute;

    top: 20px;

    left: 20px;

    z-index: 2;

    color: white;

    font-weight: 900;

    font-size: 12px;

    background: rgba(0,0,0,.35);

    padding: 5px 9px;

    border-radius: 8px;
}


.lake-photo {

    height: 330px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            #8dc9df,
            #458ca7 55%,
            #4d843b 56%
        );
}


.lake-photo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    position: absolute;

    inset: 0;
}


.lake-info {

    padding: 27px;
}


.lake-info > span {

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 2px;
}


.lake-info h3 {

    font-size: 28px;

    margin: 3px 0;
}


.lake-info p {

    color: var(--muted);

    font-size: 13px;
}


/* =========================================
   COMMUNITY
========================================= */

.community {

    background: var(--paper);
}


.community-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


.community-copy > p {

    max-width: 470px;

    color: var(--muted);

    font-size: 15px;

    margin-top: 20px;
}


.counter-box {

    margin-top: 35px;

    display: flex;

    align-items: center;

    gap: 18px;

    width: fit-content;

    padding: 15px 20px;

    border: 1px solid var(--border);

    border-radius: 18px;
}


.big-counter {

    font-size: 55px;

    font-weight: 900;

    color: var(--red);

    line-height: 1;
}


.counter-box strong {

    display: block;

    font-size: 14px;
}


.counter-box span {

    color: var(--muted);

    font-size: 10px;
}


.community-photo {

    min-height: 500px;

    border-radius: var(--radius);

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #d1a8ef,
            #684097
        );
}


.community-photo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    position: absolute;

    inset: 0;
}


.unity-badge {

    position: absolute;

    bottom: 25px;

    right: 25px;

    width: 120px;

    height: 120px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    align-content: center;

    background: var(--gold);

    color: var(--green);

    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}


.unity-badge span {

    font-size: 23px;
}


.unity-badge strong {

    letter-spacing: 2px;

    font-size: 14px;
}


.unity-badge small {

    font-size: 8px;
}


/* =========================================
   EDUCATION
========================================= */

.education-section {

    padding: 90px 0;

    background: var(--cream);
}


.education-layout {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 60px;

    align-items: center;
}


.education-layout > div:first-child p {

    margin-top: 20px;

    color: var(--muted);
}


.education-image {

    height: 320px;

    border-radius: var(--radius);

    overflow: hidden;

    position: relative;

    background:
        linear-gradient(
            135deg,
            #d2a04a,
            #8e3324
        );
}


.education-image img {

    object-fit: cover;
}


/* =========================================
   FESTIVAL
========================================= */

.festival-section {

    min-height: 520px;

    position: relative;

    overflow: hidden;

    display: grid;

    place-items: center;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            135deg,
            #54130e,
            #a52d20
        );
}


.festival-bg {

    position: absolute;

    inset: 0;

    opacity: .15;

    background:
        radial-gradient(
            circle at 50% 30%,
            #ffd36d,
            transparent 25%
        );
}


.festival-inner {

    position: relative;

    z-index: 2;
}


.festival-inner h2 {

    font-size:
        clamp(45px,7vw,85px);

    line-height: 1.1;

    margin: 15px 0;
}


.festival-inner p {

    max-width: 520px;

    margin-inline: auto;

    color: rgba(255,255,255,.7);
}


.festival-chip {

    display: inline-block;

    margin-top: 25px;

    padding: 9px 17px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 100px;

    font-size: 12px;
}


/* =========================================
   GALLERY
========================================= */

.gallery-top {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 35px;
}


.gallery-top h2 {

    font-size:
        clamp(40px,6vw,70px);

    line-height: 1.1;

    margin-top: 10px;
}


.gallery-controls {

    display: flex;

    gap: 8px;

    flex-wrap: wrap;
}


.gallery-controls input,
.gallery-controls select {

    height: 43px;

    border: 1px solid var(--border);

    background: var(--paper);

    color: var(--ink);

    border-radius: 10px;

    padding: 0 12px;

    outline: none;

    font-size: 11px;
}


.gallery-controls input:focus,
.gallery-controls select:focus {

    border-color: var(--red);
}


.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 16px;
}


.gallery-item {

    border-radius: 20px;

    overflow: hidden;

    background: white;

    border: 1px solid var(--border);

    cursor: pointer;

    transition: var(--transition);
}


.gallery-item:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow);
}


.gallery-image {

    height: 280px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #d7b15c,
            #8d2d22
        );
}


.gallery-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    position: absolute;

    inset: 0;

    transition: .6s;
}


.gallery-item:hover .gallery-image img {

    transform: scale(1.05);
}


.gallery-caption {

    padding: 15px 17px;
}


.gallery-caption span {

    display: block;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 2px;
}


.gallery-caption strong {

    font-size: 15px;
}


.upload-box {

    margin-top: 30px;

    padding: 25px;

    border: 1px dashed var(--border);

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: rgba(255,255,255,.3);
}


.upload-box h3 {

    font-size: 16px;
}


.upload-box p {

    color: var(--muted);

    font-size: 11px;
}


.upload-icon {

    color: var(--gold);

    font-size: 30px;
}


.upload-btn {

    display: inline-flex;

    padding: 11px 17px;

    border-radius: 100px;

    background: var(--green);

    color: white;

    cursor: pointer;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================
   LOCATION
========================================= */

.location-grid {

    display: grid;

    grid-template-columns: 1.25fr .75fr;

    gap: 30px;

    align-items: stretch;
}


.map-card {

    min-height: 480px;

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow);
}


.map-card iframe {

    width: 100%;
    height: 100%;

    min-height: 480px;

    border: 0;
}


.location-copy {

    padding: 40px;

    background: var(--cream);

    border-radius: var(--radius);
}


.address-list {

    margin: 30px 0;

    display: grid;

    gap: 8px;
}


.address-list div {

    display: flex;

    gap: 12px;

    align-items: center;

    padding: 12px 0;

    border-bottom: 1px solid var(--border);
}


.address-list span {

    font-size: 18px;
}


.address-list strong {

    font-size: 13px;
}


/* =========================================
   CONTACT
========================================= */

.contact-layout {

    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 80px;

    align-items: start;
}


.contact-copy > p {

    color: var(--muted);

    font-size: 15px;

    margin-top: 20px;

    max-width: 400px;
}


.contact-note {

    margin-top: 25px;

    color: var(--muted);

    font-size: 11px;

    padding: 12px;

    border-left: 2px solid var(--gold);
}


.contact-form {

    padding: 35px;

    border-radius: var(--radius);

    background: white;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);
}


body.dark .contact-form {
    background: #18211c;
}


.form-row {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.form-group {

    margin-bottom: 15px;
}


.form-group label {

    display: block;

    font-size: 10px;

    color: var(--muted);

    margin-bottom: 5px;
}


.form-group input,
.form-group textarea {

    width: 100%;

    border: 1px solid var(--border);

    background: var(--paper);

    color: var(--ink);

    padding: 13px 14px;

    border-radius: 12px;

    outline: none;

    font-size: 13px;

    resize: vertical;
}


.form-group input:focus,
.form-group textarea:focus {

    border-color: var(--red);

    box-shadow:
        0 0 0 3px rgba(158,43,32,.08);
}


.submit-btn {

    width: 100%;

    border: 0;
}


.form-status {

    margin-top: 12px;

    text-align: center;

    font-size: 12px;
}


.form-status.success {

    color: #278347;
}


.form-status.error {

    color: var(--red);
}


/* =========================================
   FOOTER
========================================= */

.footer {

    background: var(--green);

    color: white;

    padding: 70px 0 20px;
}


.footer-top {

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 40px;

    padding-bottom: 55px;
}


.footer-brand h2 {

    color: var(--gold);

    font-size: 30px;

    margin-top: 10px;
}


.footer-brand p {

    color: rgba(255,255,255,.5);

    font-size: 12px;
}


.footer-links h4 {

    color: var(--gold);

    font-size: 12px;

    margin-bottom: 13px;

    letter-spacing: 1px;
}


.footer-links a,
.footer-links p {

    display: block;

    color: rgba(255,255,255,.6);

    font-size: 11px;

    margin-bottom: 6px;

    transition: .2s;
}


.footer-links a:hover {

    color: white;

    transform: translateX(4px);
}


.footer-bottom {

    padding-top: 20px;

    border-top:
        1px solid rgba(255,255,255,.1);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    color: rgba(255,255,255,.4);

    font-size: 10px;
}


.footer-bottom strong {

    color: var(--gold);
}


/* =========================================
   MODAL
========================================= */

.image-modal {

    position: fixed;

    inset: 0;

    z-index: 3000;

    background:
        rgba(5,10,8,.94);

    display: grid;

    place-items: center;

    padding: 30px;

    opacity: 0;

    visibility: hidden;

    transition: .3s;
}


.image-modal.open {

    opacity: 1;

    visibility: visible;
}


.image-modal img {

    max-width: min(1000px,95vw);

    max-height: 80vh;

    object-fit: contain;

    border-radius: 15px;
}


.modal-close {

    position: absolute;

    right: 25px;

    top: 20px;

    width: 45px;
    height: 45px;

    border: 1px solid rgba(255,255,255,.2);

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    color: white;

    font-size: 28px;
}


#modalTitle {

    position: absolute;

    bottom: 25px;

    color: white;

    font-size: 13px;
}


/* =========================================
   TO TOP
========================================= */

.to-top {

    position: fixed;

    right: 20px;

    bottom: 20px;

    width: 45px;
    height: 45px;

    border: 0;

    border-radius: 50%;

    background: var(--red);

    color: white;

    font-size: 20px;

    z-index: 500;

    opacity: 0;

    visibility: hidden;

    transform: translateY(20px);

    transition: .3s;
}


.to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* =========================================
   REVEAL
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1000px) {

    .main-nav {

        gap: 0;
    }

    .main-nav a {

        font-size: 10px;

        padding: 7px;
    }


    .hero-layout {

        gap: 35px;
    }


    .temple-list {

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


    .footer-top {

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

}


@media(max-width:780px) {

    .menu-btn {
        display: block;
    }


    .main-nav {

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        padding: 10px;

        background: var(--green);

        flex-direction: column;

        align-items: stretch;

        box-shadow:
            0 20px 30px rgba(0,0,0,.2);
    }


    .main-nav.open {
        display: flex;
    }


    .main-nav a {

        padding: 12px 15px;

        font-size: 12px;
    }


    .hero {

        min-height: auto;

        padding: 130px 0 100px;
    }


    .hero-layout,
    .story-grid,
    .temple-feature,
    .life-grid,
    .community-layout,
    .education-layout,
    .location-grid,
    .contact-layout {

        grid-template-columns: 1fr;
    }


    .hero-card {

        max-width: 520px;

        margin: auto;
    }


    .hero-card-image {

        height: 330px;
    }


    .hero-image {

        width: 100%;

        right: 0;

        opacity: .18;
    }


    .hero-bg::after {

        background:
            linear-gradient(
                90deg,
                var(--green),
                rgba(23,63,44,.8)
            );
    }


    .intro-grid {

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


    .intro-grid > div {

        border-bottom: 1px solid var(--border);
    }


    .section-heading {

        grid-template-columns: 1fr;

        gap: 15px;
    }


    .temple-header {

        flex-direction: column;

        align-items: start;
    }


    .temple-story {

        padding: 40px 25px;
    }


    .temple-photo {

        min-height: 400px;
    }


    .lake-grid,
    .gallery-grid {

        grid-template-columns: 1fr;
    }


    .gallery-top {

        align-items: start;

        flex-direction: column;
    }


    .gallery-controls {

        width: 100%;
    }


    .gallery-controls input {

        flex: 1;
    }


    .upload-box {

        flex-direction: column;

        align-items: start;
    }


    .hero-meta {

        gap: 18px;
    }

}


@media(max-width:500px) {

    .container {

        width: min(92%, 430px);
    }


    .brand strong {

        font-size: 17px;
    }


    .hero h1 {

        font-size: 65px;

        letter-spacing: -3px;
    }


    .hero-lead {

        font-size: 14px;
    }


    .hero-meta {

        flex-wrap: wrap;
    }


    .intro-grid {

        grid-template-columns: 1fr;
    }


    .intro-grid > div {

        border-right: 0;
    }


    .story-facts {

        grid-template-columns: 1fr;
    }


    .large-text {

        font-size: 20px;
    }


    .temple-list {

        grid-template-columns: 1fr;
    }


    .life-copy h3 {

        font-size: 45px;
    }


    .form-row {

        grid-template-columns: 1fr;
    }


    .contact-form {

        padding: 23px;
    }


    .footer-top {

        grid-template-columns: 1fr;
    }


    .footer-bottom {

        flex-direction: column;

        text-align: center;
    }


    .section {

        padding: 80px 0;
    }

}