/* =========================================================
   POOJA PAGE
   PREMIUM TEMPLE HERITAGE V2
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f4e8d5;
    color: #35231d;
    font-family:
        "Noto Sans Tamil",
        "Nirmala UI",
        Arial,
        sans-serif;
}

a {
    text-decoration: none;
}

.pooja-page {

    --maroon: #681522;
    --maroon-dark: #31060d;
    --maroon-deep: #220309;

    --copper: #bd5927;
    --copper-dark: #853415;

    --gold: #d69a22;
    --gold-light: #f2cb68;

    --cream: #faf1e1;
    --cream-dark: #ead7bc;

    --text: #38251e;
    --muted: #796457;

    width: 100%;
    overflow: hidden;
}


/* =========================================================
   HERO
   Smaller + Premium
========================================================= */

.pooja-hero {

    position: relative;

    min-height: 350px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 55px 20px;

    overflow: hidden;

    text-align: center;

    color: #fff;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(214,154,34,.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(189,89,39,.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #25040a 0%,
            #470b15 42%,
            #681522 68%,
            #31060d 100%
        );
}


/* diagonal heritage pattern */

.hero-pattern {

    position: absolute;

    inset: 0;

    opacity: .25;

    background-image:
        linear-gradient(
            45deg,
            transparent 47%,
            rgba(255,255,255,.035) 49%,
            transparent 51%
        );

    background-size: 32px 32px;

    pointer-events: none;
}


/* glowing circles */

.hero-glow {

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    filter: blur(5px);

    pointer-events: none;
}

.hero-glow-one {

    top: -160px;
    left: -100px;

    background:
        radial-gradient(
            circle,
            rgba(214,154,34,.22),
            transparent 68%
        );
}

.hero-glow-two {

    right: -120px;
    bottom: -170px;

    background:
        radial-gradient(
            circle,
            rgba(189,89,39,.18),
            transparent 68%
        );
}


.hero-inner {

    position: relative;

    z-index: 2;

    width: min(850px,94%);

    animation:
        heroFade .8s ease both;
}


.hero-symbol {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 12px;

    border:
        1px solid
        rgba(242,203,104,.4);

    border-radius: 50%;

    color: var(--gold-light);

    background:
        rgba(255,255,255,.035);

    font-size: 17px;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.18);
}


.hero-label {

    display: block;

    color: var(--gold-light);

    font-family: Georgia, serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 5px;
}


.pooja-hero h1 {

    margin:
        12px 0 0;

    color: #fff;

    font-family:
        "Noto Serif Tamil",
        "Noto Sans Tamil",
        "Nirmala UI",
        serif;

    font-size:
        clamp(42px,5vw,62px);

    line-height: 1.2;

    font-weight: 800;

    text-shadow:
        0 8px 28px
        rgba(0,0,0,.28);
}


.hero-english {

    margin-top: 2px;

    color:
        rgba(255,255,255,.58);

    font-family: Georgia, serif;

    font-size: 14px;

    letter-spacing: 3px;
}


.hero-divider {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin:
        15px auto;
}


.hero-divider span {

    width: 48px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}


.hero-divider span:last-child {

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}


.hero-divider i {

    color: var(--gold-light);

    font-size: 8px;

    font-style: normal;
}


.pooja-hero p {

    max-width: 650px;

    margin: auto;

    color:
        rgba(255,255,255,.64);

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   COMMON SECTION
========================================================= */

.section-container {

    width: min(1180px,94%);

    margin: auto;
}


.section-heading {

    max-width: 760px;

    margin:
        0 auto 42px;

    text-align: center;
}


.heading-symbol {

    margin-bottom: 8px;

    color: var(--gold);

    font-size: 16px;
}


.heading-label {

    display: block;

    color: var(--copper);

    font-family: Georgia, serif;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 4px;
}


.section-heading h2 {

    margin-top: 7px;

    color: var(--maroon);

    font-family:
        "Noto Serif Tamil",
        "Nirmala UI",
        serif;

    font-size:
        clamp(30px,3.5vw,45px);

    line-height: 1.35;

    font-weight: 800;
}


.heading-english {

    margin-top: 1px;

    color: #9b806d;

    font-family: Georgia, serif;

    font-size: 12px;
}


.heading-decoration {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin:
        13px auto;
}


.heading-decoration span {

    width: 45px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}


.heading-decoration span:last-child {

    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}


.heading-decoration i {

    color: var(--gold);

    font-size: 7px;

    font-style: normal;
}


.section-heading p {

    max-width: 620px;

    margin: auto;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


/* =========================================================
   DAILY POOJA
========================================================= */

.daily-pooja-section {

    position: relative;

    padding:
        75px 20px
        85px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(214,154,34,.08),
            transparent 32%
        ),
        linear-gradient(
            180deg,
            #fbf4e7,
            #efe0ca
        );
}


.daily-pooja-cards {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;
}


/* =========================================================
   DAILY CARDS
========================================================= */

.daily-card {

    position: relative;

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding:
        22px 22px 18px;

    overflow: hidden;

    border-radius: 22px;

    color: #fff;

    box-shadow:
        0 17px 42px
        rgba(52,10,17,.13);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}


.daily-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 25px 55px
        rgba(52,10,17,.20);
}


/* different colors */

.morning-card {

    background:
        linear-gradient(
            145deg,
            #721a2b,
            #35070e
        );
}


.afternoon-card {

    background:
        linear-gradient(
            145deg,
            #c4652c,
            #7d2c13
        );
}


.evening-card {

    background:
        linear-gradient(
            145deg,
            #514014,
            #211a09
        );
}


.daily-card-top {

    width: 100%;

    display: flex;

    justify-content: space-between;
}


.daily-number {

    color:
        rgba(255,255,255,.35);

    font-family: Georgia, serif;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 3px;
}


.daily-mini-label {

    padding:
        5px 8px;

    border:
        1px solid
        rgba(255,255,255,.18);

    border-radius: 30px;

    color:
        rgba(255,255,255,.65);

    font-family: Georgia, serif;

    font-size: 6px;

    letter-spacing: 1.5px;
}


.daily-icon {

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        15px auto 12px;

    border:
        1px solid
        rgba(242,203,104,.55);

    border-radius: 50%;

    color: var(--gold-light);

    background:
        rgba(255,255,255,.04);

    font-size: 22px;
}


.daily-period {

    color: var(--gold-light);

    font-family: Georgia, serif;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 2px;
}


.daily-card h3 {

    margin:
        6px 0 10px;

    color: #fff;

    font-family:
        "Noto Serif Tamil",
        "Nirmala UI",
        serif;

    font-size: 22px;

    font-weight: 800;
}


.time-wrap {

    display: flex;

    align-items: baseline;

    gap: 4px;
}


.time-wrap strong {

    color: #fff0b5;

    font-family: Georgia, serif;

    font-size: 29px;
}


.time-wrap span {

    color: var(--gold-light);

    font-family: Georgia, serif;

    font-size: 8px;

    font-weight: 800;
}


.daily-footer {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: auto;

    padding-top: 13px;

    border-top:
        1px solid
        rgba(255,255,255,.10);

    color:
        rgba(255,255,255,.45);

    font-family: Georgia, serif;

    font-size: 7px;
}


.daily-footer b {

    color: var(--gold-light);

    font-size: 15px;
}


/* =========================================================
   FULL SCHEDULE LINK
========================================================= */

.schedule-link {

    margin-top: 25px;

    text-align: center;
}


.schedule-link a {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--maroon);

    font-family: Georgia, serif;

    font-size: 9px;

    font-weight: 800;
}


.schedule-link a b {

    width: 26px;
    height: 26px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--gold);

    background:
        rgba(214,154,34,.12);
}


/* =========================================================
   =========================================================
   POOJA TYPES
   COMPLETELY NEW PREMIUM DESIGN
   =========================================================
========================================================= */

.pooja-types-section {

    position: relative;

    padding:
        90px 20px
        100px;

    background:
        linear-gradient(
            180deg,
            #e9d7bc 0%,
            #f7eddd 48%,
            #ead7bc 100%
        );
}


/* subtle centre glow */

.pooja-types-section::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 300px;

    top: 0;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(214,154,34,.07);

    filter: blur(50px);

    pointer-events: none;
}


/* =========================================================
   NEW SERVICE GRID
========================================================= */

.pooja-types-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 20px;
}


/* =========================================================
   SERVICE CARD BASE
========================================================= */

.pooja-service-card {

    position: relative;

    min-height: 355px;

    display: flex;

    flex-direction: column;

    padding: 25px;

    overflow: hidden;

    border-radius: 20px;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.pooja-service-card:hover {

    transform:
        translateY(-9px);
}


/* diagonal shine */

.pooja-service-card::after {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -80px;
    bottom: -80px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.10);

    box-shadow:
        0 0 0 25px
        rgba(255,255,255,.025),
        0 0 0 50px
        rgba(255,255,255,.018);

    pointer-events: none;
}


/* =========================================================
   CARD 01
   IVORY + MAROON
========================================================= */

.weekly-card {

    color: var(--text);

    border:
        1px solid
        rgba(103,21,34,.16);

    background:
        linear-gradient(
            145deg,
            #fffdf8 0%,
            #f3e2ca 100%
        );

    box-shadow:
        0 18px 48px
        rgba(55,12,20,.10);
}


.weekly-card::before {

    content: "01";

    position: absolute;

    right: 20px;
    top: 18px;

    color:
        rgba(103,21,34,.055);

    font-family: Georgia, serif;

    font-size: 75px;

    font-weight: 800;

    line-height: 1;
}


/* =========================================================
   CARD 02
   GOLDEN ROYAL
========================================================= */

.special-card {

    color: #3d2b0d;

    border:
        1px solid
        rgba(168,122,21,.30);

    background:
        linear-gradient(
            145deg,
            #fff7d9 0%,
            #e8cb86 100%
        );

    box-shadow:
        0 20px 50px
        rgba(102,67,12,.14);
}


.special-card::before {

    content: "02";

    position: absolute;

    right: 20px;
    top: 18px;

    color:
        rgba(120,82,8,.075);

    font-family: Georgia, serif;

    font-size: 75px;

    font-weight: 800;

    line-height: 1;
}


/* =========================================================
   CARD 03
   DARK FESTIVAL
========================================================= */

.festival-card {

    color: #fff;

    border:
        1px solid
        rgba(242,203,104,.35);

    background:
        linear-gradient(
            145deg,
            #731a2a 0%,
            #430b15 50%,
            #27050b 100%
        );

    box-shadow:
        0 22px 58px
        rgba(49,5,13,.23);
}


.festival-card::before {

    content: "03";

    position: absolute;

    right: 18px;
    top: 18px;

    color:
        rgba(255,255,255,.055);

    font-family: Georgia, serif;

    font-size: 75px;

    font-weight: 800;

    line-height: 1;
}


/* =========================================================
   SERVICE CARD TOP
========================================================= */

.service-card-top {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 30px;
}


.service-number {

    font-family: Georgia, serif;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 3px;
}


.weekly-card .service-number {

    color:
        rgba(103,21,34,.45);
}


.special-card .service-number {

    color:
        rgba(105,70,8,.55);
}


.festival-card .service-number {

    color:
        rgba(255,255,255,.55);
}


/* =========================================================
   ICON
========================================================= */

.service-icon {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    font-size: 20px;

    transform:
        rotate(0deg);

    transition:
        transform .4s ease;
}


.pooja-service-card:hover
.service-icon {

    transform:
        rotate(8deg)
        scale(1.06);
}


.weekly-card .service-icon {

    color: var(--maroon);

    border:
        1px solid
        rgba(103,21,34,.22);

    background:
        rgba(103,21,34,.055);
}


.special-card .service-icon {

    color: #8a610d;

    border:
        1px solid
        rgba(139,98,13,.32);

    background:
        rgba(255,255,255,.22);
}


.festival-card .service-icon {

    color: var(--gold-light);

    border:
        1px solid
        rgba(242,203,104,.45);

    background:
        rgba(255,255,255,.045);
}


/* =========================================================
   LABEL
========================================================= */

.service-label {

    position: relative;

    z-index: 2;

    font-family: Georgia, serif;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 3px;
}


.weekly-card .service-label {

    color: var(--copper);
}


.special-card .service-label {

    color: #95680d;
}


.festival-card .service-label {

    color: var(--gold-light);
}


/* =========================================================
   TITLE
========================================================= */

.pooja-service-card h3 {

    position: relative;

    z-index: 2;

    margin:
        8px 0 12px;

    font-family:
        "Noto Serif Tamil",
        "Nirmala UI",
        serif;

    font-size: 26px;

    font-weight: 800;

    line-height: 1.4;
}


.weekly-card h3 {

    color: var(--maroon);
}


.special-card h3 {

    color: #65470a;
}


.festival-card h3 {

    color: #fff;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.pooja-service-card p {

    position: relative;

    z-index: 2;

    margin: 0;

    font-size: 11px;

    line-height: 1.85;
}


.weekly-card p {

    color: var(--muted);
}


.special-card p {

    color: #725c37;
}


.festival-card p {

    color:
        rgba(255,255,255,.67);
}


/* =========================================================
   BOTTOM BUTTON
========================================================= */

.service-bottom {

    position: relative;

    z-index: 4;

    margin-top: auto;

    padding-top: 22px;
}


.service-button {

    width: 100%;

    min-height: 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 13px 0 16px;

    border-radius: 11px;

    font-family: Georgia, serif;

    font-size: 9px;

    font-weight: 800;

    transition:
        all .3s ease;
}


.service-button b {

    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 15px;

    transition:
        transform .3s ease;
}


.service-button:hover b {

    transform:
        translateX(5px);
}


/* weekly */

.weekly-card .service-button {

    color: var(--maroon);

    border:
        1px solid
        rgba(103,21,34,.15);

    background:
        rgba(255,255,255,.60);
}


.weekly-card .service-button b {

    color: #fff;

    background:
        var(--maroon);
}


.weekly-card .service-button:hover {

    color: #fff;

    background:
        var(--maroon);
}


/* special */

.special-card .service-button {

    color: #684b0e;

    border:
        1px solid
        rgba(104,75,14,.18);

    background:
        rgba(255,255,255,.27);
}


.special-card .service-button b {

    color: #fff;

    background:
        #8c6512;
}


.special-card .service-button:hover {

    color: #fff;

    background:
        #8c6512;
}


/* festival */

.festival-card .service-button {

    color: #fff;

    border:
        1px solid
        rgba(242,203,104,.25);

    background:
        rgba(255,255,255,.045);
}


.festival-card .service-button b {

    color: #4a1b04;

    background:
        var(--gold-light);
}


.festival-card .service-button:hover {

    color: #31060d;

    background:
        var(--gold-light);
}


/* =========================================================
   SUPPORT
   Smaller
========================================================= */

.pooja-support {

    position: relative;

    padding:
        65px 20px
        70px;

    overflow: hidden;

    text-align: center;

    color: #fff;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(242,203,104,.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #27050b,
            #5d111e 50%,
            #32070e
        );
}


.support-glow {

    position: absolute;

    width: 330px;
    height: 220px;

    left: 50%;
    top: -170px;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(214,154,34,.10);

    filter: blur(35px);
}


.support-inner {

    position: relative;

    z-index: 2;

    width: min(720px,94%);

    margin: auto;
}


.support-symbol {

    margin-bottom: 6px;

    color: var(--gold-light);

    font-size: 17px;
}


.support-inner > span {

    color: var(--gold-light);

    font-family: Georgia, serif;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 4px;
}


.support-inner h2 {

    max-width: 720px;

    margin:
        10px auto 0;

    font-family:
        "Noto Serif Tamil",
        "Nirmala UI",
        serif;

    font-size:
        clamp(27px,3.3vw,42px);

    line-height: 1.45;
}


.support-divider {

    margin:
        14px auto;
}


.support-divider span {

    width: 42px;
}


.support-inner p {

    max-width: 590px;

    margin:
        0 auto 20px;

    color:
        rgba(255,255,255,.62);

    font-size: 11px;

    line-height: 1.8;
}


.support-button {

    display: inline-flex;

    align-items: center;

    gap: 13px;

    min-height: 43px;

    padding:
        0 19px;

    border-radius: 50px;

    color: #3c1804;

    background:
        linear-gradient(
            135deg,
            #f3ce6a,
            #c88d1a
        );

    font-family: Georgia, serif;

    font-size: 9px;

    font-weight: 800;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.20);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.support-button b {

    font-size: 15px;
}


.support-button:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 16px 35px
        rgba(0,0,0,.27);
}


/* =========================================================
   ANIMATION
========================================================= */

.pooja-hidden {

    opacity: 0;

    transform:
        translateY(25px);
}


.pooja-visible {

    opacity: 1;

    transform:
        translateY(0);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


@keyframes heroFade {

    from {

        opacity: 0;

        transform:
            translateY(18px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .daily-pooja-cards,
    .pooja-types-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

    .daily-card:last-child,
    .festival-card {

        grid-column:
            1 / -1;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .pooja-hero {

        min-height: 310px;

        padding:
            48px 17px;

    }

    .hero-label {

        font-size: 7px;

        letter-spacing: 3px;

    }

    .pooja-hero h1 {

        font-size: 38px;

    }

    .hero-english {

        font-size: 12px;

    }

    .pooja-hero p {

        font-size: 11px;

    }

    .daily-pooja-section,
    .pooja-types-section {

        padding:
            65px 15px
            70px;

    }

    .section-heading {

        margin-bottom: 35px;

    }

    .section-heading h2 {

        font-size: 29px;

    }

    .section-heading p {

        font-size: 11px;

    }

    .daily-pooja-cards,
    .pooja-types-grid {

        grid-template-columns: 1fr;

    }

    .daily-card:last-child,
    .festival-card {

        grid-column: auto;

    }

    .daily-card {

        min-height: 285px;

    }

    .pooja-service-card {

        min-height: 335px;

        padding: 23px;

    }

    .pooja-service-card h3 {

        font-size: 24px;

    }

    .pooja-support {

        padding:
            58px 15px
            62px;

    }

    .support-inner h2 {

        font-size: 28px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .pooja-hero {

        min-height: 285px;

    }

    .hero-symbol {

        width: 38px;
        height: 38px;

    }

    .pooja-hero h1 {

        font-size: 34px;

    }

    .hero-divider span {

        width: 34px;

    }

    .section-heading h2 {

        font-size: 26px;

    }

    .heading-decoration span {

        width: 34px;

    }

    .daily-card {

        min-height: 275px;

    }

    .daily-icon {

        width: 54px;
        height: 54px;

    }

    .time-wrap strong {

        font-size: 27px;

    }

    .pooja-service-card {

        min-height: 320px;

    }

    .pooja-service-card h3 {

        font-size: 22px;

    }

    .support-inner h2 {

        font-size: 25px;

    }

}