/* ========================================
   RESET & BASE STYLES
   ======================================== */
:root {
    /* Primary colors with richer depth */
    --primary: #1a2f5a;
    --primary-2: #2c4a7c;
    --primary-light: #3d5a8c;
    --nav: #0f1d3a;

    /* Vibrant accent palette */
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.4);
    --accent-light: #fbbf24;
    --accent-dark: #d97706;

    /* Modern neutral palette */
    --bg: #fafbfc;
    --bg-gradient: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    --glass: rgba(255, 255, 255, 0.92);
    --glass-dark: rgba(26, 47, 90, 0.95);
    --text: #0f172a;
    --text-light: #475569;
    --muted: #64748b;
    --border: #e2e8f0;

    /* Modern spacing */
    --radius: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --radius-xs: 8px;

    /* Elevation shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);

    --ring: 0 0 0 3px rgba(245, 158, 11, 0.25);
    --ring-primary: 0 0 0 3px rgba(26, 47, 90, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 47, 90, 0.04) 0%, transparent 50%);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}

/* Motion settings */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ========================================
   URGENT ALERT BANNER
   ======================================== */
.urgent-alert {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--nav);
    padding: 14px 20px;
    text-align: center;
    font-size: .92rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
    z-index: 1100;
    position: relative;
    letter-spacing: 0.01em;
}

.urgent-alert::before {
    content: '⚠️';
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.urgent-alert button {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(26, 47, 90, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    color: var(--nav);
}

.urgent-alert button:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* ========================================
   HEADER & LOGO - Modern Hero Style
   ======================================== */
header {
    background: linear-gradient(135deg, #0f1d3a 0%, #1a2f5a 50%, #2c4a7c 100%);
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--bg);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.church-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    animation: float 3s ease-in-out infinite;
}

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

.header-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 0.8rem;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-text p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ========================================
   FLOATING NAVIGATION - Modern Pill Style
   ======================================== */
nav {
    position: sticky;
    top: 20px;
    z-index: 1000;
    margin: -40px 20px 30px;
}

nav ul {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    border-radius: 60px;
    list-style: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    max-width: max-content;
    margin: 0 auto;
}

nav ul li a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: block;
    letter-spacing: 0.01em;
}

nav ul li a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav ul li a span {
    position: relative;
    z-index: 1;
}

nav ul li a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 47, 90, 0.25);
}

nav ul li a:hover::before {
    opacity: 1;
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */
.container {
    max-width: 1280px;
    margin: 4rem auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .sidebar { order: -1; position: static !important; }
}

/* ========================================
   SIDEBAR - Modern Card Design
   ======================================== */
.sidebar {
    height: fit-content;
    position: sticky;
    top: 110px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar h3 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Special Meetings Card */
#special-meetings-container {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

#special-meetings-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%);
}

.special-meeting {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    padding: 1.8rem;
    border-radius: var(--radius-md);
    border: 2px solid #c4b5fd;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.1);
}

.special-meeting h4 {
    color: #5b21b6;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.special-meeting p {
    color: #6b21a8;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}

.special-meeting p strong {
    color: #4c1d95;
    font-weight: 700;
}

.special-meeting p:last-child {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd6fe;
    font-style: italic;
}

/* Bible Verse Card - Gradient Style */
.bible-verse {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.bible-verse::before {
    content: '✨';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    opacity: 0.2;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.2;
        transform: rotate(0deg) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: rotate(15deg) scale(1.1);
    }
}

.bible-verse::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    left: 20px;
    font-size: 140px;
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
}

.bible-verse h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.1rem;
}

.bible-verse h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.bible-verse p {
    font-size: 1.08rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-style: italic;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.bible-verse .reference {
    font-size: 0.92rem;
    font-weight: 600;
    opacity: 0.9;
    font-style: normal;
    letter-spacing: 0.02em;
}

.verse-countdown {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.85rem;
    margin-top: 24px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.02em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ========================================
   CONTENT SECTIONS - Modern Cards
   ======================================== */
.content-section {
    background: var(--surface);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    border: 1px solid var(--border);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

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

.content-section h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h2::before {
    content: '';
    width: 6px;
    height: 32px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 3px;
}

/* ========================================
   MEETING ITEMS & LIVE PULSE
   ======================================== */
.meeting-item {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.meeting-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.meeting-item:hover {
    transform: translateX(12px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.meeting-item:hover::before {
    transform: scaleY(1);
}

.meeting-item h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.meeting-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.meeting-active {
    border-color: #10b981 !important;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.meeting-active::before {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
    transform: scaleY(1) !important;
}

.live-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: livePulse 2s ease-in-out infinite;
}

.live-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ========================================
   PHOTO GALLERY - Modern Grid
   ======================================== */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.photo-item {
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}

.photo-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.photo-item:hover::after {
    opacity: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   PRAYER FORM - Modern Input Design
   ======================================== */
.prayer-form input,
.prayer-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface);
}

.prayer-form input:focus,
.prayer-form textarea:focus {
    border-color: var(--accent);
    box-shadow: var(--ring);
    outline: none;
    background: #fff;
}

.prayer-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 1.3rem 2.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.submit-btn:hover::before {
    opacity: 1;
}

.submit-btn:active {
    transform: translateY(-1px);
}

.submit-btn span {
    position: relative;
    z-index: 1;
}

.success-message {
    display: none;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px solid #6ee7b7;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.success-message.show {
    display: block;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   MEDIA & MAPS
   ======================================== */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.media-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.media-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.media-card iframe {
    width: 100%;
    height: 280px;
    border: none;
    display: block;
}

/* ========================================
   ANNOUNCEMENTS - Special Styling
   ======================================== */
.announcement-item {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 2px solid #fbbf24;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-item::before {
    content: '📢';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    opacity: 0.1;
    transform: rotate(15deg);
}

.announcement-item::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.announcement-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
}

.announcement-item h3 {
    color: #92400e;
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.announcement-item .date {
    color: #b45309;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-item p:not(.date) {
    color: #78350f;
    line-height: 1.8;
    font-size: 1.02rem;
}

.badge-new {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: newBadgePulse 2s ease-in-out infinite;
}

@keyframes newBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(239, 68, 68, 0.5);
    }
}

/* Special Note Styling */
.meeting-item[style*="fff3cd"] {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%) !important;
    border-left: 5px solid #eab308 !important;
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(234, 179, 8, 0.15);
}

.meeting-item[style*="fff3cd"] strong {
    color: #854d0e;
    font-weight: 700;
}

.meeting-item[style*="fff3cd"] p {
    color: #713f12;
    font-size: 1.02rem;
}

/* ========================================
   BIBLE STORE PREVIEW ON MAIN PAGE
   ======================================== */
.bible-store-preview {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.store-preview-content {
    text-align: left;
}

.store-preview-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.store-preview-content h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.store-preview-content > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.store-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.store-feature {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.store-feature span {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.store-feature p {
    color: var(--text);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.visit-store-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.visit-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.store-preview-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.preview-bible-card {
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

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

@media (max-width: 768px) {
    .bible-store-preview {
        grid-template-columns: 1fr;
    }

    .store-preview-images {
        order: -1;
    }
}

/* ========================================
   BIBLE STORE PAGE - HERO & LAYOUT
   ======================================== */
.bible-store-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 4rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bible-store-hero::before {
    content: '✝️';
    position: absolute;
    font-size: 250px;
    opacity: 0.06;
    top: -40px;
    right: -40px;
    animation: float 6s ease-in-out infinite;
}

.bible-store-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bible-store-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.bible-store-hero p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.verse-highlight-store {
    background: rgba(212, 175, 55, 0.2);
    border-left: 4px solid var(--accent);
    padding: 1.2rem;
    border-radius: var(--radius-xs);
    margin: 1.5rem auto;
    max-width: 600px;
    font-style: italic;
    text-align: left;
    font-size: 1.05rem;
}

.search-bar-store {
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 600px;
    margin: 2rem auto 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.search-bar-store input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
    color: var(--text);
}

.search-bar-store .search-btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.store-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.store-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.store-main {
    min-width: 0;
}

.store-section {
    margin-bottom: 4rem;
}

/* Cart Icon */
.cart-icon {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.25);
}

.cart-count {
    background: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    min-width: 24px;
    text-align: center;
}

/* ========================================
   FILTERS SIDEBAR
   ======================================== */
.filter-section {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.filter-section h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-xs);
    transition: background 0.2s;
}

.filter-option:hover {
    background: #f8f9fa;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    color: var(--text);
    font-size: 0.95rem;
}

.clear-filters-btn {
    width: 100%;
    background: var(--text-light);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
}

.clear-filters-btn:hover {
    background: var(--primary);
}

/* ========================================
   SHOPPING CART SIDEBAR
   ======================================== */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: var(--surface);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-cart:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 3rem 1rem;
    font-style: italic;
}

.cart-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.cart-item-info h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cart-item-info p {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.cart-item-controls button {
    background: var(--primary);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s;
}

.cart-item-controls button:hover {
    background: var(--primary-light);
}

.cart-item-controls .remove-btn {
    background: #ef4444;
    margin-left: auto;
}

.cart-item-controls .remove-btn:hover {
    background: #dc2626;
}

.cart-item-controls span {
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 2px solid var(--border);
    background: #f8f9fa;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.cart-total span:last-child {
    color: var(--accent);
}

.checkout-btn {
    width: 100%;
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

/* ========================================
   RESOURCES & CTA SECTIONS
   ======================================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.resource-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.resource-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.resource-card .price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.store-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.store-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.store-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    background: var(--accent);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.shipping-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    margin-top: 2rem;
}

.shipping-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.bible-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .store-container {
        grid-template-columns: 1fr;
    }

    .store-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .filter-section {
        display: none;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 768px) {
    .bible-store-hero {
        padding: 3rem 1.5rem 2rem;
    }

    .contact-options {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
    }
}

/* ========================================
   BIBLE STORE SECTION
   ======================================== */
.bible-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.bible-category-card {
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bible-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.category-icon-large {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.bible-category-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bible-category-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.bible-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.bible-product-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bible-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bible-cover {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bible-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.bible-product-info {
    padding: 1.5rem;
}

.bible-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bible-badge-new {
    background: #ef4444;
    color: white;
}

.bible-badge-popular {
    background: #8b5cf6;
    color: white;
}

.bible-badge-devotional {
    background: #10b981;
    color: white;
}

.bible-badge-gift {
    background: #ec4899;
    color: white;
}

.bible-badge-youth {
    background: #f59e0b;
    color: white;
}

.bible-product-info h4 {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.bible-version {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.bible-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.bible-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.bible-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.bible-add-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.7rem 1.3rem;
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bible-add-btn:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.bible-add-btn:active {
    transform: scale(0.98);
}

.bible-store-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

.bible-store-notice p {
    color: #78350f;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}

@media (max-width: 768px) {
    .bible-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .bible-categories {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }
}

/* ========================================
   FOOTER - Modern Dark
   ======================================== */
footer {
    background: linear-gradient(135deg, #0f1d3a 0%, #1a2f5a 100%);
    color: white;
    padding: 6rem 2rem 3rem;
    text-align: center;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--bg);
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
}

footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: var(--accent);
    margin-bottom: 1.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.92rem;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
    header {
        padding: 4rem 1.5rem 3.5rem;
    }

    header::after {
        height: 50px;
    }

    nav {
        margin: -30px 12px 20px;
    }

    nav ul {
        gap: 4px;
        padding: 6px;
        border-radius: 50px;
    }

    nav ul li a {
        padding: 10px 16px;
        font-size: 0.88rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .meeting-item {
        padding: 1.5rem;
    }

    .bible-verse {
        padding: 2.5rem 2rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .container {
        margin: 3rem auto;
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 1.8rem 1.2rem;
    }

    .meeting-item {
        padding: 1.3rem;
    }
}