@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    /* Colors */
    --color-primary: #8A1C14;        /* Deep Crimson Red */
    --color-primary-light: #A82C24;  /* Lighter Red for hover */
    --color-primary-dark: #63100B;   /* Darker Red */
    --color-accent: #D4AF37;         /* Metallic Gold */
    --color-accent-light: #E5C05B;   /* Lighter Gold */
    --color-accent-dark: #B38F1E;    /* Darker Gold */
    --color-bg-light: #FFFDF9;       /* Ivory warm white */
    --color-bg-alt: #F9F6F0;         /* Soft Cream for alternates */
    --color-dark: #121519;           /* Slate Dark */
    --color-dark-card: rgba(26, 29, 32, 0.85); /* Glassmorphic Dark Card */
    --color-text-dark: #2D3139;      /* Charcoal Body Text */
    --color-text-muted: #626875;     /* Slate Gray Muted */
    --color-text-light: #FFFDF9;     /* Light Text */
    
    /* Font Families */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 15px -3px rgba(138, 28, 20, 0.08), 0 4px 6px -2px rgba(138, 28, 20, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-gold: 0 10px 20px -5px rgba(212, 175, 55, 0.25);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary-dark);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

/* Elegant gold bottom border for main section titles */
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

h2.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.text-muted {
    color: var(--color-text-muted);
}

/* --- CORE ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) forwards;
}

.animate-slide-up {
    animation: slideUp var(--transition-slow) forwards;
}

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

/* --- BUTTONS & INTERACTIVES --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px var(--color-primary-light);
}

.btn-accent {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-dark);
    box-shadow: var(--shadow-gold);
    border: 2px solid var(--color-accent-light);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -6px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.btn-icon-round {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- HEADER / NAVIGATION --- */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

.header-top {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 0.4rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.header-top-info {
    display: flex;
    gap: 1.5rem;
}

.header-top-info a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.header-top-info a:hover {
    color: var(--color-accent);
}

.main-header {
    background-color: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(138, 28, 20, 0.05);
    padding: 1.1rem 1.5rem;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(255, 253, 249, 0.95);
    box-shadow: var(--shadow-md);
    padding: 0.7rem 1.5rem;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition-normal);
}

.main-header.scrolled .logo-img {
    height: 45px;
}

.site-title-container {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.1;
}

.site-subtitle {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.btn-donate {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    margin-left: 0.75rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-primary);
}

/* Dropdown Menu Support */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg-light);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.75rem 0;
    min-width: 220px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    z-index: 110;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.dropdown-link:hover {
    background-color: var(--color-bg-alt);
    color: var(--color-primary);
    padding-left: 1.5rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    transition: var(--transition-normal);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 8px; }
.menu-toggle span:nth-child(3) { top: 16px; }

/* Hamburger Open Animation */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- COMMON LAYOUT & GRID COMPONENTS --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3 {
    color: var(--color-text-light);
}

.section-dark p {
    color: rgba(255, 253, 249, 0.7);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
}

.section-subtitle-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Glassmorphic card styling */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Responsive grid system */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* Custom columns split */
.flex-split {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.flex-split > * {
    width: 100%;
}

/* Image framing */
.img-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(212, 175, 55, 0.2);
}

.img-frame::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    pointer-events: none;
    border-radius: calc(var(--radius-md) - 8px);
}

/* --- HERO COMPONENT --- */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 100px; /* Offset fixed header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.45;
    z-index: 1;
    transform: scale(1.05);
    transition: transform var(--transition-slow);
}

.hero-section:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(18, 21, 25, 0.4) 0%, rgba(18, 21, 25, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 1.5rem;
    animation: fadeIn var(--transition-slow) forwards;
}

.hero-tag {
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,253,249,0.85);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    font-family: var(--font-body);
}

/* --- BANNER / SUB-HERO FOR SUB-PAGES --- */
.subpage-banner {
    position: relative;
    padding: 6rem 0;
    background-color: var(--color-dark);
    margin-top: 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: var(--color-text-light);
}

.subpage-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: 1;
}

.subpage-banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.subpage-banner-content h1 {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.subpage-banner-content p {
    color: rgba(255, 253, 249, 0.7);
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* --- WIDGETS & FEATURE CARDS --- */
/* Meditation Checklist Items */
.check-list {
    margin: 1.5rem 0;
}

.check-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.check-list-icon {
    color: var(--color-accent-dark);
    flex-shrink: 0;
    font-size: 1.1rem;
    margin-top: 3px;
}

/* Meditation Schedule Blocks */
.schedule-block {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.schedule-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.schedule-time {
    font-weight: 500;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* --- VIDEO WRAPPER --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(212, 175, 55, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- DYNAMIC SLIDERS / CAROUSELS (Vanilla CSS + JS fallback) --- */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 1rem;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide standard Firefox scrollbar */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Hide Chrome/Safari scrollbar */
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

/* Custom indicator dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(138, 28, 20, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* --- CONCERT CARD & GRID (Matruvandana) --- */
.concert-card {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(138, 28, 20, 0.04);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.concert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(212, 175, 55, 0.2);
}

.concert-thumb-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: var(--color-dark);
}

.concert-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.concert-card:hover .concert-thumb {
    transform: scale(1.05);
}

.concert-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 21, 25, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.concert-card:hover .concert-play-overlay {
    opacity: 1;
}

.concert-play-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-gold);
    transform: scale(0.85);
    transition: var(--transition-normal);
    border: none;
    cursor: pointer;
}

.concert-card:hover .concert-play-btn {
    transform: scale(1);
}

.concert-play-btn:hover {
    background-color: var(--color-accent-light);
    transform: scale(1.1) !important;
}

.concert-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.concert-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-bottom: 0.5rem;
}

.concert-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    color: var(--color-primary-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.1rem; /* Limit height to line clamp equivalent */
}

.concert-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Search and Filters Layout */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px solid rgba(138, 28, 20, 0.05);
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
    max-width: 400px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(138, 28, 20, 0.15);
    background-color: var(--color-bg-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}

.filter-btn-group {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(138, 28, 20, 0.15);
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-color: var(--color-primary);
}

/* --- PHOTO GALLERY (Pratishthan Captures) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    padding-bottom: 66.66%; /* 3:2 ratio */
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(138, 28, 20, 0.05);
}

.gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(138, 28, 20, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

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

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

.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: var(--shadow-gold);
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.gallery-item:hover .gallery-zoom-icon {
    transform: translateY(0);
}

/* --- CONTACT FORM & REQUISITES --- */
.contact-form {
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    border: 1px solid rgba(138, 28, 20, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(138, 28, 20, 0.15);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-info-list {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(138, 28, 20, 0.05);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    border: 1px solid rgba(138, 28, 20, 0.1);
}

.contact-info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.contact-info-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* --- FOOTER COMPONENT --- */
.main-footer {
    background-color: var(--color-dark);
    color: var(--color-text-light);
    padding: 5rem 0 2rem 0;
    border-top: 3px solid var(--color-accent);
}

.main-footer h4 {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.main-footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-logo-container {
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 60px;
}

.footer-description {
    font-size: 0.9rem;
    color: rgba(255, 253, 249, 0.65);
    margin-bottom: 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 253, 249, 0.07);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 253, 249, 0.05);
}

.footer-social-link:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.footer-links-list li {
    margin-bottom: 0.75rem;
}

.footer-links-list a {
    font-size: 0.88rem;
    color: rgba(255, 253, 249, 0.7);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links-list a:hover {
    color: var(--color-accent);
    padding-left: 0.25rem;
}

.app-badge-link img {
    height: 48px;
    width: auto;
    transition: var(--transition-fast);
}

.app-badge-link img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 253, 249, 0.08);
    font-size: 0.8rem;
    color: rgba(255, 253, 249, 0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 253, 249, 0.5);
}

/* --- LIGHTBOX MODAL --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 21, 25, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.95);
    transition: var(--transition-normal);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(212, 175, 55, 0.3);
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-close:hover {
    color: var(--color-accent);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 253, 249, 0.08);
    border: 1px solid rgba(255, 253, 249, 0.1);
    color: var(--color-text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-arrow:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

.lightbox-arrow-left { left: -75px; }
.lightbox-arrow-right { right: -75px; }

.lightbox-caption {
    color: var(--color-text-light);
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    font-family: var(--font-heading);
}

/* --- DONATION MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 21, 25, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background-color: var(--color-bg-light);
    width: 90%;
    max-width: 550px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    color: var(--color-text-light);
    padding: 1.75rem 2rem;
    position: relative;
    border-bottom: 2px solid var(--color-accent);
}

.modal-header h3 {
    color: var(--color-text-light);
    font-size: 1.4rem;
}

.modal-close {
    position: absolute;
    top: 1.75rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--color-accent);
}

.modal-body {
    padding: 2.5rem 2rem;
}

.modal-body p {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: var(--color-text-dark);
}

.donation-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.donation-option-card {
    border: 1px solid rgba(138, 28, 20, 0.15);
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.donation-option-card:hover {
    border-color: var(--color-accent);
    background-color: #FFF;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.donation-option-info h4 {
    font-size: 1.1rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.25rem;
}

.donation-option-info p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    text-align: left;
}

.donation-option-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.donation-option-card:hover .donation-option-arrow {
    background-color: var(--color-accent);
    color: var(--color-dark);
}

/* --- MEDIA QUERIES --- */
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    
    .flex-split {
        flex-direction: row;
    }
    
    .flex-split > * {
        width: 50%;
    }
    
    .carousel-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    
    .carousel-slide {
        flex: 0 0 calc(33.333% - 1rem);
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
}

@media (max-width: 1299px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--color-bg-light);
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
        padding: 6rem 2.5rem 2.5rem 2.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        transition: var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0.5rem 1rem 0 1rem;
        background-color: transparent;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .nav-item-dropdown:hover .dropdown-menu {
        display: block;
    }
    
    .lightbox-arrow-left { left: 1rem; }
    .lightbox-arrow-right { right: 1rem; }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .hero-section {
        height: 60vh;
    }
}

@media (max-width: 1399px) and (min-width: 1300px) {
    .site-title {
        font-size: 1.1rem;
    }
    .logo-img {
        height: 48px;
    }
    .main-header.scrolled .logo-img {
        height: 40px;
    }
    .nav-menu {
        gap: 0.95rem;
    }
    .nav-link {
        font-size: 0.85rem;
    }
    .btn-donate {
        padding: 0.55rem 1.3rem;
        font-size: 0.86rem;
        margin-left: 0.4rem;
    }
}

/* --- CENTERS DIRECTORY PREMIUM STYLING --- */
.filter-select {
    padding: 0.75rem 2rem 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(138, 28, 20, 0.15);
    background-color: var(--color-bg-light);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text-dark);
    cursor: pointer;
    outline: none;
    transition: var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%238A1C14' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.filter-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.zone-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background-color: rgba(138, 28, 20, 0.06);
    color: var(--color-primary);
    border: 1px solid rgba(138, 28, 20, 0.12);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.center-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid var(--color-primary);
    height: 100%;
}

.center-card-body {
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.center-card-body p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.center-coordinators {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(138, 28, 20, 0.05);
}

.center-coordinators h5 {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.center-coordinators-list {
    font-size: 0.88rem;
    line-height: 1.4;
}

.center-coordinators-list a {
    color: var(--color-primary);
    font-weight: 600;
}

.center-card-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(138, 28, 20, 0.05);
}

.center-card-footer .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    flex: 1;
}

.center-card-footer .btn-wa {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.center-card-footer .btn-wa:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
    transform: translateY(-2px);
}

.committee-details {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(138, 28, 20, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
    overflow: hidden;
    transition: var(--transition-normal);
}

.committee-details summary {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.committee-details summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
    color: var(--color-primary);
}

.committee-details[open] summary::after {
    transform: rotate(180deg);
}

.committee-details-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(138, 28, 20, 0.05);
}

.committee-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.committee-table th,
.committee-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(138, 28, 20, 0.05);
    font-size: 0.9rem;
}

.committee-table th {
    font-weight: 700;
    color: var(--color-primary-dark);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(138, 28, 20, 0.1);
}

.committee-table tr:hover {
    background-color: var(--color-bg-alt);
}

/* --- CENTERS DIRECTORY DIRECT TABLE LAYOUT --- */
.directory-table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 700px;
    background-color: var(--color-bg-light);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.directory-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 1200px;
}

.directory-table thead th {
    position: sticky;
    top: 0;
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.1rem 0.85rem;
    border-bottom: 2px solid var(--color-accent);
    z-index: 10;
    text-align: left;
}

.directory-table tbody td {
    padding: 1rem 0.85rem;
    border-bottom: 1px solid rgba(138, 28, 20, 0.08);
    font-size: 0.9rem;
    vertical-align: top;
    color: var(--color-text-dark);
    line-height: 1.5;
}

.directory-table tbody tr:hover {
    background-color: var(--color-bg-alt);
}

.directory-table tbody tr.main-row {
    background: linear-gradient(90deg, rgba(255, 253, 249, 0.95) 0%, rgba(212, 175, 55, 0.06) 100%);
}

.directory-table tbody tr.main-row td {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.directory-table .btn-table-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(138, 28, 20, 0.15);
    background-color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.directory-table .btn-table-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.directory-table .btn-wa {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.3);
}

.directory-table .btn-wa:hover {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.directory-table .btn-share {
    color: var(--color-primary);
    border-color: rgba(138, 28, 20, 0.2);
}

.directory-table .btn-share:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.directory-table .map-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.directory-table .map-link:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
    transform: translateY(-1px);
}

.directory-table .phone-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.25rem;
    transition: var(--transition-fast);
}

.directory-table .phone-link:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

.directory-table .multi-lines {
    white-space: pre-line;
}

/* Modal Option Cards inside Share Modal */
.donation-option-card#share-copy:hover {
    border-color: var(--color-primary);
}
.donation-option-card#share-wa:hover {
    border-color: #25D366;
}
.donation-option-card#share-system:hover {
    border-color: var(--color-accent);
}
.donation-option-card#share-email:hover {
    border-color: var(--color-text-muted);
}

@media (max-width: 991px) {
    .directory-table-wrap {
        overflow: visible;
        max-height: none;
    }
    
    .directory-table, 
    .directory-table thead, 
    .directory-table tbody, 
    .directory-table th, 
    .directory-table td, 
    .directory-table tr {
        display: block;
    }
    
    .directory-table thead {
        display: none;
    }
    
    .directory-table {
        min-width: 0 !important;
    }
    
    .directory-table tbody tr {
        border: 1px solid rgba(138, 28, 20, 0.12);
        border-radius: var(--radius-md);
        background-color: var(--color-bg-light);
        margin-bottom: 1.5rem;
        box-shadow: var(--shadow-sm);
        padding: 1.25rem;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    
    .directory-table tbody tr.main-row {
        border-color: var(--color-accent);
        background: linear-gradient(180deg, rgba(255, 253, 249, 0.95) 0%, rgba(212, 175, 55, 0.05) 100%);
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.08);
    }
    
    .directory-table tbody td {
        display: flex;
        padding: 0.4rem 0;
        border: none;
        align-items: flex-start;
        font-size: 0.92rem;
        border-bottom: 1px solid rgba(138, 28, 20, 0.03);
    }
    
    .directory-table tbody td:last-child {
        border-bottom: none;
    }
    
    .directory-table tbody td::before {
        content: attr(data-label) ":";
        font-weight: 700;
        color: var(--color-text-muted);
        width: 120px;
        flex-shrink: 0;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Specific styles for buttons/actions on mobile */
    .directory-table tbody td[data-label="WhatsApp"],
    .directory-table tbody td[data-label="Share"],
    .directory-table tbody td[data-label="Map"] {
        display: inline-flex;
        width: auto;
        padding: 0.5rem 0.25rem;
        margin-top: 0.5rem;
        border-bottom: none;
    }
    
    .directory-table tbody td[data-label="Map"]::before,
    .directory-table tbody td[data-label="WhatsApp"]::before,
    .directory-table tbody td[data-label="Share"]::before {
        display: none; /* Hide standard labels */
    }
    
    .directory-table tbody td[data-label="Map"] {
        margin-right: auto;
    }

    /* Committee Table mobile layout */
    .committee-table,
    .committee-table thead,
    .committee-table tbody,
    .committee-table th,
    .committee-table td,
    .committee-table tr {
        display: block;
    }
    
    .committee-table thead {
        display: none;
    }
    
    .committee-table tbody tr {
        border: 1px solid rgba(138, 28, 20, 0.08);
        border-radius: var(--radius-sm);
        background-color: var(--color-bg-light);
        margin-bottom: 1rem;
        padding: 0.75rem 1rem;
        box-shadow: var(--shadow-sm);
    }
    
    .committee-table tbody td {
        display: flex;
        padding: 0.3rem 0;
        border: none;
        align-items: center;
        font-size: 0.88rem;
        border-bottom: 1px solid rgba(138, 28, 20, 0.03);
    }
    
    .committee-table tbody td:last-child {
        border-bottom: none;
    }
    
    .committee-table tbody td::before {
        content: attr(data-label) ":";
        font-weight: 700;
        color: var(--color-text-muted);
        width: 100px;
        flex-shrink: 0;
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
}

/* Live stream pulsing indicator animation */
@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

/* --- VIDEO MODAL PLAYER --- */
.video-modal-container {
    background-color: var(--color-dark);
    width: 95%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: scale(0.9);
    transition: var(--transition-normal);
    overflow: hidden;
}

.modal-overlay.active .video-modal-container {
    transform: scale(1);
}

.video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    background-color: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
}

/* Empty state styling for searches */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-bg-alt);
    border-radius: var(--radius-md);
    border: 1px dashed rgba(138, 28, 20, 0.15);
    color: var(--color-text-muted);
}
.no-results-message i {
    font-size: 2.5rem;
    color: var(--color-accent-dark);
    margin-bottom: 1rem;
    display: block;
}
.no-results-message h3 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

/* --- DEDICATED VIDEO PLAYER PAGE --- */
.player-container {
    max-width: 1000px;
    margin: 2rem auto;
}

.player-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.player-back-btn:hover {
    color: var(--color-accent-dark);
    transform: translateX(-4px);
}

.player-header {
    margin-bottom: 2rem;
}

.player-header h1 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.player-video-wrap {
    background-color: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.player-nav-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.player-nav-btn {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(138, 28, 20, 0.12);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    max-width: 45%;
    width: 100%;
    cursor: pointer;
    text-decoration: none;
}

.player-nav-btn:hover {
    background-color: var(--color-bg-alt);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.player-nav-btn.prev {
    align-items: flex-start;
    text-align: left;
}

.player-nav-btn.next {
    align-items: flex-end;
    text-align: right;
}

.player-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-accent-dark);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.player-nav-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.player-details-card {
    margin-bottom: 3.5rem;
    border-left: 5px solid var(--color-accent);
}

.player-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.player-details-item {
    font-size: 0.95rem;
}

.player-details-item strong {
    color: var(--color-primary-dark);
    display: block;
    margin-bottom: 0.25rem;
}

@media (max-width: 576px) {
    .player-nav-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .player-nav-btn {
        max-width: 100%;
    }
}

/* --- GLOBAL MOBILE-RESPONSIVE FIXES --- */

/* Tablet & Mobile Layouts (below 991px) */
@media (max-width: 991px) {
    .header-top {
        display: none !important;
    }
    
    .hero-section,
    .subpage-banner {
        margin-top: 72px !important; /* Offset for shorter header since header-top is hidden */
    }
    
    .section {
        padding: 3rem 0; /* Tighter padding for mobile screens */
    }
    
    .subpage-banner {
        padding: 4rem 0;
    }
}

/* Mobile Layouts (below 768px) */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    /* Concerts filter bar wrapping */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.25rem;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
    
    .filter-btn-group {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    
    .filter-btn {
        flex-grow: 1;
        text-align: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Narrow Mobile Screens (below 576px) */
@media (max-width: 576px) {
    /* Hide subtitle to prevent logo squishing */
    .site-subtitle {
        display: none !important;
    }
    
    .logo-img {
        height: 38px !important;
    }
    
    .main-header {
        padding: 0.8rem 1rem !important;
    }
    
    .main-header.scrolled {
        padding: 0.6rem 1rem !important;
    }
    
    /* Donation Modal Bank Details Table Stacking */
    .bank-details-panel td {
        display: block !important;
        width: 100% !important;
        padding: 0.35rem 0 !important;
    }
    
    .bank-details-panel tr {
        border-bottom: 1px solid rgba(138, 28, 20, 0.08);
        display: block;
        padding: 0.5rem 0;
    }
    
    .bank-details-panel tr:last-child {
        border-bottom: none;
    }
    
    /* General heading sizing adjustments */
    h1, .section-title {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.6rem !important;
    }
}




