
/* =========================================
   GLOBAL SETTINGS
========================================= */

:root {
    --cream: #fbf8f2;
    --white: #fffdfa;
    --navy: #15243b;
    --gold: #bd7d15;
    --gold-light: #ffcf64;
    --muted: #687386;
    --border: #eee7de;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--cream);
    color: var(--navy);
    overflow-x: hidden;
}

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

.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}


/* =========================================
   NAVBAR
========================================= */

.navbar {
    height: 64px;
    background: #fffdfa;
    border-bottom: 1px solid #eee8df;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 700;
    white-space: nowrap;
}

.logo-icon {
    font-size: 29px;
    color: #df9519;
    animation: logoFloat 4s ease-in-out infinite;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a {
    padding: 10px 13px;
    font-size: 13px;
    border-radius: 30px;
    transition: .3s;
}

.nav-menu a:hover,
.nav-menu .active {
    background: #f8e9cc;
    color: #98600c;
}

.nav-actions {
    display: flex;
    gap: 10px;
}

.nav-icon {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #f5f1eb;
    font-size: 20px;
    transition: .3s;
}

.nav-icon:hover {
    background: #f5e3c0;
    transform: translateY(-3px);
}


/* =========================================
   HERO SECTION
   FULL UNSPLASH BACKGROUND
========================================= */

.ritual-hero {
    min-height: 500px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #251608;
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image: url(
    "/tpl1/images/rituals/hero.png"
    );

    background-size: cover;
    background-position: center 55%;

    transform: scale(1.04);
    animation: heroImageZoom 18s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            #fbf8f2 0%,
            #fbf8f2 28%,
            rgba(251,248,242,.95) 35%,
            rgba(251,248,242,.68) 46%,
            rgba(251,248,242,.08) 68%,
            rgba(28,12,2,.25) 100%
        );
}

.hero-container {
    min-height: 500px;
    display: grid;
    grid-template-columns: 48% 52%;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 520px;
    padding: 35px 0;
    animation: heroEntrance 1s ease both;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #596477;
    margin-bottom: 35px;
}

.breadcrumb span {
    color: var(--gold);
}

.breadcrumb strong {
    color: var(--navy);
}

.breadcrumb a:hover {
    color: var(--gold);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    background: #f2e6d3;
    color: #80530f;
    font-size: 12px;
    margin-bottom: 10px;
}

.hero-badge span {
    color: #c78a1b;
    font-size: 16px;
}

.hero h1 {
    font: 800 clamp(60px, 7vw, 84px)/1.1 "Playfair Display", serif;
    color: #14243b;
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.hero h2 {
    font-size: 19px;
    line-height: 1.5;
    font-weight: 500;
    margin-bottom: 12px;
    max-width: 500px;
}

.hero-content > p {
    max-width: 470px;
    font-size: 14px;
    line-height: 1.75;
    color: #596477;
    margin-bottom: 22px;
}


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

.primary-btn,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 13px 22px;

    color: #fff;
    background: linear-gradient(
        110deg,
        #a86609,
        #d09220,
        #b47712
    );

    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;

    position: relative;
    overflow: hidden;

    box-shadow: 0 8px 22px #98620e30;

    transition:
        transform .35s,
        box-shadow .35s;
}

.primary-btn::before,
.cta-button::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        110deg,
        transparent,
        #ffffff80,
        transparent
    );

    transform: translateX(-120%);
    animation: buttonShine 5s ease-in-out infinite;
}

.primary-btn:hover,
.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px #a16c1b50;
}

.primary-btn span,
.cta-button span {
    font-size: 21px;
    transition: transform .3s;
}

.primary-btn:hover span,
.cta-button:hover span {
    transform: translateX(6px);
}


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

.hero-visual {
    height: 500px;
    position: relative;
    display: grid;
    place-items: center;
}

.hero-halo {
    width: 350px;
    height: 350px;
    border-radius: 50%;

    background: radial-gradient(
        circle,
        #ffbd3c35,
        #ff9d1710 50%,
        transparent 72%
    );

    filter: blur(20px);

    animation: haloPulse 4s ease-in-out infinite;
}

.floating-diya {
    position: absolute;
    font-size: 50px;
    filter: drop-shadow(0 0 15px #ffc34d90);
    animation: diyaFloat 5s ease-in-out infinite;
}

.diya-one {
    left: 15%;
    bottom: 20%;
}

.diya-two {
    right: 14%;
    top: 17%;
    animation-delay: -2s;
}

.diya-three {
    left: 42%;
    top: 15%;
    color: #ffc85e;
    font-size: 35px;
    animation-delay: -1s;
}

.hero-orbit {
    position: absolute;
    border: 1px solid #ffd47b55;
    border-radius: 50%;
    animation: orbitRotate 25s linear infinite;
}

.orbit-one {
    width: 280px;
    height: 280px;
}

.orbit-two {
    width: 380px;
    height: 380px;
    animation-direction: reverse;
    animation-duration: 38s;
}

.hero-particle {
    position: absolute;
    color: #ffc64d;
    text-shadow: 0 0 12px #ffc64d;
    animation: particleBlink 2.5s ease-in-out infinite;
}

.particle-one {
    left: 15%;
    top: 20%;
}

.particle-two {
    right: 10%;
    top: 45%;
    animation-delay: .5s;
}

.particle-three {
    left: 50%;
    bottom: 10%;
    animation-delay: 1s;
}

.particle-four {
    right: 25%;
    bottom: 25%;
    animation-delay: 1.5s;
}

.hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background-image:
        radial-gradient(2px 2px at 20% 20%, #fff3c5 50%, transparent),
        radial-gradient(2px 2px at 70% 35%, #ffcb65 50%, transparent),
        radial-gradient(1px 1px at 45% 75%, white 50%, transparent),
        radial-gradient(2px 2px at 90% 85%, #ffbd45 50%, transparent);

    background-size: 170px 170px;
    animation: starDrift 35s linear infinite;
}

.stars-two {
    opacity: .45;
    background-size: 120px 120px;
    animation-duration: 50s;
    animation-direction: reverse;
}

.hero-bottom-glow {
    position: absolute;
    bottom: -50px;
    left: 30%;
    width: 40%;
    height: 90px;
    background: #f8c05c50;
    filter: blur(55px);
}


/* =========================================
   SECTION HEADINGS
========================================= */

.ritual-section {
    padding-top: 28px;
    padding-bottom: 25px;
}

.section-heading {
    text-align: center;
    margin-bottom: 25px;
}

.section-kicker {
    display: block;
    color: #b27b1c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-heading h2,
.about-content h2 {
    font: 700 31px "Playfair Display", serif;
    color: #14243b;
}

.heading-divider {
    width: 150px;
    height: 1px;
    background: #d7b36d;
    margin: 13px auto;
    position: relative;
}

.heading-divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 0 8px;
    background: var(--cream);
    color: #c08a29;
    animation: starPulse 2s ease-in-out infinite;
}

.section-heading > p {
    max-width: 730px;
    margin: auto;
    font-size: 13px;
    line-height: 1.65;
    color: var(--muted);
}


/* =========================================
   RITUAL GRID
========================================= */

.ritual-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ritual-card {
    background: #fffdfa;
    border: 1px solid #eee8df;
    border-radius: 11px;
    overflow: hidden;

    display: block;
    position: relative;

    box-shadow: 0 4px 12px #19273d05;

    transition:
        transform .4s cubic-bezier(.2,.8,.2,1),
        box-shadow .4s,
        border-color .4s;

    animation: cardEntrance .8s both;
}

.ritual-card:hover {
    transform: translateY(-8px);
    border-color: #dfbd7c;
    box-shadow: 0 16px 30px #19273d16;
}

.ritual-image {
    height: 145px;
    position: relative;
    overflow: hidden;
    background: #33200e;
}

.ritual-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition:
        transform .8s cubic-bezier(.2,.8,.2,1),
        filter .5s;
}

.ritual-card:hover .ritual-image img {
    transform: scale(1.1);
    filter: brightness(1.08);
}

.ritual-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        180deg,
        transparent 55%,
        #160b0250
    );

    pointer-events: none;
}

.image-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;

    background: #fff4dc;
    color: #98630d;

    padding: 5px 9px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
}

.ritual-info {
    min-height: 88px;
    padding: 11px 13px 13px;
    position: relative;
}

.ritual-info h3 {
    font: 600 17px "Playfair Display", serif;
    margin-bottom: 5px;
    color: #192b42;
}

.ritual-info p {
    max-width: 82%;
    font-size: 12px;
    line-height: 1.5;
    color: #687386;
}

.ritual-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    width: 31px;
    height: 31px;
    border-radius: 50%;

    display: grid;
    place-items: center;

    color: #a96d0c;
    background: #fffaf1;
    border: 1px solid #e6c88c;

    transition: .35s;
}

.ritual-card:hover .ritual-arrow {
    color: white;
    background: #b87b17;
    transform: translate(4px, -50%);
}


/* =========================================
   ABOUT SECTION
========================================= */

.about-section {
    display: grid;
    grid-template-columns: 43% 57%;

    background: #fffdfa;
    border: 1px solid #eee8df;
    border-radius: 13px;

    overflow: hidden;

    min-height: 280px;
    margin-top: 5px;
    margin-bottom: 28px;

    box-shadow: 0 7px 25px #19273d08;
}

.about-image {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;

    transition: transform 1s;
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-image-caption {
    position: absolute;
    inset: auto 0 0;

    padding: 20px;

    color: white;
    font-size: 13px;
    font-weight: 600;

    background: linear-gradient(transparent, #160b02c9);
}

.about-image-caption span {
    color: #ffd06c;
    margin-right: 8px;
}

.about-content {
    align-self: center;
    padding: 28px;
}

.about-content h2 {
    margin-bottom: 12px;
}

.gold-divider {
    width: 160px;
    height: 1px;
    background: #d5aa59;
    margin-bottom: 15px;
}

.about-content > p {
    font-size: 13px;
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 20px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    text-align: center;
}

.benefit-item {
    transition: transform .35s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 7px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #fbefd8;

    color: #b77710;
    font-size: 25px;
}

.benefit-item p {
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================
   WHY RITUALS
========================================= */

.why-section {
    padding-bottom: 25px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.why-card {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 90px;
    padding: 14px;

    border: 1px solid #eee8df;
    border-radius: 11px;
    background: #fffdfa;

    transition:
        transform .35s,
        box-shadow .35s,
        border-color .35s;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: #dfbd7c;
    box-shadow: 0 12px 25px #17253d12;
}

.why-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: #f9e9ce;

    color: #b87912;
    font-size: 24px;

    transition: transform .45s;
}

.why-card:hover .why-icon {
    transform: rotate(12deg) scale(1.1);
}

.why-card h3 {
    font-size: 13px;
    margin-bottom: 5px;
}

.why-card p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}


/* =========================================
   CTA SECTION
========================================= */

.ritual-cta {
    min-height: 230px;
    position: relative;
    isolation: isolate;

    overflow: hidden;
    border-radius: 13px;

    background: #140e0b;
    color: white;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -3;

    background-image:
        linear-gradient(
            90deg,
            #110b08 0%,
            #170d08d9 40%,
            #1a0c04a8 100%
        ),
        url("/tpl1/images/rituals/cta-havan.jpg");

    background-size: cover;
    background-position: center;

    animation: heroImageZoom 20s ease-in-out infinite alternate;
}

.cta-stars {
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        radial-gradient(2px 2px at 20% 20%, #ffe2a0 50%, transparent),
        radial-gradient(2px 2px at 70% 45%, #ffffff 50%, transparent),
        radial-gradient(1px 1px at 85% 80%, #ffca5b 50%, transparent);

    background-size: 160px 160px;

    animation: starDrift 35s linear infinite;
}

.cta-content {
    padding: 30px 45px;
    max-width: 550px;
    position: relative;
    z-index: 2;
}

.cta-content .section-kicker {
    color: #ffd27c;
}

.cta-content h2 {
    font: 700 32px/1.2 "Playfair Display", serif;
    margin-bottom: 12px;
}

.cta-content p {
    max-width: 430px;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.cta-button {
    background: linear-gradient(110deg, #f4bd48, #ffdc7e);
    color: #402b09;
}

.cta-diya {
    position: absolute;
    right: 12%;
    bottom: 20px;

    font-size: 100px;

    filter: drop-shadow(0 0 25px #ffae25a0);

    animation: diyaFloat 5s ease-in-out infinite;
}


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

.footer {
    padding: 20px 0;
    border-top: 1px solid #eee7de;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p {
    color: #87909d;
    font-size: 12px;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes heroEntrance {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.12);
    }
}

@keyframes haloPulse {
    0%, 100% {
        opacity: .5;
        transform: scale(.92);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes diyaFloat {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-15px) rotate(4deg);
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes particleBlink {
    0%, 100% {
        opacity: .35;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes starDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 170px 170px;
    }
}

@keyframes starPulse {
    0%, 100% {
        opacity: .55;
    }

    50% {
        opacity: 1;
    }
}

@keyframes buttonShine {
    0%, 70% {
        transform: translateX(-120%);
    }

    90%, 100% {
        transform: translateX(120%);
    }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(12deg);
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .nav-menu a {
        padding: 9px 7px;
        font-size: 12px;
    }

    .ritual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .hero-container {
        grid-template-columns: 50% 50%;
    }
}


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

@media (max-width: 650px) {

    .container {
        width: calc(100% - 28px);
    }

    .navbar {
        height: auto;
    }

    .nav-inner {
        min-height: 60px;
        flex-wrap: wrap;
        padding-top: 8px;
    }

    .nav-menu {
        order: 3;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 8px 0;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu a {
        white-space: nowrap;
    }

    /* Hero */

    .ritual-hero {
        min-height: auto;
    }

    .hero-image {
        background-position: 68% center;
    }

    .hero-overlay {
        background: linear-gradient(
            90deg,
            #fbf8f2 0%,
            #fbf8f2ed 45%,
            #fbf8f2a8 100%
        );
    }

    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 23px 0 10px;
        max-width: 100%;
    }

    .breadcrumb {
        margin-bottom: 22px;
    }

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

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

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

    .hero-visual {
        height: 150px;
    }

    .hero-halo {
        width: 180px;
        height: 180px;
    }

    .orbit-one {
        width: 130px;
        height: 130px;
    }

    .orbit-two {
        width: 190px;
        height: 190px;
    }

    .floating-diya {
        font-size: 32px;
    }

    /* Ritual cards */

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

    .ritual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ritual-image {
        height: 125px;
    }

    .ritual-info {
        min-height: 105px;
        padding: 10px;
    }

    .ritual-info h3 {
        font-size: 15px;
    }

    .ritual-info p {
        font-size: 11px;
        max-width: 100%;
        padding-right: 5px;
    }

    .ritual-arrow {
        position: static;
        transform: none;
        margin-top: 9px;
        width: 27px;
        height: 27px;
    }

    .ritual-card:hover .ritual-arrow {
        transform: translateX(4px);
    }

    /* About */

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

    .about-image,
    .about-image img {
        height: 210px;
        min-height: 210px;
    }

    .about-content {
        padding: 22px 16px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .benefit-grid {
        gap: 4px;
    }

    .benefit-item p {
        font-size: 11px;
    }

    /* Why */

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

    /* CTA */

    .ritual-cta {
        min-height: 300px;
    }

    .cta-content {
        padding: 28px 20px;
    }

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

    .cta-diya {
        right: 5%;
        bottom: 5px;
        font-size: 65px;
        opacity: .45;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

}



