﻿/* ================= Theme Colors ================= */
/* Define primary theme colors for easy reuse */
:root {
    --primary: #FF6F00; /* main orange color */
    --primary-dark: #E64A00; /* darker shade of primary */
    --accent: #FFB84D; /* accent yellow-orange */
    --text: #5C2D00; /* primary text color */
    --bg: #FFFDF5; /* background color */
}

/* ================= Base Styles ================= */
/* Apply global body styles */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    background: var(--bg);
}

/* --- AboutHeader --- */
.about-header {
    background: linear-gradient(145deg, #FFFDF5 0%, #FFEACD 100%);
    padding: 20px 20px; /* compact padding */
    border-radius: 16px; /* slightly smaller radius */
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    border: 1px solid #FFB84D;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .about-header:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    /* --- PageHeader inside AboutHeader --- */
    .about-header .PageHeader {
        color: #FF6F00;
        font-size: 32px; /* slightly smaller font */
        font-weight: 700;
        margin: 0 0 8px 0; /* tighter spacing */
        font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background: linear-gradient(90deg, #FF8A00, #FFC071);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.08);
    }

/* Responsive adjustment */
@media (max-width: 768px) {
    .about-header .PageHeader {
        font-size: 24px;
    }
}

/* --- LabelHeader1 inside AboutHeader --- */
.about-header .LabelHeader1 {
    font-size: 16px; /* slightly smaller */
    font-weight: 500;
    color: #FF6F00;
    margin: 3px auto 0 auto; /* tighter spacing */
    line-height: 1.5;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
}

    /* subtle underline effect */
    .about-header .LabelHeader1::after {
        content: "";
        display: block;
        width: 50px; /* smaller underline */
        height: 3px;
        background: linear-gradient(90deg, #FF8A00, #FFC071);
        margin: 4px auto 0 auto; /* compact spacing */
        border-radius: 2px;
        transition: width 0.3s ease;
    }

    .about-header .LabelHeader1:hover::after {
        width: 80px;
    }

/* Responsive font size */
@media (max-width: 768px) {
    .about-header .LabelHeader1 {
        font-size: 14px;
    }
}

/* --- LabelHeader2 Section --- */
.LabelHeader2 {
    font-size: 28px; /* prominent font */
    font-weight: 700; /* bold */
    color: #FF6F00; /* solid orange */
    text-align: center; /* center of page */
    line-height: 1.35; /* compact spacing */
    margin: 4px 0; /* tight vertical spacing */
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* subtle shadow for depth */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    /* Hover zoom effect */
    .LabelHeader2:hover {
        transform: scale(1.03);
    }

/* Responsive adjustment */
@media (max-width: 768px) {
    .LabelHeader2 {
        font-size: 22px; /* smaller on mobile */
        line-height: 1.3;
        margin: 3px 0;
    }
}

/* --- Section Header – Festive Style --- */
.SectionHeader {
    font-size: 30px; /* slightly larger for emphasis */
    font-weight: 700; /* bold text */
    text-align: center; /* center on page */
    margin: 10px 0 25px 0; /* spacing above and below */
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(90deg, #8B4513, #FF6F00); /* brown to orange gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* applies gradient to text */
    position: relative;
    display: inline-block;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); /* subtle shadow */
}

    /* Festive underline */
    .SectionHeader::after {
        content: "";
        display: block;
        width: 80px; /* longer underline for festive feel */
        height: 4px;
        background-color: #FF6F00; /* theme orange underline */
        margin: 10px auto 0 auto; /* center underline under text */
        border-radius: 2px;
    }


/* --- Straight Line Separator --- */
.SectionSeparatorContinues {
    width: 100%; /* full width */
    height: 2px; /* thickness of the line */
    background-color: #FF6F00; /* theme orange color */
    margin: 20px 0 30px 0; /* spacing above and below */
    border-radius: 1px; /* subtle rounded edge */
}

/* --- Gradient Separator Line --- */
.SectionSeparatorGradient {
    width: 100%; /* full width */
    height: 3px; /* slightly thicker for style */
    background: linear-gradient(to right, transparent, #FF6F00, transparent);
    margin: 20px 0 30px 0; /* spacing above and below */
    border-radius: 2px; /* subtle rounded edges */
}
/* --- Gradient Separator Line with Center-Grow Animation --- */
.SectionSeparator {
    width: 0; /* start from center */
    height: 3px;
    background: linear-gradient(to right, transparent, #FF6F00, transparent);
    margin: 20px 0 30px 0;
    border-radius: 2px;
    margin-left: auto;
    margin-right: auto;
    animation: growSeparator 1s ease-out forwards; /* animation on page load */
}

/* --- Keyframes for center grow --- */
@keyframes growSeparator {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}


/* --- AppealPara Full Width --- */
.AppealPara {
    font-size: 18px; /* readable paragraph size */
    font-weight: 500; /* medium weight */
    color: #333333; /* dark text for readability */
    line-height: 1.8; /* comfortable line spacing */
    text-align: justify; /* neat alignment */
    margin: 20px auto; /* vertical spacing */
    padding: 25px 40px; /* inner padding matches page content */
    width: 100%; /* full width of container */
    background: #FFF8E5; /* soft cream background */
    border-radius: 16px; /* rounded corners */
    box-shadow: 0 6px 20px rgba(0,0,0,0.06); /* subtle shadow */
    border: 1px solid #FFB84D; /* theme border */
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* ensures padding included in width */
}

    /* Hover effect to lift card slightly */
    .AppealPara:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .AppealPara {
        font-size: 16px;
        line-height: 1.6;
        padding: 20px 20px; /* reduced padding on mobile */
        width: 100%;
    }
}


/* --- Text Section --- */
/* --- Container --- */
.TextImageSection {
    margin-top: 40px;
}

    /* --- Text Section --- */
    .TextImageSection .col-lg-8 {
        padding-right: 5px; /* minimal gap to the image */
    }

    .TextImageSection .AppealPara {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.7;
        color: #333333;
        text-align: justify;
        margin-bottom: 0; /* remove extra bottom spacing */
    }

    /* --- Image Section --- */
    .TextImageSection .col-lg-4 {
        padding-left: 5px; /* minimal gap from text */
        text-align: center;
    }

    /* About Image – reduced height */
    .TextImageSection .AboutImage {
        width: 100%;
        max-height: 490px; /* adjust this value as needed */
        object-fit: cover; /* ensures image scales nicely */
        border-radius: 16px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.06);
        margin-bottom: 15px;
    }

    /* Gallery Button */
    .TextImageSection .GalleryBtn {
        display: inline-block;
        margin-top: 10px;
        background-color: #FF6F00;
        border: none;
        color: #fff;
        font-weight: 600;
        border-radius: 8px;
        transition: background 0.3s ease, transform 0.2s ease;
    }

        .TextImageSection .GalleryBtn:hover {
            background-color: #e65c00;
            transform: translateY(-2px);
        }

/* Responsive adjustments */
@media (max-width: 992px) {
    .TextImageSection .col-lg-8,
    .TextImageSection .col-lg-4 {
        padding: 0;
        text-align: center;
    }

    .TextImageSection .AboutImage {
        max-width: 80%;
        margin: 0 auto 15px;
    }
}

/* --- Intro Paragraph --- */
.KeyAchievements .AppealPara {
    font-size: 20px;
    font-weight: 600;
    color: #FF6F00; /* theme orange */
    text-align: center;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* --- Highlight List --- */
.KeyAchievements .HighlightList {
    list-style: none; /* remove default bullets */
    padding-left: 0;
    max-width: 900px; /* limit width */
    margin: 0 auto; /* center list */
}

    .KeyAchievements .HighlightList li {
        position: relative;
        font-size: 18px;
        font-weight: 500;
        color: #333333;
        line-height: 1.7;
        padding-left: 30px;
        margin-bottom: 15px;
    }

        /* Custom bullet using orange checkmark */
        .KeyAchievements .HighlightList li::before {
            content: "✔";
            position: absolute;
            left: 0;
            top: 0;
            color: #FF6F00;
            font-size: 18px;
            line-height: 1.7;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .KeyAchievements .HighlightList li {
        font-size: 16px;
        padding-left: 25px;
    }

        .KeyAchievements .HighlightList li::before {
            font-size: 16px;
        }

    .KeyAchievements .AppealPara {
        font-size: 18px;
    }
}

/* Two-column HighlightList */
.TwoColumnList {
    display: flex;
    flex-wrap: wrap;
    list-style-type: disc; /* keeps the bullets */
    padding-left: 20px; /* for bullets */
    font-size: x-large; /* same as your original */
    font-weight: 400;
    color: blue; /* same as original */
    margin-bottom: 40px;
}

    .TwoColumnList li {
        width: 50%; /* two columns */
        margin-bottom: 10px; /* space between items vertically */
    }

/* ================= Announcement Bar ================= */
/* Top scrolling announcement bar */
.announcement-bar {
    background-color: #FF8C00; /* orange background */
    color: #fff; /* white text */
    overflow: hidden; /* hide overflowing marquee */
    white-space: nowrap; /* prevent wrapping */
    width: 100%;
    padding: 10px 0;
    position: relative;
    font-size: 1rem;
    font-weight: 600;
}

/* Marquee container */
.marquee {
    display: inline-block;
    padding-left: 100%; /* start off-screen right */
    animation: marquee 25s linear infinite; /* slow continuous scroll */
}

    .marquee span {
        display: inline-block;
        padding-right: 100%; /* ensures smooth looping */
    }

/* Keyframes for marquee scrolling */
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ================= Hero Section ================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 500px; /* desktop height */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background hero image */
.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill container without distortion */
    object-position: center;
    z-index: 0;
}

/* Semi-transparent overlay on hero image */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(230,230,230,0.5);
    z-index: 1;
}

/* Hero text/content container */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

/* Main heading */
.hero-title {
    margin: 0;
    font-size: 3rem;
    color: #e65100;
    text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 30px #ffa500;
}

/* Subtitle */
.hero-subtitle {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #FF8C00;
}

/* Description paragraph */
.hero-description {
    margin-top: 15px;
    font-size: 1.1rem;
    color: saddlebrown;
}

/* Hero buttons container */
.hero-buttons {
    margin-top: 25px;
}

/* Buttons style */
.hero-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 0 8px;
    text-decoration: none;
    transition: all 0.3s;
}

/* Primary button */
.hero-btn-primary {
    background-color: #e65100;
    color: #fff;
}

/* Outline button */
.hero-btn-outline {
    background-color: transparent;
    border: 2px solid #e65100;
    color: #e65100;
}

/* Hover effects */
.hero-btn-primary:hover {
    background-color: #bf360c;
}

.hero-btn-outline:hover {
    background-color: #e65100;
    color: #fff;
}

/* ================= Responsive Hero Section ================= */
@media (max-width: 992px) {
    .hero-section {
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: 80%;
        margin: 5px auto;
    }
}

/* ================= Footer Section ================= */
.footer-section {
    background: #FFFDF5;
    border-top: 2px solid #FFB84D;
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #5C2D00;
}

    /* Footer rows */
    .footer-section .row {
        margin: 0;
        padding: 0;
        align-items: center;
    }

/* Footer logo */
.footer-logo {
    max-height: 120px;
    border: 2px solid #FFB84D;
    border-radius: 8px;
}

/* Footer titles */
.footer-title {
    color: #FF6F00;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
}

/* Footer text */
.footer-text {
    font-size: 0.9rem;
    margin: 0;
    padding: 0;
    color: #5C2D00;
}

/* Footer QR */
.footer-qr {
    width: 100px;
    height: 100px;
    border: 2px solid #FFB84D;
    border-radius: 8px;
    margin: 0;
    padding: 0;
}

/* Footer bottom bar */
.footer-bottom {
    background: #FF6F00;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
    padding: 4px 0;
    margin: 0;
    border-top: 1px solid #E64A00;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-section .row {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo, .footer-qr {
        max-width: 60%;
        height: auto;
        margin-bottom: 5px;
    }

    .footer-text {
        font-size: 0.7rem;
    }

    .footer-title {
        font-size: 0.75rem;
    }
}

/* ================= Visitor Counter ================= */
.visitor-counter {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1100;
    background: linear-gradient(135deg, #FF6F00, #FFB84D);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
}

    /* Eye icon animation for counter */
    .visitor-counter::before {
        content: "👁️";
        font-size: 1.2rem;
        animation: blink 4s infinite;
    }

    /* Hover effect for counter */
    .visitor-counter:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    }

/* Keyframes for eye blinking */
@keyframes blink {
    0%, 90%, 100% {
        transform: scaleY(1);
    }

    92%, 94% {
        transform: scaleY(0.1);
    }
}

/* ================= Ashram / Babaji Section ================= */
.ashram-header {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg,#ff6a00,#ff8c00,#ff6a00);
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.ashram-main-img {
    margin-bottom: 25px;
}

.temple-img {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.babaji-row {
    align-items: center;
}

.babaji-name {
    text-align: center;
    margin-top: 8px;
    font-weight: bold;
    color: #cc5200;
}

.babaji-text {
    font-size: 18px;
    line-height: 1.7;
    text-align: justify;
}

.about-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #ff6a00;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
}

    .about-btn:hover {
        background: #cc5200;
    }

/* ================= Temple / Mandir Section ================= */

/* Section header for gallery */
.temple-section-header {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: white;
    background: linear-gradient(90deg, #ff6a00, #ff8c00, #ff6a00);
    padding: 12px;
    margin-bottom: 25px;
    border-radius: 8px;
}

/* Gallery row flex layout */
.temple-gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Gallery items */
.temple-gallery-item {
    flex: 0 0 calc(33.333% - 13.33px); /* desktop: 3 per row */
    max-width: 370px;
}

/* Card container for images */
.temple-img-box {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff5e6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px; /* desktop height */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s, box-shadow 0.4s;
}

    /* Orange glowing border */
    .temple-img-box::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 5px;
        right: 5px;
        bottom: 5px;
        border: 2px solid #ff8c00;
        border-radius: 8px;
        box-shadow: 0 0 15px 3px rgba(255, 140, 0, 0.5);
        pointer-events: none;
        transition: box-shadow 0.4s, transform 0.4s, border-color 0.4s;
    }

    /* Hover: intensify glow + border + subtle zoom */
    .temple-img-box:hover::before {
        border-color: #ffa500;
        box-shadow: 0 0 40px 8px rgba(255, 140, 0, 0.9);
        transform: scale(1.02);
    }

/* Image inside card */
.temple-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Caption under image */
.temple-img-caption {
    text-align: center;
    margin-top: 12px;
}

    .temple-img-caption h4 {
        color: #cc5200;
        font-weight: bold;
        font-size: 18px;
    }

/* Responsive adjustments */
/* Tablet: 2 per row */
@media (max-width: 991px) {
    .temple-gallery-item {
        flex: 0 0 calc(50% - 10px);
    }

    .temple-img-box {
        height: 450px;
    }
}

/* Mobile: 1 per row */
@media (max-width: 575px) {
    .temple-gallery-item {
        flex: 0 0 100%;
    }

    .temple-img-box {
        height: 350px;
    }
}


/* ================= Ashram Carousel (Swiper.js) ================= */
/* HEADER */
.temple-section-header {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* GRID */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

    .image-grid img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 12px;
        cursor: pointer;
        transition: 0.3s;
    }

        .image-grid img:hover {
            transform: scale(1.05);
        }

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: #FFFDF5; /* ORANGE theme */
    z-index: 999;
    justify-content: center;
    align-items: center;
}

    .modal.show {
        display: flex;
    }

.modal-content {
    max-width: 90%;
    max-height: 75%;
    border-radius: 10px;
    transition: 0.3s;
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* NAV BUTTONS */
.nav {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: black;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* CAPTION */
.caption {
    position: absolute;
    bottom: 20px;
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 18px;
}

/* SCROLL LOCK */
body.modal-open {
    overflow: hidden;
}


/* Grid view Container shadow and rounding */
.table-responsive.shadow-sm.rounded {
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    border-radius: 16px;
    overflow: hidden; /* ensures rounded corners apply */
}

/* GridView Table */
.GVSetting {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Poppins', sans-serif;
}

/* Header Style */
.GVHeaderStyle {
    background-color: #FF6F00; /* theme orange */
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    padding: 12px 8px;
}

/* Regular Row Style */
.GVRowStyle {
    background-color: #FFF8E5; /* light cream */
    color: #333333;
    padding: 10px 12px;
    text-align: left; /* left-aligned text */
    transition: background 0.3s ease;
}

/* Alternating Row Style */
.GVAlternateRowStyle {
    background-color: #FFE0B3; /* soft orange */
    color: #333333;
    padding: 10px 12px;
    text-align: left; /* left-aligned text */
}

/* Hover Effect */
.GVSetting tr:hover td {
    background-color: #FFD580; /* slightly brighter orange on hover */
    cursor: pointer;
}

/* Pager Style */
.GVSetting .my-3 {
    margin: 15px 0;
    text-align: center;
}

    /* Pager Buttons */
    .GVSetting .my-3 a, .GVSetting .my-3 span {
        display: inline-block;
        margin: 0 5px;
        padding: 6px 12px;
        background-color: #FF6F00;
        color: #fff;
        border-radius: 6px;
        text-decoration: none;
        font-weight: 600;
        transition: background 0.3s ease;
    }

        .GVSetting .my-3 a:hover {
            background-color: #e65c00;
        }

/* Column Widths – override inline widths if needed */
.GVSetting th, .GVSetting td {
    text-align: left; /* left-aligned text for all columns */
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .GVSetting th, .GVSetting td {
        font-size: 14px;
        padding: 6px 4px;
    }

    .GVSetting .my-3 a, .GVSetting .my-3 span {
        padding: 4px 8px;
        font-size: 14px;
    }
}

/* --- Video setting --- */
.my-video {
    width: 100%;
    max-width: 300px;
    margin: 15px 0;
    display: block;
}

.babaji-text .my-video {
    width: 100%;
    height: auto;
    max-width: 300px; /* optional max width */
}

.babaji-text .about-btn {
    display: inline-block;
    margin-top: 10px;
}
