
:root {
    --bg: #f7f3ed;
    --surface: #ffffff;
    --primary: #2c2a23;
    --accent: #d48b1f;
    --accent-hover: #b87515;
    --text: #2b2b2b;
    --muted: #5f5b52;
    --border: #ede5cf;
    --gold-light: #fbf1d1;
    --gold: #f7db6a;
}

.temple-body {
    font-family: 'Mukta', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.temple-body *, .temple-body *::before, .temple-body *::after {
    box-sizing: border-box;
}

.topbar, .topbar *, .site-header, .site-header *, .hero, .hero *, .footer, .footer *, .temple-services-portal, .temple-services-portal * {
    margin: 0;
    padding: 0;
}

.temple-body a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.temple-body a:hover {
    color: var(--accent-hover);
}

/* 1. Topbar */
.temple-body .topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2.5rem;
    background: #111;
    color: #fff;
    font-size: 0.9rem;
}

.temple-body .topbar-left {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.temple-body .custom-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}

.temple-body .lang-btn {
    background: transparent;
    border: none;
    color: #a8a295;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;
}

.temple-body .lang-btn:hover {
    color: #fff;
}

.temple-body .lang-btn.active {
    color: #ffd859;
    text-shadow: 0 0 8px rgba(255, 216, 89, 0.4);
}

.temple-body .lang-divider {
    color: rgba(255,255,255,0.2);
    font-size: 0.8rem;
    pointer-events: none;
}

.temple-body .topbar-right a, .temple-body .donation-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.temple-body .topbar-right a:hover, .temple-body .donation-btn:hover {
    background: var(--accent-hover);
}

/* 2. Brand Sticky Header & Nav */
.temple-body .site-header {
    background: var(--gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.temple-body .site-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
}

/* Hamburger Toggle Button */
.temple-body .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
}

.temple-body .menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Transform hamburger to 'X' */
.temple-body .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.temple-body .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.temple-body .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.temple-body .brand {
    display: flex;
    flex-direction: column;
}

.temple-body .brand-logo {
    font-family: 'Yatra One', 'Tiro Devanagari Marathi', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.temple-body .brand-title {
    font-size: 0.9rem;
    color: var(--primary);
    opacity: 0.85;
    font-weight: 600;
}

.temple-body .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.temple-body .nav-item {
    position: relative;
}

.temple-body .nav-item > a,
.temple-body .nav-item > button {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.temple-body .nav-item > button:hover,
.temple-body .nav-item > a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

.temple-body .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    min-width: 250px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 200;
    border: 1px solid var(--border);
    animation: fadeIn 0.2s ease;
}

.temple-body .nav-item:hover .dropdown-content,
.temple-body .nav-item:focus-within .dropdown-content {
    display: block;
}

.temple-body .dropdown-content a {
    display: block;
    padding: 0.8rem 1.2rem;
    border-bottom: 1px solid #f9f6ef;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.temple-body .dropdown-content a:last-child {
    border-bottom: none;
}

.temple-body .dropdown-content a:hover {
    background: var(--gold-light);
    padding-left: 1.5rem;
    color: #000;
}

/* 3. Hero Section */
.temple-body .hero {
    min-height: 50vh;
    background-image: linear-gradient(180deg, rgba(17, 17, 17, 0.4) 0%, rgba(17, 17, 17, 0.85) 100%), url('/temple_website/static/src/img/shani_banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 4rem 1.5rem;
}

.temple-body .hero h1 {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1.2rem;
    color: #ffd859;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.temple-body .hero p {
    max-width: 750px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
    line-height: 1.7;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* 4. Page Layout Grid */
.temple-body .page-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

.temple-body .breadcrumb {
    font-size: 0.95rem;
    color: #a45d10;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.temple-body .breadcrumb a {
    color: var(--accent);
}

.temple-body .content-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.95fr;
    gap: 2.5rem;
}

.temple-body .article-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0ebdd;
}

.temple-body .article-card h1 {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 2.4rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.temple-body .article-card p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    color: #444;
    line-height: 1.8;
}

.temple-body .article-card strong {
    color: #000;
}

/* 5. Aside Sidebar */
.temple-body aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.temple-body .sidebar-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.temple-body .sidebar-card h2,
.temple-body .sidebar-card h3 {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 1.45rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.4rem;
}

.temple-body .sidebar-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.temple-body .btn.secondary {
    display: block;
    background: #c43d23;
    color: #fff !important;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    transition: background 0.2s ease;
}

.temple-body .btn.secondary:hover {
    background: #a82e16;
}

.temple-body .btn.outline {
    display: block;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    background: transparent;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    transition: all 0.2s ease;
}

.temple-body .btn.outline:hover {
    background: var(--primary);
    color: #fff !important;
}

/* Yantra Table */
.temple-body .mantra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin: 1.2rem 0;
    background: #fff;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.temple-body .mantra-grid span {
    display: block;
    padding: 0.75rem 0;
    background: var(--gold-light);
    color: var(--primary);
    border-radius: 6px;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid #ede3c3;
}

/* 6. Admin portrait page custom */
.temple-body .d-flex {
    display: flex !important;
}

.temple-body .align-items-start {
    align-items: flex-start !important;
}

.temple-body .gap-4 {
    gap: 1.5rem !important;
}

.temple-body .admin-img-box {
    max-width: 170px;
    border: 1px solid #cccccc;
    padding: 6px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.temple-body .admin-img-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.temple-body .admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 1.05rem;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.temple-body .admin-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.6;
    color: #333;
}

.temple-body .admin-table tr:hover {
    background-color: #fafafa;
}

/* 7. Footer */
.temple-body .footer {
    background: #1d1a16;
    color: #eaeaea;
    padding: 4rem 2rem 2rem;
    border-top: 4px solid var(--accent);
}

.temple-body .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.temple-body .footer-box h2 {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.temple-body .footer-box ul {
    list-style: none;
}

.temple-body .footer-box li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.temple-body .footer-box li a {
    color: #ccc;
    font-weight: 500;
    transition: all 0.2s ease;
}

.temple-body .footer-box li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.temple-body .footer-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: #ccc;
}

.temple-body .map-container {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.temple-body .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.temple-body .footer-copyright {
    max-width: 1200px;
    margin: 3rem auto 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 8. Media Queries */
@media (max-width: 960px) {
.temple-body .content-grid {
        grid-template-columns: 1fr;
    }
    
.temple-body .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
.temple-body .site-header .header-inner {
        padding: 0.75rem 1rem;
    }
    
.temple-body .menu-toggle {
        display: flex;
    }
    
.temple-body .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4.5rem 1rem 2rem;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 105;
        overflow-y: auto;
    }
    
.temple-body .nav-menu.active {
        right: 0;
    }
    
.temple-body .nav-item {
        width: 100%;
        border-bottom: 1px solid #f3edd9;
    }
    
    .temple-body .nav-item > a,
.temple-body .nav-item > button {
        padding: 1rem 0.75rem;
        text-align: left;
        width: 100%;
        font-size: 1.05rem;
        border-radius: 0;
    }
    
.temple-body .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--accent);
        background: #fdfcf9;
        display: none;
        animation: none;
        margin-bottom: 0.5rem;
    }
    
    .temple-body .nav-item:hover .dropdown-content,
.temple-body .nav-item:focus-within .dropdown-content {
        display: block;
    }
    
.temple-body .topbar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem 1.5rem;
        text-align: center;
        align-items: center;
    }
}

/* ==========================================================================
   9. Online Services Booking Portal Banner (Homepage)
   ========================================================================== */
.temple-body .temple-services-portal {
    position: relative;
    background: linear-gradient(135deg, #d31e1e 0%, #850606 100%);
    padding: 3rem 1.5rem;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    border-bottom: 5px solid var(--gold);
    box-shadow: inset 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
}

.temple-body .portal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.035)' stroke-width='1'%3E%3Ccircle cx='40' cy='40' r='38'/%3E%3Ccircle cx='40' cy='40' r='28'/%3E%3Cpath d='M40,2 A38,38 0 0,0 2,40 A38,38 0 0,0 40,78 A38,38 0 0,0 78,40 A38,38 0 0,0 40,2 Z'/%3E%3Cpath d='M40,12 A28,28 0 0,0 12,40 A28,28 0 0,0 40,68 A28,28 0 0,0 68,40 A28,28 0 0,0 40,12 Z'/%3E%3Cpath d='M40,0 L40,80 M0,40 L80,40'/%3E%3Cpath d='M11.72,11.72 L68.28,68.28 M11.72,68.28 L68.28,11.72'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.temple-body .portal-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 2;
}

.temple-body .portal-intro-text {
    font-size: 1.15rem;
    font-weight: 500;
    max-width: 850px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    color: #fff;
    opacity: 0.95;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.02em;
}

.temple-body .portal-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.temple-body .portal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 140px;
}

.temple-body .portal-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.temple-body .portal-svg-icon {
    width: 90px;
    height: 90px;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.temple-body .circle-glow {
    transition: all 0.3s ease;
}

.temple-body .portal-label {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Hover Effects */
.temple-body .portal-item:hover {
    transform: translateY(-8px);
}

.temple-body .portal-item:hover .portal-icon-wrapper {
    box-shadow: 0 0 25px rgba(255, 216, 89, 0.4);
}

.temple-body .portal-item:hover .portal-svg-icon {
    color: #ffd859;
    filter: drop-shadow(0 0 8px rgba(255, 216, 89, 0.8));
}

.temple-body .portal-item:hover .circle-glow {
    stroke: #ffd859;
    stroke-width: 2.5px;
}

.temple-body .portal-item:hover .portal-label {
    color: #ffd859;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* 4. Online Donation Button style */
.temple-body .portal-btn-wrapper {
    margin-top: 1.5rem;
}

.temple-body .portal-donation-btn {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #f7db6a 0%, #e6be3b 100%);
    color: #3b2c04 !important;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.95rem 3rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    border: 1px solid #ffeb99;
}

.temple-body .portal-donation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.temple-body .portal-donation-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 216, 89, 0.4), 0 4px 10px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffd859 0%, #f7db6a 100%);
    color: #000 !important;
}

.temple-body .portal-donation-btn:hover::before {
    left: 150%;
    transition: all 0.8s ease-in-out;
}

/* Responsiveness for Services Portal */
@media (max-width: 768px) {
.temple-body .temple-services-portal {
        padding: 2.5rem 1rem;
    }
    
.temple-body .portal-intro-text {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }
    
.temple-body .portal-grid {
        gap: 2rem;
    }
    
.temple-body .portal-item {
        width: 120px;
    }
    
.temple-body .portal-icon-wrapper {
        width: 85px;
        height: 85px;
    }
    
.temple-body .portal-svg-icon {
        width: 75px;
        height: 75px;
    }
    
.temple-body .portal-label {
        font-size: 1rem;
    }
    
.temple-body .portal-donation-btn {
        padding: 0.85rem 2rem;
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   10. Google Translate Styling
   ========================================================================== */
/* Hide Google logo/attribution in the dropdown */
.temple-body .goog-logo-link {
    display: none !important;
}
.temple-body .goog-te-gadget {
    color: transparent !important;
    font-size: 0 !important;
}
.temple-body .goog-te-gadget span {
    display: none !important;
}
/* Style the select element itself */
.temple-body #google_translate_element select {
    background: #222;
    color: #ffd859;
    border: 1px solid var(--accent);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.25s ease;
}
.temple-body #google_translate_element select:hover {
    background: #333;
    border-color: #ffd859;
    color: #fff;
}
/* Hide the top frame banner inserted by Google Translate */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-banner,
.temple-body iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
}
.temple-body {
    top: 0 !important;
}
/* Hide Google translation suggestion popup on hover */
.temple-body .goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* ==========================================================================
   11. Homepage UI Enhancements
   ========================================================================== */
.temple-body .home-welcome-section {
    margin-bottom: 2.5rem;
}

.temple-body .home-gateway-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1.5px solid var(--border);
    position: relative;
}

.temple-body .home-gateway-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.temple-body .home-gateway-container:hover .home-gateway-img {
    transform: scale(1.03);
}

.temple-body .gateway-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: linear-gradient(135deg, #c03a1e 0%, #850606 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(133, 6, 6, 0.4);
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.15);
}

.temple-body .home-welcome-title {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 2.3rem;
    color: #850606;
    margin-bottom: 1.5rem;
    line-height: 1.35;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.6rem;
}

.temple-body .lead-text {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #1a1915 !important;
    line-height: 1.7 !important;
    margin-bottom: 1.2rem;
}

/* Featured Section: Shri Shanidev Card */
.temple-body .home-featured-card {
    display: flex;
    gap: 1.8rem;
    background: linear-gradient(135deg, #fffcf5 0%, #fff9e6 100%);
    border: 1.5px solid #ebd3a6;
    border-left: 5px solid #d48b1f;
    border-radius: 16px;
    padding: 2.2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(212, 139, 31, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.temple-body .home-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 139, 31, 0.12);
    border-color: var(--accent);
}

.temple-body .featured-card-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.temple-body .featured-card-content {
    flex-grow: 1;
}

.temple-body .featured-card-content h2 {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 1.8rem;
    color: #850606;
    margin-top: 0;
    margin-bottom: 0.8rem;
    border: none !important;
    padding: 0 !important;
}

/* Premium Buttons & Links */
.temple-body .read-more-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.2rem;
}

.temple-body .read-more-btn {
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.98rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

.temple-body .read-more-btn .arrow {
    transition: transform 0.25s ease;
    display: inline-block;
}

.temple-body .read-more-btn:hover {
    color: var(--accent-hover);
}

.temple-body .read-more-btn:hover .arrow {
    transform: translateX(5px);
}

.temple-body .read-more-btn.highlight {
    background: linear-gradient(135deg, #c03a1e 0%, #850606 100%);
    color: #fff !important;
    padding: 0.65rem 1.6rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(192, 58, 30, 0.25);
    text-transform: uppercase;
}

.temple-body .read-more-btn.highlight:hover {
    background: linear-gradient(135deg, #a82e16 0%, #700404 100%);
    box-shadow: 0 8px 22px rgba(192, 58, 30, 0.4);
    transform: translateY(-1px);
}

.temple-body .read-more-btn.text-muted {
    color: #5f5b52;
}

.temple-body .read-more-btn.text-muted:hover {
    color: var(--accent);
}

/* Projects Section */
.temple-body .home-projects-section {
    margin-top: 3.5rem;
}

.temple-body .section-heading {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.temple-body .section-heading::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 28px;
    background: linear-gradient(180deg, #c03a1e 0%, #d48b1f 100%);
    border-radius: 3px;
}

.temple-body .projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.temple-body .project-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid var(--border);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.02);
}

.temple-body .project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    border-color: var(--accent);
}

.temple-body .project-card.completed {
    border-top: 4px solid #28a745;
}

.temple-body .project-card.active {
    border-top: 4px solid #ffc107;
}

.temple-body .project-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.temple-body .project-card-header h3 {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0;
    border: none !important;
    padding: 0 !important;
}

.temple-body .project-icon {
    font-size: 1.6rem;
}

/* Sidebar Enhancements */
.temple-body .sidebar-card.warning-card {
    border: 1px solid #ffd6cc !important;
    background-color: #fffcfc !important;
    border-left: 4px solid #e62e00 !important;
}

.temple-body .sidebar-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid var(--border) !important;
}

.temple-body .sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(212, 139, 31, 0.1) !important;
    border-color: var(--accent) !important;
}

.temple-body .prasad-card, .temple-body .aarti-card, .temple-body .utsav-card, .temple-body .yantra-card, .temple-body .lyrics-card {
    position: relative;
    overflow: hidden;
}

.temple-body .prasad-card::before, .temple-body .aarti-card::before, .temple-body .utsav-card::before, .temple-body .yantra-card::before, .temple-body .lyrics-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--gold) 100%);
}

/* Special styling for Yantra card */
.temple-body .yantra-card {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%) !important;
}

.temple-body .yantra-card .mantra-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    border: 1.5px solid var(--accent) !important;
    box-shadow: inset 0 2px 8px rgba(212, 139, 31, 0.1) !important;
    padding: 8px !important;
}

.temple-body .yantra-card .mantra-grid span {
    background: var(--gold-light) !important;
    border: 1.5px solid #f2e3be !important;
    color: var(--primary) !important;
    font-size: 1.25rem !important;
    transition: all 0.25s ease !important;
    cursor: default;
}

.temple-body .yantra-card .mantra-grid span:hover {
    background: var(--gold) !important;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(212, 139, 31, 0.35);
    color: #000 !important;
}

/* Prasad highlight timings */
.temple-body .prasad-card div {
    transition: all 0.3s ease;
}
.temple-body .prasad-card:hover div {
    background: #fbf5e2 !important;
    border-color: var(--accent) !important;
}

/* Warning notice animations */
.temple-body .warning-card h3 {
    animation: pulseNotice 2s infinite ease-in-out;
}

@keyframes pulseNotice {
    0% { opacity: 0.95; }
    50% { opacity: 1; color: #ff0000; }
    100% { opacity: 0.95; }
}

/* Responsive Overrides */
@media (max-width: 960px) {
.temple-body .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
.temple-body .home-welcome-title {
        font-size: 1.8rem;
    }
.temple-body .lead-text {
        font-size: 1.15rem !important;
    }
.temple-body .home-featured-card {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        padding: 1.8rem;
    }
.temple-body .featured-card-icon {
        font-size: 2.5rem;
    }
.temple-body .section-heading {
        font-size: 1.6rem;
    }
}

