/* =========================================================
   SHRI VISHWAKARMA MANDIR
   Premium Devotional Website CSS
   ========================================================= */


/* =========================================================
   1. ROOT VARIABLES
   ========================================================= */

:root {
    --maroon: #6b1d0e;
    --dark-maroon: #3f1007;
    --deep-red: #8f2d13;
    --saffron: #c85a17;
    --orange: #e47b1d;

    --gold: #f4c45b;
    --dark-gold: #b77a18;
    --light-gold: #ffe4a0;

    --cream: #fff8e8;
    --cream-2: #fffdf7;
    --white: #ffffff;

    --text: #4a2415;
    --text-light: #795f4c;
    --border: #ead7b6;

    --shadow: 0 12px 35px rgba(75, 28, 10, 0.12);

    --radius: 16px;

    --container: 1180px;

    --transition: all 0.3s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans Devanagari", sans-serif;
    color: var(--text);
    background: var(--cream-2);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

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

::selection {
    background: var(--gold);
    color: var(--dark-maroon);
}


/* =========================================================
   3. COMMON CONTAINER
   ========================================================= */

.container {
    width: min(100% - 40px, var(--container));
    margin: auto;
}


/* =========================================================
   4. TOP BAR
   ========================================================= */

.topbar {
    background:
        linear-gradient(
            90deg,
            var(--dark-maroon),
            var(--maroon),
            var(--dark-maroon)
        );

    color: var(--light-gold);

    font-size: 13px;

    padding: 7px 15px;

    text-align: center;

    border-bottom: 1px solid rgba(244, 196, 91, 0.25);
}

.topbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

.top-welcome {
    color: #fff0d0;
}


/* =========================================================
   5. HEADER
   ========================================================= */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;

    height: 78px;

    background: rgba(255, 250, 240, 0.96);

    backdrop-filter: blur(12px);

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

    box-shadow:
        0 4px 20px rgba(80, 30, 10, 0.08);
}

.header-inner {
    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   6. BRAND / LOGO
   ========================================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: var(--maroon);

    min-width: max-content;
}

.brand-mark {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    font-family: serif;

    font-size: 28px;

    color: var(--cream);

    background:
        radial-gradient(
            circle at 35% 30%,
            #f7c95b,
            var(--saffron) 45%,
            var(--maroon)
        );

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

    box-shadow:
        0 4px 14px rgba(119, 35, 10, 0.25);
}

.brand-text strong {
    display: block;

    font-size: 18px;

    line-height: 1.3;
}

.brand-text small {
    display: block;

    margin-top: 2px;

    color: #9a6b3f;

    font-size: 10px;

    line-height: 1.3;
}


/* =========================================================
   7. NAVIGATION
   ========================================================= */

#mainNav {
    display: flex;

    align-items: center;

    gap: 25px;
}

#mainNav a {
    position: relative;

    color: #62301c;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    padding: 8px 0;

    transition: var(--transition);
}

#mainNav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

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

    transform: translateX(-50%);

    transition: var(--transition);
}

#mainNav a:hover,
#mainNav a.active {
    color: var(--saffron);
}

#mainNav a:hover::after,
#mainNav a.active::after {
    width: 100%;
}


/* =========================================================
   8. MOBILE MENU BUTTON
   ========================================================= */

.menu-btn {
    display: none;

    width: 44px;
    height: 44px;

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

    border-radius: 8px;

    background: var(--cream);

    color: var(--maroon);

    font-size: 25px;

    cursor: pointer;

    transition: var(--transition);
}

.menu-btn:hover {
    background: var(--gold);
}


/* =========================================================
   9. HERO SECTION
   ========================================================= */

.hero {
    position: relative;

    min-height: 650px;

    overflow: hidden;

    color: var(--white);

    background:
        radial-gradient(
            circle at 80% 50%,
            rgba(255, 207, 93, 0.28),
            transparent 32%
        ),
        linear-gradient(
            120deg,
            #5b160a 0%,
            #81260f 48%,
            #bd4d16 100%
        );
}

.hero-pattern {
    position: absolute;

    inset: 0;

    opacity: 0.08;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, 0.9) 1px,
            transparent 1px
        );

    background-size: 28px 28px;

    pointer-events: none;
}

.hero-grid {
    min-height: 650px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(400px, 0.92fr);

    align-items: center;

    gap: 30px;
}


/* =========================================================
   10. HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 5;

    padding: 50px 0;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--gold);

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.3px;

    margin-bottom: 12px;
}

.hero h1 {
    margin: 0;

    font-family:
        "Tiro Devanagari Hindi",
        serif;

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

    line-height: 1.2;

    color: var(--gold);

    text-shadow:
        0 4px 15px rgba(44, 5, 0, 0.55);
}

.hero h2 {
    max-width: 700px;

    margin: 20px 0 12px;

    font-size: clamp(20px, 2.2vw, 28px);

    line-height: 1.55;

    color: #fff3d5;
}

.hero-content > p {
    max-width: 650px;

    color: #ffe6bd;

    font-size: 16px;
}


/* =========================================================
   11. HERO BUTTONS
   ========================================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 13px;

    margin: 28px 0;
}

.btn {
    min-height: 46px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 22px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    color: #541508;

    background:
        linear-gradient(
            135deg,
            #f9d46c,
            #e7a526
        );

    border: 1px solid #ffdc7a;

    box-shadow:
        0 8px 22px rgba(40, 8, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 28px rgba(40, 8, 0, 0.3);
}

.btn-outline {
    color: #fff2d0;

    border: 1px solid rgba(255, 225, 151, 0.65);

    background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);

    border-color: var(--gold);

    transform: translateY(-3px);
}

.mantra {
    color: var(--gold);

    font-family:
        "Tiro Devanagari Hindi",
        serif;

    font-size: 17px;
}


/* =========================================================
   12. TEMPLE ART
   ========================================================= */

.temple-art {
    position: relative;

    height: 500px;

    display: grid;

    place-items: center;
}

.sun {
    position: absolute;

    top: 15px;

    font-size: 150px;

    color: rgba(255, 209, 91, 0.12);

    filter: blur(1px);
}

.temple-arch {
    position: absolute;

    border: 3px solid rgba(244, 196, 91, 0.34);

    border-bottom: 0;

    border-radius:
        220px 220px 0 0;
}

.arch-one {
    width: 390px;
    height: 410px;

    bottom: 28px;
}

.arch-two {
    width: 320px;
    height: 345px;

    bottom: 28px;
}


/* =========================================================
   13. DEITY SYMBOL
   ========================================================= */

.deity {
    position: relative;

    z-index: 5;

    width: 230px;
    height: 310px;

    margin-top: 100px;

    text-align: center;
}

.crown {
    color: var(--gold);

    font-family: serif;

    font-size: 58px;

    line-height: 1;
}

.deity-face {
    width: 110px;
    height: 110px;

    margin: auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #fff1b0;

    font-family: serif;

    font-size: 36px;

    background:
        radial-gradient(
            circle at 35% 30%,
            #ffdb82,
            #c25b1d 65%,
            #81200d
        );

    border: 4px solid #f5c45c;

    box-shadow:
        0 0 45px rgba(255, 202, 85, 0.25);
}

.deity-robe {
    width: 185px;
    height: 140px;

    margin: -6px auto 0;

    background:
        linear-gradient(
            135deg,
            #e7ad32,
            #8d270e
        );

    clip-path:
        polygon(
            25% 0,
            75% 0,
            100% 100%,
            0 100%
        );

    border: 2px solid #f6ca61;
}

.tool {
    position: absolute;

    top: 150px;

    color: var(--gold);

    font-size: 48px;

    text-shadow:
        0 4px 8px rgba(40, 5, 0, 0.3);
}

.tool-one {
    left: -5px;
}

.tool-two {
    right: -5px;
}

.pillars {
    position: absolute;

    bottom: 65px;

    display: flex;

    gap: 24px;
}

.pillars i {
    width: 25px;
    height: 170px;

    display: block;

    border-radius: 4px;

    background:
        linear-gradient(
            90deg,
            #8c300f,
            #f3bd51,
            #8e300f
        );

    box-shadow:
        0 0 0 3px rgba(255, 211, 107, 0.12);
}

.temple-steps {
    position: absolute;

    bottom: 0;

    width: 340px;
    height: 65px;

    background:
        repeating-linear-gradient(
            to bottom,
            #9d3c14 0 14px,
            #e4a03e 14px 17px
        );

    clip-path:
        polygon(
            8% 0,
            92% 0,
            100% 100%,
            0 100%
        );
}


/* =========================================================
   14. QUICK SERVICES
   ========================================================= */

.quick-services {
    position: relative;

    z-index: 20;

    margin-top: -1px;
}

.quick-grid {
    display: grid;

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

    background: var(--cream);

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

    border-top: 0;

    border-radius:
        0 0 18px 18px;

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

.quick-item {
    min-height: 90px;

    padding: 18px 20px;

    display: flex;

    align-items: center;

    gap: 14px;

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

.quick-item:last-child {
    border-right: 0;
}

.quick-item > span {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 23px;

    background: #fff0c9;
}

.quick-item strong {
    display: block;

    color: var(--maroon);

    font-size: 14px;
}

.quick-item small {
    display: block;

    color: #92765e;

    font-size: 10px;
}


/* =========================================================
   15. GENERAL SECTION
   ========================================================= */

.section {
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-heading > span {
    color: var(--saffron);

    font-size: 13px;

    font-weight: 800;
}

.section-heading h2 {
    margin: 8px 0 12px;

    color: var(--maroon);

    font-family:
        "Tiro Devanagari Hindi",
        serif;

    font-size: clamp(30px, 4vw, 42px);

    line-height: 1.35;
}

.section-heading p {
    color: var(--text-light);

    font-size: 14px;
}


/* =========================================================
   16. ABOUT
   ========================================================= */

.about-section {
    background:
        linear-gradient(
            180deg,
            #fffdf7,
            #fff9ee
        );
}

.about-grid {
    display: grid;

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

    gap: 20px;
}

.about-card {
    padding: 30px;

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

    border-radius: var(--radius);

    background: var(--cream);

    box-shadow:
        0 5px 20px rgba(80, 30, 10, 0.04);

    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 35px rgba(80, 30, 10, 0.12);
}

.about-card.featured {
    color: #fff0d0;

    border-color: transparent;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255, 201, 82, 0.2),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #7f250f,
            #b64b17
        );
}

.card-icon {
    font-size: 35px;

    margin-bottom: 8px;
}

.about-card h3 {
    color: var(--maroon);

    font-size: 20px;

    margin-bottom: 8px;
}

.about-card.featured h3 {
    color: #ffe19a;
}

.about-card p {
    color: #775e49;

    font-size: 13px;
}

.about-card.featured p {
    color: #ffe6c0;
}

.about-card a {
    display: inline-block;

    margin-top: 14px;

    color: var(--saffron);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}

.about-card.featured a {
    color: var(--gold);
}


/* =========================================================
   17. AARTI
   ========================================================= */

.aarti-section {
    background:
        radial-gradient(
            circle at 50% 0,
            #ffe3a5,
            transparent 40%
        ),
        #fff3d9;
}

.timing-grid {
    display: grid;

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

    gap: 18px;
}

.timing-card {
    padding: 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    border: 1px solid #e8d0a5;

    border-radius: 14px;

    background:
        rgba(255, 250, 240, 0.95);

    box-shadow:
        0 8px 22px rgba(80, 30, 10, 0.05);
}

.timing-icon {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 50%;

    font-size: 29px;

    background:
        linear-gradient(
            145deg,
            #fff0bd,
            #f7d57c
        );
}

.timing-card small {
    color: #a06e3e;

    font-size: 11px;
}

.timing-card h3 {
    color: var(--maroon);

    font-size: 18px;

    line-height: 1.4;
}

.timing-card strong {
    color: var(--saffron);

    font-size: 14px;
}

.section-note {
    margin-top: 22px;

    text-align: center;

    color: #96795f;

    font-size: 11px;
}


/* =========================================================
   18. EVENTS
   ========================================================= */

.events-section {
    background: var(--cream-2);
}

.events-list {
    max-width: 900px;

    margin: auto;
}

.event-card {
    display: grid;

    grid-template-columns:
        75px 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 20px;

    margin-bottom: 14px;

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

    border-radius: 14px;

    background: var(--cream);

    transition: var(--transition);
}

.event-card:hover {
    transform: translateX(5px);

    box-shadow:
        0 12px 30px rgba(80, 30, 10, 0.08);
}

.event-date {
    padding: 9px;

    text-align: center;

    color: var(--light-gold);

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            var(--maroon),
            var(--deep-red)
        );
}

.event-date strong {
    display: block;

    font-size: 27px;

    line-height: 1;
}

.event-date small {
    font-size: 10px;
}

.event-tag {
    display: inline-block;

    padding: 3px 9px;

    border-radius: 20px;

    color: #8c461d;

    background: #f3ddb1;

    font-size: 10px;

    font-weight: 700;
}

.event-info h3 {
    margin: 5px 0;

    color: var(--maroon);

    font-size: 18px;
}

.event-info p {
    color: #7c6654;

    font-size: 13px;
}

.event-link {
    color: var(--saffron);

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================================
   19. GALLERY
   ========================================================= */

.gallery-section {
    background: #fff3d9;
}

.gallery-grid {
    display: grid;

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

    grid-template-rows:
        190px 190px;

    gap: 13px;
}

.gallery-item {
    position: relative;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 22px;

    border-radius: 16px;

    color: white;

    text-decoration: none;

    isolation: isolate;

    transition: var(--transition);
}

.gallery-item::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -1;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(255, 215, 109, 0.5),
            transparent 38%
        );
}

.gallery-item::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: -2;

    background:
        linear-gradient(
            to top,
            rgba(45, 7, 0, 0.75),
            rgba(100, 20, 5, 0.15)
        );
}

.gallery-item:hover {
    transform: scale(1.015);

    box-shadow:
        0 15px 35px rgba(80, 30, 10, 0.18);
}

.gallery-large {
    grid-row: span 2;

    background:
        linear-gradient(
            145deg,
            #7d230d,
            #d47a21
        );
}

.gallery-aarti {
    background:
        linear-gradient(
            145deg,
            #6d1909,
            #b74614
        );
}

.gallery-flower {
    background:
        linear-gradient(
            145deg,
            #a35b18,
            #e1a33b
        );
}

.gallery-event {
    background:
        linear-gradient(
            145deg,
            #541307,
            #9d3512
        );
}

.gallery-item span {
    position: relative;

    font-size: 42px;

    margin-bottom: 4px;
}

.gallery-item strong {
    position: relative;

    font-size: 16px;
}


/* =========================================================
   20. CTA
   ========================================================= */

.cta-section {
    position: relative;

    overflow: hidden;

    padding: 55px 0;

    color: #fff0d1;

    background:
        radial-gradient(
            circle at 90% 30%,
            rgba(255, 208, 96, 0.18),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #5f1709,
            #9d3613
        );
}

.cta-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.cta-content {
    display: flex;

    align-items: center;

    gap: 18px;
}

.cta-content > span {
    font-size: 42px;
}

.cta-content h2 {
    color: var(--gold);

    font-family:
        "Tiro Devanagari Hindi",
        serif;

    font-size: 28px;
}

.cta-content p {
    margin-top: 4px;

    color: #ffe5bd;

    font-size: 13px;
}

.btn-light {
    color: #5e190b;

    background:
        linear-gradient(
            135deg,
            #ffe08a,
            #efb635
        );

    white-space: nowrap;

    box-shadow:
        0 8px 20px rgba(40, 8, 0, 0.2);
}

.btn-light:hover {
    transform: translateY(-3px);
}


/* =========================================================
   21. FOOTER
   ========================================================= */

.footer-main {
    padding: 60px 0;

    color: #f5ddbd;

    background:
        linear-gradient(
            135deg,
            #421108,
            #2e0a04
        );
}

.footer-grid {
    display: grid;

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

    gap: 40px;
}

.footer-brand {
    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--gold);

    font-size: 22px;
}

.footer-brand strong {
    font-size: 18px;
}

.footer-about > p {
    max-width: 330px;

    margin-top: 10px;

    color: #d8b894;

    font-size: 13px;
}

.footer-grid h3 {
    margin-bottom: 12px;

    color: var(--gold);

    font-size: 16px;
}

.footer-grid a {
    display: block;

    margin: 6px 0;

    color: #eacbab;

    text-decoration: none;

    font-size: 13px;

    transition: var(--transition);
}

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

    padding-left: 4px;
}

.footer-grid p {
    margin: 5px 0;

    color: #d8b894;

    font-size: 12px;
}

.copyright {
    padding: 15px 20px;

    text-align: center;

    color: #c9a07d;

    background: #280a04;

    font-size: 11px;

    border-top: 1px solid rgba(255, 206, 101, 0.1);
}


/* =========================================================
   22. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fff1d3;
}

::-webkit-scrollbar-thumb {
    background:
        linear-gradient(
            var(--maroon),
            var(--saffron)
        );

    border-radius: 10px;
}


/* =========================================================
   23. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .header {
        height: 72px;
    }

    #mainNav {
        gap: 15px;
    }

    #mainNav a {
        font-size: 12px;
    }

    .hero-grid {
        grid-template-columns:
            1fr 0.8fr;
    }

    .hero h1 {
        font-size: 50px;
    }

    .about-grid,
    .timing-grid {
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns:
            1.5fr 1fr 1.5fr;
    }

}


/* =========================================================
   24. MOBILE
   ========================================================= */

@media (max-width: 850px) {

    .container {
        width: min(100% - 30px, var(--container));
    }


    /* Header */

    .header {
        height: 72px;
    }

    .menu-btn {
        display: grid;

        place-items: center;
    }

    #mainNav {
        position: absolute;

        top: 72px;

        left: 0;
        right: 0;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 12px 20px 18px;

        background:
            rgba(255, 250, 240, 0.98);

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

        box-shadow:
            0 12px 25px rgba(60, 20, 5, 0.1);
    }

    #mainNav.mobile-open {
        display: flex;
    }

    #mainNav a {
        padding: 11px 5px;

        border-bottom: 1px solid #f0dfc2;
    }

    #mainNav a:last-child {
        border-bottom: 0;
    }

    #mainNav a::after {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: auto;
    }

    .hero-grid {
        min-height: auto;

        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 35px;
    }

    .hero-content {
        padding: 10px 0 45px;
    }

    .hero h1 {
        font-size: clamp(38px, 11vw, 55px);
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .mantra {
        font-size: 15px;
    }


    /* Temple */

    .temple-art {
        order: -1;

        height: 390px;

        transform: scale(0.82);

        margin:
            -25px 0 -20px;
    }


    /* Quick */

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

        margin: 0 5px;

        border-radius: 0 0 15px 15px;
    }

    .quick-item {
        min-height: 80px;

        padding: 14px;
    }

    .quick-item:nth-child(2) {
        border-right: 0;
    }

    .quick-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border);
    }


    /* Sections */

    .section {
        padding: 65px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }


    /* About */

    .about-grid {
        grid-template-columns: 1fr;
    }


    /* Aarti */

    .timing-grid {
        grid-template-columns: 1fr;
    }


    /* Gallery */

    .gallery-grid {
        grid-template-columns:
            1fr 1fr;

        grid-template-rows:
            180px 180px 180px;
    }

    .gallery-large {
        grid-column: span 2;

        grid-row: auto;
    }


    /* CTA */

    .cta-inner {
        flex-direction: column;

        text-align: center;
    }

    .cta-content {
        flex-direction: column;
    }


    /* Footer */

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 30px;
    }

}


/* =========================================================
   25. SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .topbar {
        font-size: 11px;
    }

    .topbar .container {
        gap: 0;
    }

    .top-welcome {
        display: none;
    }


    .brand-mark {
        width: 43px;
        height: 43px;

        font-size: 24px;
    }

    .brand-text strong {
        font-size: 15px;
    }

    .brand-text small {
        font-size: 8px;
    }


    .hero-grid {
        width: min(100% - 25px, var(--container));
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero h2 {
        font-size: 18px;
    }


    .temple-art {
        transform: scale(0.7);

        margin:
            -50px 0 -50px;
    }


    .quick-item {
        gap: 8px;

        padding: 12px 9px;
    }

    .quick-item > span {
        width: 36px;
        height: 36px;

        font-size: 19px;
    }

    .quick-item strong {
        font-size: 12px;
    }

    .quick-item small {
        font-size: 9px;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .event-card {
        grid-template-columns:
            60px 1fr;

        gap: 13px;

        padding: 15px;
    }

    .event-link {
        grid-column: 2;
    }


    .gallery-grid {
        grid-template-columns: 1fr;

        grid-template-rows:
            repeat(4, 170px);
    }

    .gallery-large {
        grid-column: auto;
    }


    .footer-grid {
        grid-template-columns: 1fr;
    }


    .cta-content h2 {
        font-size: 24px;
    }

}


/* =========================================================
   26. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 3px solid var(--gold);

    outline-offset: 3px;
}


/* =========================================================
   27. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}

/* =====================================================
   GALLERY IMAGE PLACEHOLDER
===================================================== */

.gallery-image-placeholder {
    position: absolute;

    inset: 0;

    z-index: -1;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 70px;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255, 215, 120, 0.45),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #6b1d0e,
            #c85a17
        );
}


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

.gallery-overlay {
    position: relative;

    z-index: 3;

    margin-top: auto;

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.gallery-overlay small {
    color: #ffe3a5;

    font-size: 10px;

    font-weight: 600;
}

.gallery-overlay strong {
    color: #ffffff;

    font-size: 17px;

    line-height: 1.4;

    text-shadow:
        0 2px 5px rgba(0, 0, 0, 0.4);
}


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

.gallery-festival {
    background:
        linear-gradient(
            145deg,
            #74200d,
            #d1791e
        );
}


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

.gallery-button {

    display: flex;

    justify-content: center;

    margin-top: 35px;
}


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

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

    transform: scale(1.08);

    transition:
        transform 0.5s ease;
}


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

@media (max-width: 850px) {

    .gallery-overlay strong {
        font-size: 15px;
    }

    .gallery-image-placeholder {
        font-size: 55px;
    }

}


@media (max-width: 520px) {

    .gallery-grid {

        grid-template-columns: 1fr;

        grid-template-rows:
            repeat(5, 180px);
    }

    .gallery-large {

        grid-column: auto;

        grid-row: auto;
    }

}

/* =========================================================
   SEVA SECTION
========================================================= */

.seva-section {
    background:
        radial-gradient(circle at 10% 20%, rgba(244, 196, 91, 0.12), transparent 30%),
        linear-gradient(180deg, #fffdf7, #fff7e7);
}

.seva-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.seva-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.seva-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(75, 28, 10, 0.17);
}

.seva-card.seva-featured {
    background:
        linear-gradient(145deg, #6b1d0e, #8f2d13);
    border-color: #8f2d13;
}

.seva-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff2d1;
    font-size: 34px;
}

.seva-card h3 {
    color: var(--maroon);
    font-size: 21px;
    margin-bottom: 12px;
}

.seva-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 22px;
}

.seva-card.seva-featured h3 {
    color: var(--gold);
}

.seva-card.seva-featured p {
    color: #ffe9bd;
}

.seva-card.seva-featured .seva-icon {
    background: rgba(255, 255, 255, 0.12);
}


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

.contact-section {
    background: #fff8e8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 30px;
    align-items: stretch;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(75, 28, 10, 0.08);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff0cc;
    font-size: 22px;
}

.contact-box small {
    display: block;
    color: var(--dark-gold);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-box h3 {
    color: var(--maroon);
    font-size: 17px;
    margin-bottom: 5px;
}

.contact-box p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.contact-button {
    align-self: flex-start;
    margin-top: 5px;
}


/* =========================================================
   MAP
========================================================= */

.map-box {
    min-height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: #f5e7c8;
}

.map-placeholder {
    height: 100%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background:
        linear-gradient(
            rgba(255, 248, 232, 0.86),
            rgba(255, 248, 232, 0.86)
        ),
        repeating-linear-gradient(
            45deg,
            #ead7b6 0,
            #ead7b6 2px,
            transparent 2px,
            transparent 18px
        );
}

.map-placeholder > div {
    padding: 35px;
}

.map-placeholder span {
    display: block;
    font-size: 60px;
    margin-bottom: 12px;
}

.map-placeholder h3 {
    color: var(--maroon);
    font-size: 24px;
    margin-bottom: 8px;
}

.map-placeholder p {
    color: var(--text-light);
}

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

@media (max-width: 850px) {

    .seva-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-box {
        min-height: 350px;
    }

    .map-placeholder {
        min-height: 350px;
    }
}

@media (max-width: 520px) {

    .seva-card {
        padding: 26px 20px;
    }

    .contact-box {
        padding: 16px;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 19px;
    }

    .contact-box h3 {
        font-size: 15px;
    }

    .contact-box p {
        font-size: 13px;
    }

    .map-placeholder {
        min-height: 280px;
    }
}


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

.site-footer {
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(244, 196, 91, 0.08),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #3f1007,
            #6b1d0e
        );

    color: #ffe9bd;
    padding-top: 65px;
}


/* Footer Grid */

.footer-grid {
    display: grid;
    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr;

    gap: 45px;
    padding-bottom: 50px;
}


/* Footer Brand */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.footer-brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
}

.footer-brand strong {
    display: block;
    color: #f4c45b;
    font-size: 19px;
    line-height: 1.4;
}

.footer-brand small {
    display: block;
    color: #e9c98e;
    font-size: 10px;
    margin-top: 3px;
}


/* Footer About */

.footer-about > p {
    color: #e9cfa5;
    line-height: 1.9;
    font-size: 14px;
    max-width: 380px;
}

.footer-mantra {
    display: inline-block;
    margin-top: 18px;
    padding: 9px 16px;
    border: 1px solid rgba(244, 196, 91, 0.35);
    border-radius: 30px;
    color: #f4c45b;
    font-size: 13px;
}


/* Footer Headings */

.site-footer h3 {
    color: #f4c45b;
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 38px;
    height: 2px;
    background: #f4c45b;
}


/* Footer Links */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-links a {
    color: #ead3ae;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 11px;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: #f4c45b;
    padding-left: 5px;
}


/* Footer Contact */

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ead3ae;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.footer-contact p span {
    font-size: 17px;
    min-width: 20px;
}


/* Bottom */

.footer-bottom {
    border-top: 1px solid rgba(255, 228, 160, 0.16);

    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: #d8bd92;
    font-size: 12px;
}

.footer-bottom a {
    color: #e8c98f;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #f4c45b;
}


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

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

}

@media (max-width: 550px) {

    .site-footer {
        padding-top: 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}