/* ROOT VARIABLE */

:root {
    --orange-deep: #c96816;
    --orange: #e88928;
    --orange-light: #f7b85d;
    --gold: #c99525;
    --gold-light: #e5bd58;
    --cream: #fff8e8;
    --cream-light: #fffcef;
    --brown: #5b321c;
    --brown-dark: #3c2113;
    --text-dark: #39251b;
    --white: #ffffff;
    --language-hover-bg: #fff3d8;
    --nav-gradient-start: #fff1c9;
    --nav-gradient-middle: #ffd98a;
    --nav-gradient-end: #f4b85d;
    --dropdown-hover-bg: #fff4dc;
    --ribbon-gradient-start: #b47c15;
    --ribbon-gradient-middle: #e2b849;
    --ribbon-text: #fffdf4;
    --hero-base-bg: #e8d2ae;
    --hero-eyebrow-border: #e3b84e;
    --hero-eyebrow-text: #fff4d2;
    --hero-primary-bg: #d19a27;
    --hero-primary-hover-bg: #b98016;
    --hero-indicator-active: #e0b445;
    --content-body-text: #684b38;
    --language-border: rgba(255, 255, 255, 0.9);
    --language-bg: rgba(255, 255, 255, 0.06);
    --language-hover-bg-overlay: rgba(255, 255, 255, 0.14);
    --language-menu-border: rgba(91, 50, 28, 0.15);
    --language-menu-shadow: rgba(50, 25, 10, 0.16);
    --nav-hover-bg: rgba(255, 255, 255, 0.18);
    --nav-border: rgba(91, 50, 28, 0.12);
    --dropdown-shadow: rgba(53, 28, 13, 0.18);
    --ribbon-border-bottom: rgba(75, 44, 13, 0.2);
    --ribbon-border-top: rgba(255, 255, 255, 0.35);
    --ribbon-shadow: rgba(64, 37, 10, 0.13);
    --content-overlay-top: rgba(255, 250, 237, 0.91);
    --content-overlay-bottom: rgba(255, 250, 237, 0.96);
    --content-fade-start: rgba(255, 253, 247, 0);
    --content-fade-middle: rgba(255, 253, 247, 0.45);
    --hero-overlay-left: rgba(52, 30, 17, 0.58);
    --hero-overlay-middle: rgba(52, 30, 17, 0.32);
    --hero-overlay-right: rgba(52, 30, 17, 0.08);
    --hero-overlay-end: rgba(52, 30, 17, 0.02);
    --hero-fade-start: rgba(255, 248, 232, 0);
    --hero-fade-early: rgba(255, 248, 232, 0.03);
    --hero-fade-middle: rgba(255, 248, 232, 0.15);
    --hero-fade-end: rgba(255, 248, 232, 0.55);
    --hero-title-shadow: rgba(30, 17, 8, 0.35);
    --hero-description-text: rgba(255, 252, 243, 0.94);
    --hero-description-shadow: rgba(30, 17, 8, 0.3);
    --hero-primary-shadow: rgba(65, 35, 8, 0.2);
    --hero-primary-hover-shadow: rgba(65, 35, 8, 0.25);
    --hero-secondary-border: rgba(255, 255, 255, 0.85);
    --hero-secondary-bg: rgba(255, 255, 255, 0.08);
    --hero-indicator-bg: rgba(255, 255, 255, 0.52);
    --hero-mobile-overlay-left: rgba(45, 26, 14, 0.62);
    --hero-mobile-overlay-middle: rgba(45, 26, 14, 0.34);
    --hero-mobile-overlay-right: rgba(45, 26, 14, 0.12);

    --divine-story-title: #b88618;
    --divine-story-subtitle: #6b451f;
    --divine-story-text: #5f4938;
    --divine-story-overlay: rgba(255, 255, 255, 0);
    --divine-story-reveal-distance: 45px;
    --divine-story-animation-speed: 1.2s;
    --divine-story-background-speed: 35s;
    --divine-story-divider: #d4a62f;
}

:root {
    --shadow: 0 5px 18px rgba(67, 38, 18, 0.14);
    --header-height: 138px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--cream-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/*.temple-name,
.temple-subtitle,
.nav-text {
    font-family: 'Newton', sans-serif;
}*/

button,
a {
    font-family: inherit;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    width: 100%;
    box-shadow: var(--shadow);
}


/* =========================================================
   TOP HEADER ROW
   ========================================================= */

.header-top {
    position: relative;
    z-index: 20;

    background:
        linear-gradient(
            110deg,
            var(--orange-deep) 0%,
            var(--orange) 48%,
            var(--orange-light) 100%
        );

    min-height: 88px;
}

.header-container {
    width: min(1400px, 94%);
    min-height: 88px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   TEMPLE BRAND
   ========================================================= */

.temple-brand {
    display: flex;
    align-items: center;

    gap: 16px;
    min-width: 0;

    color: var(--white);
    text-decoration: none;
}

.logo-wrapper {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.temple-logo {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: contain;
}

.temple-title {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.temple-name {
    font-family: "Cinzel", serif;

    font-size: clamp(20px, 2.2vw, 31px);
    font-weight: 700;
    line-height: 1.18;

    letter-spacing: 0.4px;
    word-break: normal;
}

.temple-subtitle {
    margin-top: 5px;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 1.8px;
    text-transform: uppercase;

    opacity: 0.9;
}


/* =========================================================
   LANGUAGE SELECTOR
   ========================================================= */

.language-wrapper {
    position: relative;
    z-index: 100;
    flex: 0 0 auto;
}

.language-button {
    min-width: 138px;
    height: 43px;

    padding: 0 13px 0 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    border: 1px solid var(--language-border);
    border-radius: 5px;

    background: var(--language-bg);

    color: var(--white);
    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.language-button:hover {
    background: var(--language-hover-bg-overlay);
}

.language-content {
    display: flex;
    align-items: center;

    gap: 9px;
    white-space: nowrap;
}

.language-content i {
    font-size: 14px;
}

.language-content span {
    font-size: 13px;
    font-weight: 600;
}

.language-arrow {
    font-size: 11px;

    transition: transform 0.2s ease;
}

.language-button.active .language-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   LANGUAGE DROPDOWN
   ========================================================= */

.language-menu {
    position: absolute;
    z-index: 10000;

    top: calc(100% + 8px);
    right: 0;

    min-width: 138px;
    padding: 5px;

    background: var(--white);

    border: 1px solid var(--language-menu-border);
    border-radius: 6px;

    box-shadow: 0 12px 30px var(--language-menu-shadow);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-5px);

    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        visibility 0.18s ease;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.language-menu button {
    width: 100%;

    padding: 10px 12px;

    border: 0;
    border-radius: 4px;

    background: transparent;

    color: var(--brown);

    text-align: left;

    font-size: 13px;
    cursor: pointer;
}

.language-menu button:hover {
    background: var(--language-hover-bg);
}


/* =========================================================
   NAVIGATION ROW
   ========================================================= */

.navigation-row {
    position: relative;
    z-index: 15;

    background:
        linear-gradient(
            100deg,
            var(--nav-gradient-start) 0%,
            var(--nav-gradient-middle) 48%,
            var(--nav-gradient-end) 100%
        );

    border-top: 1px solid var(--nav-border);

    overflow: visible;
}

.navigation-container {
    position: relative;
    z-index: 15;

    width: min(1400px, 94%);
    min-height: 50px;

    margin: auto;

    overflow: visible;
}

.main-navigation {
    position: relative;
    z-index: 20;

    min-height: 50px;

    display: flex;
    align-items: stretch;
    justify-content: center;

    overflow: visible;
}

.nav-item {
    position: relative;
    z-index: 30;

    display: flex;
    align-items: stretch;
}

.nav-link {
    position: relative;

    min-height: 50px;
    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    color: var(--brown-dark);
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--brown);

    transform: translateX(-50%);

    transition: width 0.22s ease;
}

.nav-link:hover {
    color: var(--brown);

    background: var(--nav-hover-bg);
}

.nav-link:hover::after {
    width: 70%;
}

.nav-arrow {
    font-size: 9px;

    transition: transform 0.2s ease;
}

.nav-item:hover .nav-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   NAVIGATION DROPDOWN
   ========================================================= */

.nav-dropdown {
    position: absolute;

    z-index: 99999;

    top: calc(100% + 1px);
    left: 50%;

    min-width: 210px;
    padding: 7px;

    background: var(--white);

    border-top: 3px solid var(--gold);
    border-radius: 0 0 7px 7px;

    box-shadow:
        0 14px 35px var(--dropdown-shadow);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translate(-50%, -8px);

    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}


/* Desktop hover */

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translate(-50%, 0);
}


/* Dropdown links */

.nav-dropdown a {
    display: block;

    padding: 10px 13px;

    color: var(--brown);
    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    border-radius: 4px;

    transition:
        background 0.15s ease,
        padding-left 0.15s ease;
}

.nav-dropdown a:hover {
    background: var(--dropdown-hover-bg);

    padding-left: 17px;
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
    display: none;
}


/* =========================================================
   ANNOUNCEMENT RIBBON
   ========================================================= */

.announcement-ribbon {
    width: 100%;
    height: 38px;

    position: relative;
    z-index: 900;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            var(--ribbon-gradient-start),
            var(--ribbon-gradient-middle),
            #c99525
        );

    border-top:
        1px solid var(--ribbon-border-top);

    border-bottom:
        1px solid var(--ribbon-border-bottom);

    box-shadow:
        0 3px 8px var(--ribbon-shadow);
}

.ribbon-track {
    width: 100%;
    height: 100%;

    overflow: hidden;

    display: flex;
    align-items: center;
}

.ribbon-content {
    display: flex;
    align-items: center;

    width: max-content;

    white-space: nowrap;

    animation:
        ribbonScroll 32s linear infinite;
}

.ribbon-content span {
    display: inline-block;

    padding-right: 120px;

    color: var(--ribbon-text);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.5px;
}

@keyframes ribbonScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33.333333%);
    }
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.demo-section {
    position: relative;

    min-height: 560px;

    padding:
        70px 20px 110px;

    background:
        linear-gradient(
            var(--content-overlay-top),
            var(--content-overlay-bottom)
        ),
        url("../assets/images/temple-bg.jpg");

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


/*
   Soft fade at the bottom of the background image.
   This prevents a hard image cut.
*/

.demo-section::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 150px;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            var(--content-fade-start) 0%,
            var(--content-fade-middle) 45%,
            var(--cream-light) 100%
        );

    z-index: 1;
}

.demo-container {
    position: relative;
    z-index: 2;

    width: min(900px, 92%);

    margin: auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.demo-container h1 {
    font-family: "Cinzel", serif;

    color: var(--brown-dark);

    font-size:
        clamp(30px, 5vw, 52px);

    line-height: 1.15;
}

.demo-container p {
    max-width: 650px;

    margin: 18px auto 0;

    color: var(--content-body-text);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   TEMPLE HERO
   ========================================================= */

.temple-hero {
    position: relative;

    width: 100%;

    aspect-ratio: 2.35 / 1;

    min-height: 420px;
    max-height: 650px;

    overflow: hidden;

    isolation: isolate;

    background: var(--hero-base-bg);
}


/* =========================================================
   HERO SLIDESHOW
   ========================================================= */

.hero-slideshow {
    position: absolute;

    inset: 0;

    z-index: -4;
}

.hero-slide {
    position: absolute;

    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0;

    transform: scale(1.03);

    transition:
        opacity 2.2s ease-in-out,
        transform 8s ease-out;
}

.hero-slide.active {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.hero-overlay {
    position: absolute;

    inset: 0;

    z-index: -3;

    background:
        linear-gradient(
            90deg,
            var(--hero-overlay-left) 0%,
            var(--hero-overlay-middle) 32%,
            var(--hero-overlay-right) 68%,
            var(--hero-overlay-end) 100%
        );
}


/* =========================================================
   HERO BOTTOM FADE
   ========================================================= */

.hero-bottom-fade {

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    height: 35%;

    z-index: -2;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 248, 232, 0) 0%,
            rgba(255, 248, 232, 0.04) 20%,
            rgba(255, 248, 232, 0.18) 45%,
            rgba(255, 248, 232, 0.48) 68%,
            rgba(255, 248, 232, 0.82) 86%,
            var(--cream-light) 100%
        );

    filter: blur(1px);
}


/* =========================================================
   HERO CONTAINER
   ========================================================= */

.hero-container {
    width: min(1400px, 92%);
    height: 100%;

    margin: auto;

    display: flex;
    align-items: flex-start;

    padding-top: 35px;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    width: min(620px, 62%);

    color: #ffffff;

    animation:
        heroContentReveal 1s ease-out both;
}

@keyframes heroContentReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 15px;
    padding-left: 12px;

    border-left: 3px solid var(--hero-eyebrow-border);

    color: var(--hero-eyebrow-text);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


/* =========================================================
   HERO TITLE
   ========================================================= */

.hero-content h1 {
    margin: 0;

    font-family: "Cinzel", serif;

    font-size:
        clamp(38px, 5vw, 72px);

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: 0.4px;

    text-shadow:
        0 3px 18px var(--hero-title-shadow);
}


/* =========================================================
   HERO DESCRIPTION
   ========================================================= */

.hero-content p {
    max-width: 510px;

    margin: 20px 0 0;

    color: var(--hero-description-text);

    font-size:
        clamp(13px, 1.4vw, 16px);

    line-height: 1.75;

    text-shadow:
        0 2px 10px var(--hero-description-shadow);
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 27px;
}

.hero-primary-button,
.hero-secondary-button {
    min-height: 43px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 4px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.3px;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.hero-primary-button {
    background: var(--hero-primary-bg);
    color: #ffffff;

    box-shadow:
        0 5px 16px var(--hero-primary-shadow);
}

.hero-primary-button:hover {
    transform: translateY(-2px);

    background: var(--hero-primary-hover-bg);

    box-shadow:
        0 8px 20px var(--hero-primary-hover-shadow);
}

.hero-secondary-button {
    border: 1px solid var(--hero-secondary-border);

    background: var(--hero-secondary-bg);

    color: #ffffff;

    backdrop-filter: blur(4px);
}

.hero-secondary-button:hover {
    transform: translateY(-2px);

    background: var(--nav-hover-bg);
}


/* =========================================================
   HERO SLIDER INDICATORS
   ========================================================= */

.hero-indicators {
    position: absolute;

    left: 50%;
    bottom: 22px;

    z-index: 5;

    transform: translateX(-50%);

    display: flex;
    align-items: center;

    gap: 7px;
}

.hero-indicator {
    width: 25px;
    height: 3px;

    padding: 0;

    border: 0;
    border-radius: 10px;

    background: var(--hero-indicator-bg);

    cursor: pointer;

    transition:
        width 0.25s ease,
        background 0.25s ease;
}

.hero-indicator.active {
    width: 42px;

    background: var(--hero-indicator-active);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .header-container {
        width: 92%;
        gap: 15px;
    }

    .temple-brand {
        gap: 11px;
    }

    .logo-wrapper {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .temple-name {
        font-size:
            clamp(17px, 3vw, 24px);
    }

    .temple-subtitle {
        font-size: 9px;
        letter-spacing: 1.1px;
    }


    /* Navigation */

    .navigation-container {
        width: 94%;
        overflow: visible;
    }

    .main-navigation {
        min-height: 50px;

        display: flex;
        flex-wrap: wrap;

        align-items: stretch;
        justify-content: center;

        overflow: visible;
    }

    .nav-item {
        position: relative;
        z-index: 1;

        display: flex;
        align-items: stretch;
    }

    .nav-item.dropdown-open {
        z-index: 100000;
    }

    .nav-item.dropdown-open .nav-dropdown {
        z-index: 100001;
    }

    .nav-link {
        min-height: 48px;

        padding: 0 12px;

        font-size: 14px;
    }


    /* Tablet dropdown */

    .nav-item .nav-dropdown {
        display: none;
    }

    .nav-item.dropdown-open .nav-dropdown {
        display: block;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform:
            translate(-50%, 0);
    }

    .nav-item.dropdown-open .nav-arrow {
        transform: rotate(180deg);
    }


    /* No hamburger */

    .mobile-menu-button {
        display: none !important;
    }


    /* Hero */

    .temple-hero {
        aspect-ratio: 2.35 / 1;

        min-height: 400px;
    }

    .hero-content {
        width: 68%;
    }

    .hero-content h1 {
        font-size:
            clamp(34px, 6vw, 56px);
    }

    .hero-content p {
        max-width: 450px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .header-top {
        min-height: 78px;
    }

    .header-container {
        width: 92%;

        min-height: 78px;

        gap: 10px;
    }

    .logo-wrapper {
        width: 48px;
        height: 48px;

        flex-basis: 48px;
    }

    .temple-brand {
        flex: 1;

        min-width: 0;

        gap: 9px;
    }

    .temple-name {
        font-size:
            clamp(15px, 4.3vw, 21px);

        line-height: 1.2;
    }

    .temple-subtitle {
        display: none;
    }


    /* Language */

    .language-button {
        min-width: 105px;
        height: 38px;

        padding: 0 9px;

        gap: 7px;
    }

    .language-content {
        gap: 6px;
    }

    .language-content span {
        font-size: 11px;
    }

    .language-content i {
        font-size: 12px;
    }

    .language-arrow {
        font-size: 9px;
    }


    /* Navigation */

    .navigation-row {
        min-height: 50px;

        overflow: visible;
    }

    .navigation-container {
        width: 94%;

        margin: auto;

        overflow: visible;
    }

    .main-navigation {
        position: relative;

        width: 100%;
        min-height: 50px;

        display: flex !important;

        flex-direction: row;
        flex-wrap: wrap;

        align-items: stretch;
        justify-content: center;

        gap: 1px;

        background: transparent;

        border: 0;

        box-shadow: none;

        overflow: visible;
    }

    .nav-item {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: stretch;

    flex: 0 0 auto;
    }

    .nav-item.dropdown-open {
        z-index: 100000;
    }

    .nav-item.dropdown-open .nav-dropdown {
        z-index: 100001;
    }

    .nav-link {
        width: auto;

        min-height: 46px;

        padding: 0 10px;

        justify-content: center;

        background: transparent;

        font-size: 14px;
    }

    .nav-link::after {
        display: block;
    }


    /* Mobile dropdown */

    .nav-item .nav-dropdown {
        display: none;

        min-width: 190px;
    }

    .nav-item.dropdown-open .nav-dropdown {
        display: block;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform:
            translate(-50%, 0);
    }

    .nav-item.dropdown-open .nav-arrow {
        transform: rotate(180deg);
    }


    /* No hamburger */

    .mobile-menu-button {
        display: none !important;
    }


    /* Announcement */

    .announcement-ribbon {
        height: 36px;
    }

    .ribbon-content span {
        font-size: 11px;

        padding-right: 80px;
    }


    /* Hero */

    .temple-hero {
        aspect-ratio: 2.35 / 1;

        min-height: 360px;

        max-height: none;
    }

    .hero-slide {
        background-position: center center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                var(--hero-mobile-overlay-left) 0%,
                var(--hero-mobile-overlay-middle) 62%,
                var(--hero-mobile-overlay-right) 100%
            );
    }

    .hero-bottom-fade {
        height: 26%;
    }

    .hero-container {
        width: 88%;

        align-items: center;

        padding-top: 20px;
    }

    .hero-content {
        width: 82%;

        padding-bottom: 5%;
    }

    .hero-eyebrow {
        margin-bottom: 11px;

        font-size: 9px;

        letter-spacing: 1.6px;
    }

    .hero-content h1 {
        font-size:
            clamp(31px, 9vw, 46px);

        line-height: 1.1;
    }

    .hero-content p {
        margin-top: 15px;

        font-size: 12px;

        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 20px;

        gap: 8px;
    }

    .hero-primary-button,
    .hero-secondary-button {
        min-height: 39px;

        padding: 0 15px;

        font-size: 10px;
    }

    .hero-indicators {
        bottom: 17px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .header-container {
        width: 94%;
    }

    .logo-wrapper {
        width: 43px;
        height: 43px;

        flex-basis: 43px;
    }

    .temple-brand {
        gap: 8px;
    }

    .temple-name {
        font-size: 14px;
    }


    /* Language */

    .language-button {
        min-width: 88px;
        height: 35px;
    }

    .language-content i {
        display: none;
    }

    .language-content span {
        font-size: 10px;
    }


    /* Navigation */

    .navigation-container {
        width: 96%;
    }

    .main-navigation {
        gap: 0;
    }

    .nav-link {
        min-height: 43px;

        padding: 0 7px;

        font-size: 12px;
    }

    .nav-arrow {
        font-size: 8px;
    }

    .nav-dropdown {
        min-width: 175px;
    }


    /* Main content */

    .demo-section {
        min-height: 480px;

        padding:
            55px 16px 90px;
    }

    .demo-section::after {
        height: 120px;
    }


    /* Hero */

    .temple-hero {
        aspect-ratio: 2.35 / 1;

        min-height: 330px;
    }

    .hero-container {
        width: 88%;
    }

    .hero-content {
        width: 92%;
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .hero-content p {
        font-size: 11px;
    }

    .hero-primary-button,
    .hero-secondary-button {
        padding: 0 12px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--brown);

    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}


/* =========================================================
   SACRED DIVINE STORY OF PANDHARPUR
   ========================================================= */

.divine-story-section {

    position: relative;
    width: 100%;
    min-height: 720px;
    margin-top: 0;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform:
        translateY(
            var(--divine-story-reveal-distance)
        );
    transition:
        opacity var(--divine-story-animation-speed) ease,
        transform var(--divine-story-animation-speed) ease;
}

.divine-story-section.story-visible {
    opacity: 1;
    transform:
        translateY(0);
}

/* =========================================================
   DIVINE STORY BACKGROUND
   ========================================================= */

.divine-story-background {

    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.divine-story-background-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    display: flex;
    z-index: 0;

    animation:
        divineStoryBackgroundMove
        var(--divine-story-background-speed)
        linear
        infinite;
}

.divine-story-bg-image {

    flex: 0 0 50%;
    width: 50%;
    height: 100%;

    background-image:
        var(--divine-story-bg);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================================
   SEAMLESS INFINITE IMAGE MOVEMENT
   ========================================================= */

@keyframes divineStoryBackgroundMove {

    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-50%);
    }
}

/* =========================================================
   TOP + BOTTOM IMAGE BLEND
   ========================================================= */

.divine-story-background::before {

    content: "";

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    height: 18%;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            var(--cream-light) 0%,
            rgba(255, 248, 232, 0.96) 18%,
            rgba(255, 248, 232, 0.72) 38%,
            rgba(255, 248, 232, 0.35) 65%,
            rgba(255, 248, 232, 0) 100%
        );
}

.divine-story-background::after {

    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 22%;

    z-index: 2;

    pointer-events: none;

    background:
        linear-gradient(
            to top,
            var(--cream-light) 0%,
            rgba(255, 248, 232, 0.96) 18%,
            rgba(255, 248, 232, 0.72) 38%,
            rgba(255, 248, 232, 0.35) 65%,
            rgba(255, 248, 232, 0) 100%
        );
}

/* =========================================================
   DIVINE STORY CONTENT
   ========================================================= */

.divine-story-container {

    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding:
        110px 30px 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.divine-story-content {

    width: 100%;
    max-width: 1000px;

    position: relative;
    z-index: 4;

    text-align: center;
}

/* =========================================================
   DIVINE STORY TITLE
   ========================================================= */

.divine-story-content h2 {

    margin: 0;

    font-family: "Cinzel", serif;

    font-size:
        clamp(32px, 4.2vw, 56px);

    font-weight: 700;

    line-height: 1.2;

    color:
        var(--divine-story-title);

    text-shadow:
        0 2px 8px
        rgba(255, 248, 220, 0.85);
}

/* =========================================================
   DIVINE STORY DIVIDER
   ========================================================= */

.divine-story-divider {

    width: 95px;
    height: 2px;

    margin:
        22px auto 30px;

    background:
        var(--divine-story-divider);

    border-radius: 50%;

    box-shadow:
        0 1px 5px
        rgba(201, 149, 37, 0.25);
}

/* =========================================================
   DIVINE STORY SUBTITLE
   ========================================================= */

.divine-story-content h3 {

    margin:
        0 0 25px;

    font-family: "Cinzel", serif;

    font-size:
        clamp(21px, 2.5vw, 31px);

    font-weight: 600;

    line-height: 1.4;

    color:
        var(--divine-story-subtitle);

    text-shadow:
        0 1px 5px
        rgba(255, 248, 220, 0.85);
}

/* =========================================================
   DIVINE STORY DESCRIPTION
   ========================================================= */

.divine-story-description {

    width: 100%;

    font-family: "Inter", sans-serif;

    font-size:
        clamp(16px, 1.45vw, 19px);

    line-height: 1.95;

    font-weight: 500;

    color:
        var(--divine-story-text);

    text-align: left;

    text-shadow:
        0 1px 3px
        rgba(255, 248, 232, 0.8);

    white-space: normal;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .divine-story-section {

        min-height: 680px;
        margin-top: 0;
    }

    .divine-story-container {

        padding:
            100px 25px 105px;
    }

    .divine-story-content {

        max-width: 850px;
    }

    .divine-story-description {

        font-size: 17px;
        line-height: 1.85;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .divine-story-section {

        min-height: 650px;
        margin-top: 0;
    }

    .divine-story-background::before {

        height: 20%;
    }

    .divine-story-background::after {

        height: 24%;
    }

    .divine-story-container {

        padding:
            85px 20px 95px;
    }

    .divine-story-content h2 {

        font-size: 29px;
        line-height: 1.3;
    }

    .divine-story-content h3 {

        font-size: 20px;
        line-height: 1.45;

        margin-bottom: 20px;
    }

    .divine-story-description {

        font-size: 15.5px;
        line-height: 1.8;

        text-align: left;
    }

    .divine-story-divider {

        width: 70px;

        margin:
            18px auto 22px;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 430px) {

    .divine-story-section {

        min-height: 620px;
    }

    .divine-story-container {

        padding:
            75px 16px 85px;
    }

    .divine-story-content h2 {

        font-size: 25px;
    }

    .divine-story-content h3 {

        font-size: 18px;
    }

    .divine-story-description {

        font-size: 15px;
        line-height: 1.75;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .divine-story-background-track {

        animation: none;
    }

    .divine-story-section {

        opacity: 1;

        transform: none;

        transition: none;
    }
}

/* =========================================================
   GENERIC ADMIN-CONTROLLED CONTENT SECTIONS
   (Temple Introduction, About, History, Daily Schedule,
   Festivals, Gallery, Trust, Contact, etc.)
   ========================================================= */

.content-section {

    position: relative;
    padding: 90px 24px;
    background-color: var(--cream-light);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content-section:nth-of-type(even) {

    background-color: var(--cream);
}

.content-section-inner {

    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.content-section-title {

    font-family: 'Cinzel', serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--gold);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.content-section-subtitle {

    font-family: 'Cinzel', serif;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 600;
    color: var(--brown);
    margin: 0 0 22px;
}

.content-section-description {

    font-size: 16px;
    line-height: 1.85;
    color: var(--text-dark);
    text-align: left;
}

.content-section[style*="background-image"] .content-section-inner {

    background: rgba(255, 252, 239, 0.9);
    padding: 40px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(60, 33, 19, 0.12);
}

@media (max-width: 768px) {

    .content-section {

        padding: 60px 18px;
    }

    .content-section-description {

        font-size: 15px;
        line-height: 1.75;
    }
}


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

.site-footer {

    background: linear-gradient(180deg, var(--brown), var(--brown-dark));
    color: #f4e6d0;
    padding: 50px 24px 0;
}

.site-footer-inner {

    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {

    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand img {

    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
}

.footer-temple-name {

    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 16px;
    margin: 0 0 4px;
    color: var(--gold-light);
}

.footer-address {

    font-size: 13px;
    color: #d9c4a5;
    margin: 0;
    max-width: 280px;
}

.footer-contact p {

    font-size: 13.5px;
    margin: 0 0 6px;
    color: #e6d2b3;
}

.footer-contact i {

    color: var(--gold-light);
    margin-right: 8px;
    width: 16px;
}

.footer-social {

    display: flex;
    gap: 12px;
}

.footer-social a {

    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f4e6d0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {

    background: var(--orange);
    transform: translateY(-2px);
}

.site-footer-bottom {

    max-width: 1160px;
    margin: 0 auto;
    padding: 18px 0;
    text-align: center;
    font-size: 12.5px;
    color: #c9b190;
}

@media (max-width: 640px) {

    .site-footer-inner {

        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}
