﻿:root {
    --saffron: #b87333;
    --deep-saffron: #a6632b;
    --cream: #f7efe6;
    --dark: #2b2b2b;
    --muted: #675041;
    --accent-grad: linear-gradient(90deg,#e67e22,#d35400);
    --card-shadow: 0 10px 30px rgba(89,44,10,0.08);
}

/* Global */
* {
    box-sizing: border-box
}

body {
    font-family: Inter, "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: var(--cream);
    color: var(--dark);
    scroll-behavior: smooth
}

a {
    text-decoration: none
}

.section-title {
    font-weight: 800;
    color: var(--deep-saffron);
    font-size: 1.6rem
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 1rem
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg,#8a2b0b,#e67e22);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.navbar-brand {
    color: #fff;
    font-weight: 800
}

.nav-link {
    color: #fff !important;
    font-weight: 600;
    margin-left: .6rem;
    position: relative
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: rgba(255,255,255,.9);
        transition: width .25s
    }

    .nav-link:hover::after {
        width: 100%
    }

/* Hero slider (Bootstrap handles carousel) */
.hero-img {
    height: 70vh;
    object-fit: cover;
    filter: brightness(.6);
    min-height: 360px
}

.carousel-caption {
    bottom: 22%
}

    .carousel-caption h1 {
        font-weight: 800;
        font-size: 2.4rem;
        color: #fff;
        text-shadow: 0 6px 22px rgba(0,0,0,.45)
    }

    .carousel-caption p {
        color: #fff;
        font-size: 1.05rem;
        text-shadow: 0 6px 18px rgba(0,0,0,.35)
    }

/* sections */
section {
    padding: 48px 0
}

.container {
    max-width: 1140px
}

.panel {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(210,165,110,.08)
}

/* Seva cards */
.seva-card {
    border-radius: 12px;
    padding: 18px;
    background: linear-gradient(180deg,#fff,#fff9f2);
    border: 1px solid #f2d8c1;
    transition: transform .25s, box-shadow .25s
}

    .seva-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(130,60,20,.08)
    }

.seva-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(210,120,25,.07);
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--deep-saffron);
}

/* Donation plans */
.plan {
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #f2dcc3;
    background: linear-gradient(180deg,#fff,#fffdf8)
}

    .plan .amt {
        font-size: 22px;
        font-weight: 800;
        color: var(--deep-saffron)
    }

    .plan .meta {
        color: var(--muted);
        font-size: .95rem
    }

.plan-cta {
    background: var(--saffron);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .55rem .9rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(168,85,26,.12)
}

    .plan-cta:hover {
        background: var(--deep-saffron)
    }

/* Sapna Rath highlight */
.sapna {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    align-items: center
}

@media (max-width:980px) {
    .sapna {
        grid-template-columns: 1fr
    }
}

/* Gallery masonry */
.masonry-gallery {
    column-count: 3;
    column-gap: 1rem
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative
}

    .gallery-item img {
        width: 100%;
        display: block;
        transition: transform .3s, box-shadow .3s
    }

    .gallery-item:hover img {
        transform: scale(1.05);
        box-shadow: 0 18px 40px rgba(0,0,0,.15)
    }

.overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .6rem;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
    color: #fff;
    font-weight: 600;
    text-align: center
}

/* Timings */
.timings-section {
    background: url('~/assets/temple_timings_bg.jpg') center/cover no-repeat;
    position: relative;
    color: #fff;
    padding-top: 6rem;
    padding-bottom: 6rem
}

    .timings-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,.55)
    }

    .timings-section .container {
        position: relative;
        z-index: 2
    }

/* membership form */
.membership-form {
    border: 2px solid #f3e5d0;
    border-radius: 12px;
    padding: 18px
}

/* testimonials */
.testimonial-card {
    max-width: 700px;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--card-shadow)
}

    .testimonial-card p {
        font-style: italic;
        color: #333
    }

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 26px rgba(0,0,0,.18);
    z-index: 1100
}

    .whatsapp-float:hover {
        transform: scale(1.06)
    }

/* small helpers */
.muted {
    color: var(--muted)
}

.lead-compact {
    font-size: 1rem;
    color: var(--muted)
}

/* responsive masonry */
@media (max-width:992px) {
    .masonry-gallery {
        column-count: 2
    }
}

@media (max-width:576px) {
    .masonry-gallery {
        column-count: 1
    }
}

/* modal image */
.modal-img {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    margin: auto;
    border-radius: 10px;
    object-fit: contain
}
/* video modal arrows */
#prevVideo, #nextVideo {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    opacity: .95
}
