/**
 * Ayodhya Ram Mandir - New Hero Slider & Page CSS
 * Premium devotional design
 */

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1A0500;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(3px) brightness(0.4);
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,5,0,0.85) 0%, rgba(93,30,0,0.6) 50%, rgba(26,5,0,0.75) 100%);
}

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

/* Light rays */
.light-rays {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.ray {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 70%;
    background: linear-gradient(to bottom, rgba(255,215,0,0.15), transparent);
    transform-origin: top center;
    animation: rayRotate 8s ease-in-out infinite;
}

.ray:nth-child(1) { transform: rotate(-40deg); animation-delay: 0s; }
.ray:nth-child(2) { transform: rotate(-20deg); animation-delay: 0.5s; width: 3px; opacity: 0.8; }
.ray:nth-child(3) { transform: rotate(0deg); animation-delay: 1s; width: 4px; }
.ray:nth-child(4) { transform: rotate(20deg); animation-delay: 1.5s; width: 3px; opacity: 0.8; }
.ray:nth-child(5) { transform: rotate(40deg); animation-delay: 2s; }

@keyframes rayRotate {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Floating Diyas */
.floating-diyas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-diyas .diya {
    position: absolute;
    font-size: 20px;
    animation: floatDiya 6s ease-in-out infinite;
    opacity: 0.8;
}

.floating-diyas .diya:nth-child(1) { left: 5%; top: 20%; animation-delay: 0s; }
.floating-diyas .diya:nth-child(2) { left: 15%; top: 70%; animation-delay: 1s; font-size: 14px; }
.floating-diyas .diya:nth-child(3) { left: 85%; top: 30%; animation-delay: 2s; }
.floating-diyas .diya:nth-child(4) { left: 90%; top: 65%; animation-delay: 0.5s; font-size: 14px; }
.floating-diyas .diya:nth-child(5) { left: 50%; top: 90%; animation-delay: 3s; }
.floating-diyas .diya:nth-child(6) { left: 30%; top: 85%; animation-delay: 1.5s; font-size: 14px; }

@keyframes floatDiya {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 120px 0 60px;
}

.min-vh-90 { min-height: 90vh; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,130,55,0.2));
    border: 1px solid rgba(255,215,0,0.4);
    color: #FFD700;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.om-symbol { font-size: 18px; }

.animate-glow {
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.3); }
    50% { box-shadow: 0 0 30px rgba(255,215,0,0.6); }
}

.hero-title {
    font-family: 'Cinzel', 'Noto Sans Devanagari', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero-hi {
    display: block;
    font-family: 'Noto Sans Devanagari', serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    background: linear-gradient(90deg, #FFD700, #FF8237, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hero-title .highlight {
    background: linear-gradient(90deg, #FF8237, #F55900, #FF8237);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,215,0,0.2);
    padding: 10px 18px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-stat .stat-icon { font-size: 20px; }
.hero-stat .stat-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #FFD700;
    line-height: 1;
}
.hero-stat .stat-txt { font-size: 11px; color: rgba(255,255,255,0.7); }

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #F55900, #FF8237);
    color: #fff;
    box-shadow: 0 5px 20px rgba(245,89,0,0.4);
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #D44900, #F55900);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,89,0,0.5);
    color: #fff;
}

.btn-hero-outline {
    border-color: rgba(255,215,0,0.6);
    color: #FFD700;
    background: rgba(255,215,0,0.08);
    backdrop-filter: blur(5px);
}

.btn-hero-outline:hover {
    background: rgba(255,215,0,0.2);
    border-color: #FFD700;
    color: #FFD700;
    transform: translateY(-2px);
}

/* Hero Suvichar */
.hero-suvichar {
    position: relative;
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.quote-icon { color: #FFD700; font-size: 24px; margin-bottom: 8px; display: block; }
.hero-suvichar p { color: rgba(255,255,255,0.9); font-style: italic; margin: 0; line-height: 1.6; }

/* ===== HERO SLIDER ===== */
.hero-slider-wrap {
    position: relative;
    padding: 20px;
}

.hero-slider {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.hero-slide {
    display: none;
    animation: slideFadeIn 0.6s ease;
}

.hero-slide.active { display: block; }

@keyframes slideFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.hero-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,215,0,0.1);
    border: 3px solid rgba(255,215,0,0.4);
    box-shadow: 0 0 40px rgba(255,140,0,0.3), inset 0 0 60px rgba(255,215,0,0.05);
    aspect-ratio: 9/10;
}

.slide-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(245,89,0,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
}

.slide-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); background: #F55900; }

/* Frame corners */
.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: #FFD700;
    border-style: solid;
    z-index: 5;
}
.frame-corner.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; border-radius: 8px 0 0 0; }
.frame-corner.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; border-radius: 0 8px 0 0; }
.frame-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; border-radius: 0 0 0 8px; }
.frame-corner.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; border-radius: 0 0 8px 0; }

/* Slide Caption */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26,5,0,0.9), transparent);
    padding: 40px 20px 15px;
    z-index: 5;
}

.slide-label {
    font-family: 'Noto Sans Devanagari', 'Cinzel', serif;
    color: #FFD700;
    font-size: 16px;
    font-weight: 700;
}

/* Diya Glow Effect */
.diya-glow {
    animation: diyaGlow 3s ease-in-out infinite alternate;
}

@keyframes diyaGlow {
    from { box-shadow: 0 0 30px rgba(255,140,0,0.3), inset 0 0 40px rgba(255,215,0,0.05); }
    to { box-shadow: 0 0 60px rgba(255,140,0,0.5), 0 0 100px rgba(245,89,0,0.2), inset 0 0 60px rgba(255,215,0,0.08); }
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,215,0,0.9);
    border: none;
    color: #1A0500;
    font-size: 16px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover { background: #FFD700; transform: translateY(-50%) scale(1.1); }
.slider-prev { left: -15px; }
.slider-next { right: -15px; }

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,215,0,0.3);
    border: 1px solid rgba(255,215,0,0.5);
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.slider-dot.active { background: #FFD700; width: 24px; border-radius: 4px; }

/* Slide Thumbnails */
.slide-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.slide-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255,215,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slide-thumb.active { border-color: #FFD700; transform: scale(1.05); }
.slide-thumb:hover { border-color: rgba(255,215,0,0.6); }

.thumb-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}

/* Scroll Down */
.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll-down a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,215,0,0.5);
    border-radius: 50%;
    color: #FFD700;
    font-size: 16px;
    animation: bounceDown 2s ease-in-out infinite;
    text-decoration: none;
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ===== QUICK CARDS ===== */
.quick-cards-section { background: #FFFEBC; }

.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 24px 16px;
    box-shadow: 0 4px 20px rgba(245,89,0,0.08);
    border: 1px solid rgba(245,89,0,0.08);
    transition: all 0.35s;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F55900, #FFD700);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.quick-card:hover::before { transform: scaleX(1); }
.quick-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(245,89,0,0.2);
    border-color: rgba(245,89,0,0.2);
    color: inherit;
}

.quick-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 14px;
    transition: transform 0.3s;
}

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

.quick-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 6px;
    line-height: 1.3;
}

.quick-card p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.quick-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #F55900;
    font-weight: 600;
    margin-top: auto;
}

/* ===== SECTION STYLES ===== */
.section-padding { padding: 80px 0; }

.section-header { margin-bottom: 50px; }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F5590022, #FF823722);
    color: #F55900;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Cinzel', 'Noto Sans Devanagari', serif;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1A0500;
    margin-bottom: 12px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.lead-text { font-size: 1.1rem; color: #444; line-height: 1.8; margin-bottom: 25px; }

/* ===== MANDIR STATS ===== */
.mandir-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-box {
    background: linear-gradient(135deg, #F55900, #FF8237);
    border-radius: 16px;
    padding: 20px 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 25px rgba(245,89,0,0.3);
    transition: transform 0.3s;
}

.stat-box:hover { transform: translateY(-5px); }

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    font-family: 'Cinzel', serif;
    display: block;
}

.stat-unit { font-size: 11px; opacity: 0.9; margin-top: 4px; }

/* ===== MANDIR GALLERY GRID ===== */
.mandir-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mg-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    grid-row: span 2;
}

.mg-main img { width: 100%; height: 100%; object-fit: cover; }

.mg-badge {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245,89,0,0.9);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.mg-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mg-small {
    border-radius: 14px;
    overflow: hidden;
    height: 120px;
}

.mg-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.mg-small:hover img { transform: scale(1.08); }

/* ===== TIMELINE ===== */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #FFD700, #FF8237, #F55900);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 46%;
}

.timeline-item.left { margin-left: 0; text-align: right; }
.timeline-item.right { margin-left: 54%; }

.timeline-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.timeline-item.right .timeline-content { flex-direction: row; }
.timeline-item.left .timeline-content { flex-direction: row-reverse; }

.timeline-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F55900, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.timeline-body { flex: 1; }

.timeline-kand {
    display: inline-block;
    font-size: 11px;
    color: #FFD700;
    font-weight: 600;
    background: rgba(255,215,0,0.1);
    padding: 2px 10px;
    border-radius: 10px;
    margin-bottom: 6px;
}

.timeline-body h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Noto Sans Devanagari', serif;
}

.timeline-body p { color: rgba(255,255,255,0.7); font-size: 13px; margin: 0; }

.timeline-dot {
    position: absolute;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFD700;
    border: 3px solid #1A0A00;
    box-shadow: 0 0 10px rgba(255,215,0,0.6);
}

.timeline-item.left .timeline-dot { right: -7.8%; }
.timeline-item.right .timeline-dot { left: -7.8%; }

/* ===== MASONRY GALLERY ===== */
.masonry-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
}

.masonry-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.masonry-item.tall { grid-row: span 2; }

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.masonry-item:hover img { transform: scale(1.08); }

.masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px 15px 12px;
    opacity: 0;
    transition: opacity 0.3s;
}

.masonry-item:hover .masonry-overlay { opacity: 1; }

.masonry-overlay span { color: #FFD700; font-weight: 700; font-size: 14px; }

/* ===== PLACE CARDS ===== */
.place-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.4s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.place-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    color: inherit;
}

.place-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.place-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.place-card:hover .place-img img { transform: scale(1.08); }

.place-overlay {
    position: absolute;
    inset: 0;
}

.place-body { padding: 20px; }

.place-body h3 {
    font-family: 'Noto Sans Devanagari', 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #1A0500;
    margin-bottom: 8px;
}

.place-body p { color: #666; font-size: 14px; margin-bottom: 12px; }

.place-link { color: #F55900; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ===== STORY CARDS ===== */
.story-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.1);
    transition: all 0.4s;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,215,0,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    color: inherit;
}

.story-img { height: 200px; overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.story-card:hover .story-img img { transform: scale(1.08); }

.story-body { padding: 20px; }

.story-body h3 {
    font-family: 'Noto Sans Devanagari', 'Cinzel', serif;
    font-size: 17px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
}

.story-body p { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 12px; }

.read-more { color: #FF8237; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; }

/* ===== REVIEWS ===== */
.review-card {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 5px 25px rgba(245,89,0,0.08);
    border: 1px solid rgba(245,89,0,0.08);
    height: 100%;
    transition: transform 0.3s;
}

.review-card:hover { transform: translateY(-5px); }

.review-stars { color: #FFD700; font-size: 16px; margin-bottom: 12px; }
.review-text { color: #444; font-size: 14px; line-height: 1.7; font-style: italic; margin-bottom: 16px; }

.review-author { display: flex; align-items: center; gap: 12px; }

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F55900, #FFD700);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.review-author strong { display: block; font-size: 14px; color: #1A1A1A; }
.review-author span { font-size: 12px; color: #999; }

/* ===== USER GALLERY ===== */
.user-uploads-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 40px;
}

.user-upload-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1;
}

.user-upload-item img,
.user-upload-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px 10px 8px;
    color: #fff;
}

.upload-info strong { display: block; font-size: 13px; }
.upload-info span { font-size: 11px; opacity: 0.8; }

/* Upload Form */
.upload-form-wrap {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(245,89,0,0.1);
    border: 1px solid rgba(245,89,0,0.1);
}

.upload-form-wrap h3 {
    font-family: 'Noto Sans Devanagari', 'Cinzel', serif;
    font-size: 22px;
    font-weight: 800;
    color: #F55900;
    margin-bottom: 24px;
    text-align: center;
}

.file-upload-area {
    border: 3px dashed rgba(245,89,0,0.3);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #FFF8F0;
    position: relative;
}

.file-upload-area:hover,
.file-upload-area.dragover {
    border-color: #F55900;
    background: #FFF0E0;
}

.file-upload-area i { font-size: 40px; color: #F55900; margin-bottom: 12px; display: block; }
.file-upload-area p { color: #666; font-size: 15px; margin-bottom: 6px; }
.file-upload-area span { font-size: 12px; color: #999; }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }

.upload-preview-media {
    max-width: 200px;
    max-height: 200px;
    border-radius: 12px;
    margin-top: 12px;
    object-fit: cover;
}

/* ===== TRAVEL CARDS ===== */
.travel-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,215,0,0.15);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.travel-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    border-color: rgba(255,215,0,0.4);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.travel-icon {
    font-size: 40px;
    color: #FFD700;
    margin-bottom: 16px;
}

.travel-card h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.travel-card p { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.7; }

/* ===== CITY TAGS ===== */
.city-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.city-tag {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1.5px solid rgba(245,89,0,0.2);
    border-radius: 50px;
    color: #1A1A1A;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.city-tag:hover {
    background: linear-gradient(135deg, #F55900, #FF8237);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245,89,0,0.3);
}

.city-tag-more {
    background: linear-gradient(135deg, #F55900, #FF8237);
    color: #fff;
    border-color: transparent;
}

/* ===== DONATION CTA ===== */
.donation-cta { padding: 80px 0; }

/* ===== FOOTER ADJUSTMENTS ===== */
.main-footer { margin-top: 0; }

/* ===== TOP BAR & MARQUEE ===== */
.marquee-bar {
    background: linear-gradient(90deg, #1A0500, #3D1A00);
    padding: 10px 0;
    overflow: hidden;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

.marquee-wrapper { overflow: hidden; }

.marquee-content {
    display: flex;
    gap: 40px;
    animation: marqueeSlide 30s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.marquee-content:hover { animation-play-state: paused; }

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD700;
    font-size: 14px;
    font-weight: 600;
    padding: 0 20px;
    border-right: 1px solid rgba(255,215,0,0.2);
}

.marquee-item i { color: #FF8237; }

@keyframes marqueeSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== PAGE CONTENT STYLES ===== */
.page-hero {
    background: linear-gradient(135deg, #1A0500, #3D1A00);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #FFFEBC;
    clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-title {
    font-family: 'Cinzel', 'Noto Sans Devanagari', serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 12px;
}

.page-hero-subtitle { color: rgba(255,255,255,0.8); font-size: 1.1rem; }

.breadcrumb-nav { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.breadcrumb-nav a { color: rgba(255,215,0,0.7); font-size: 13px; text-decoration: none; }
.breadcrumb-nav a:hover { color: #FFD700; }
.breadcrumb-nav span { color: rgba(255,255,255,0.4); font-size: 12px; }

.page-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
}

.page-content h2 {
    font-family: 'Noto Sans Devanagari', 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #F55900;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(245,89,0,0.15);
}

.page-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A0500;
    margin: 30px 0 12px;
}

.page-content p { margin-bottom: 16px; }

.page-content ul,
.page-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.page-content li { margin-bottom: 8px; }

/* ===== GALLERY PAGE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    background: #1A0A00;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: #FFD700; font-size: 32px; }

.gallery-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(245,89,0,0.9);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

/* ===== LIGHTBOX ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active { display: flex; }

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img,
.lightbox-content video {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===== CITY/KEYWORD PAGE ===== */
.city-page-hero {
    background: linear-gradient(135deg, #1A0500, #3D1A00);
    padding: 100px 0 50px;
    text-align: center;
}

.city-title {
    font-family: 'Cinzel', 'Noto Sans Devanagari', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #FFD700;
    margin-bottom: 12px;
}

.city-meta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.city-meta span {
    background: rgba(255,215,0,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    color: rgba(255,255,255,0.8);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content { padding: 100px 0 50px; }
    .timeline-wrapper::before { left: 20px; }
    .timeline-item { width: 100%; margin-left: 50px; text-align: left; }
    .timeline-item.left,
    .timeline-item.right { margin-left: 50px; }
    .timeline-item.left .timeline-content { flex-direction: row; }
    .timeline-item.left .timeline-dot { left: -5%; }
    .timeline-item.right .timeline-dot { left: -5%; }
    .mandir-stats { grid-template-columns: repeat(2, 1fr); }
    .masonry-gallery { grid-template-columns: repeat(2, 1fr); }
    .user-uploads-grid { grid-template-columns: repeat(2, 1fr); }
    .mandir-gallery-grid { grid-template-columns: 1fr; }
    .mg-main { grid-row: auto; height: 280px; }
    .mg-side { flex-direction: row; }
    .mg-small { flex: 1; height: 100px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero-title { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .btn-hero { justify-content: center; }
    .hero-stats { gap: 10px; }
    .hero-stat { padding: 8px 12px; }
    .masonry-gallery { grid-template-columns: repeat(2, 1fr); }
    .masonry-item.tall { grid-row: auto; }
    .mandir-stats { grid-template-columns: repeat(2, 1fr); }
    .slide-thumbs { display: none; }
    .hero-frame { aspect-ratio: 4/3; }
    .slider-prev { left: 5px; }
    .slider-next { right: 5px; }
    .upload-form-wrap { padding: 24px 16px; }
    .city-tags-cloud { gap: 8px; }
    .city-tag { font-size: 12px; padding: 6px 14px; }
    .user-uploads-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .masonry-gallery { grid-template-columns: 1fr 1fr; }
    .user-uploads-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-stat .stat-num { font-size: 16px; }
    .hero-stats { gap: 8px; }
}

/* ===== ADMIN PANEL LINK ===== */
.col-xl-2-custom { flex: 0 0 20%; max-width: 20%; }
@media (max-width: 1200px) { .col-xl-2-custom { flex: 0 0 25%; max-width: 25%; } }
@media (max-width: 992px) { .col-xl-2-custom { flex: 0 0 33.33%; max-width: 33.33%; } }
@media (max-width: 768px) { .col-xl-2-custom { flex: 0 0 50%; max-width: 50%; } }

/* ===== ANIMATIONS ===== */
[data-aos] { transition-duration: 0.6s !important; }

.animate-float {
    animation: floatAnim 4s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ===== AARTI / BHAJAN SECTION ===== */
.aarti-card {
    background: linear-gradient(135deg, #1A0500, #3D1A00);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
}

.aarti-card:hover { transform: translateY(-5px); border-color: rgba(255,215,0,0.5); }

.aarti-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.aarti-thumb img { width: 100%; height: 100%; object-fit: cover; }

.aarti-play {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
}

.aarti-body { padding: 16px; }
.aarti-body h4 { color: #FFD700; font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.aarti-body p { color: rgba(255,255,255,0.7); font-size: 12px; }

/* ===== SIDEBAR STYLES (for page.php) ===== */
.sidebar { position: sticky; top: 100px; }

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 5px 25px rgba(245,89,0,0.08);
}

.sidebar-title {
    font-family: 'Noto Sans Devanagari', 'Cinzel', serif;
    font-size: 18px;
    font-weight: 800;
    color: #F55900;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(245,89,0,0.15);
}

.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li { border-bottom: 1px solid rgba(245,89,0,0.08); }
.sidebar-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #444;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.sidebar-links a:hover { color: #F55900; }
.sidebar-links a i { color: #F55900; width: 16px; }

/* ===== TABLE STYLES ===== */
.info-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.info-table th { background: linear-gradient(135deg, #F55900, #FF8237); color: #fff; padding: 12px 16px; text-align: left; font-size: 14px; }
.info-table td { padding: 12px 16px; border-bottom: 1px solid rgba(245,89,0,0.08); font-size: 14px; }
.info-table tr:hover td { background: rgba(245,89,0,0.03); }

/* ===== SCHEMA / SEO HIDDEN ===== */
.seo-keywords, .hidden-content { display: none; }
