/* ============================================
   TEMPLATE 4 - MODERN PAROKI THEME
   A clean, modern template with glass morphism
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Will be overridden by blade */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-rgb: 99, 102, 241;

    /* Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;

    /* Spacing */
    --section-padding: 80px;
    --container-width: 1200px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #475569;
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

[data-theme="dark"] .btn-outline{
    border-color: white;
    color: var(--text-primary);
}

[data-theme="dark"] .btn-outline:hover{
    background: white;
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-white:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border-color: white;
    color: white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.9);
}

.navbar {
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    /* width: 70px; */
    height: 70px;
    /* border-radius: 50%; */
    object-fit: cover;
}

.navbar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    max-width: 220px;  
}

@media (max-width: 1024px) {
    .navbar-title {
        display: none;
    }
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

.nav-link i {
    font-size: 14px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    padding: 8px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-light);
}

#darkIcon { display: none; }
[data-theme="dark"] #lightIcon { display: none; }
[data-theme="dark"] #darkIcon { display: block; }

/* Mobile Toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   PAGE BANNER
   ============================================ */
.page-banner {
    position: relative;
    padding: 140px 0 80px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner-content {
    position: relative;
    text-align: center;
    color: white;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.breadcrumb-nav {
    display: flex;
    justify-content: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
}

.breadcrumb-item {
    font-size: 15px;
    opacity: 0.9;
}

.breadcrumb-item a {
    color: white;
}

.breadcrumb-item a:hover {
    opacity: 0.8;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 12px;
    opacity: 0.5;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.hero-placeholder {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
}

.hero-placeholder i {
    font-size: 120px;
    color: var(--primary);
    opacity: 0.5;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--section-padding) 0;
}

.bg-secondary {
    background: var(--bg-secondary);
}

.bg-primary-gradient {
    background: var(--gradient-primary);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 48px;
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.text-white .section-title {
    color: white;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

.text-white .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   INFO CARDS (Quick Info)
   ============================================ */
.quick-info {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.info-cards {
    display: flex;   
    justify-content: center;   
    gap: 24px; 
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.info-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 24px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.info-card-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-card-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

.info-card-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--primary);
    border-radius: 50%;
    margin-left: auto;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-card:hover .info-card-link {
    background: var(--primary);
    color: white;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
}

.about-placeholder i {
    font-size: 80px;
    color: var(--text-secondary);
    opacity: 0.3;
}

.about-content .section-badge,
.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

/* ============================================
   NEWS CARDS
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.news-placeholder i {
    font-size: 48px;
    color: var(--text-secondary);
    opacity: 0.3;
}

.news-date {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    color: var(--text-secondary);
}

.news-card-content {
    padding: 24px;
}

.news-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.news-link:hover {
    gap: 10px;
}

.news-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--primary-dark);
}

[data-theme="dark"] .news-tag {
    color: var(--text-primary);
    background: var(--primary-dark);
}

/* ============================================
   ANNOUNCEMENTS
   ============================================ */
.announcements-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.announcement-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.announcement-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.announcement-content {
    flex: 1;
}

.announcement-content i {
    margin-right: 8px;
    color: var(--primary);
}

[data-theme="dark"] .announcement-content i{
    color: var(--text-primary);
}

.announcement-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.announcement-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4px 0;
}

.announcement-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-right: 6px;   
    margin-bottom: 6px; 
    display: inline-block; 
}

.announcement-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--primary-dark);
}

[data-theme="dark"] .announcement-tag {
    color: var(--text-primary);
    background: var(--primary-dark);
}

.announcement-img {
    width: 100%;
    text-align: center;
}

.announcement-img img {
    width: auto;
    max-width: 500px;
    height: auto;
    max-height: 400px;
    border-radius:var(--radius);
    object-fit: contain;
    display: block;
    -webkit-border-radius:var(--radius);
    -moz-border-radius:var(--radius);
    -ms-border-radius:var(--radius);
    -o-border-radius:var(--radius);
}

.announcement-meta {
    flex: 1;
}

.horizontal-layout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
}

.horizontal-layout .announcement-img {
    flex: 0 0 500px;
}

/* Tablet / Small Laptop */
@media (max-width: 1024px) {
    .horizontal-layout .announcement-img {
        flex: 0 0 180px;
    }

    .announcement-img img {
        max-height: 350px;
    }
}

/* Tablet / Large Mobile */
@media (max-width: 768px) {
    .horizontal-layout {
        flex-direction: column;
        gap: 15px;
    }

    .horizontal-layout .announcement-img {
        flex: 0 0 auto;
    }

    .announcement-img {
        text-align: center;
    }

    .announcement-img img {
        display: block;
        margin: 0 auto;
        max-height: 300px;
        width: auto;
    }
}

/* Mobile L */
@media (max-width: 425px) {
    .horizontal-layout {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .announcement-img {
        text-align: center;
    }

    .announcement-img img {
        max-height: 215px;
    }
}

/* Mobile M */
@media (max-width: 375px) {
    .announcement-img img {
        max-height: 185px;
    }
}

/* Mobile S */
@media (max-width: 320px) {
    .announcement-img img {
        max-height: 150px;
    }
}

.announcement-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
}

.announcement-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    transition: var(--transition);
}

.announcement-item:hover .announcement-link {
    background: var(--primary);
    color: white;
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.schedule-card {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: var(--transition);
}

.schedule-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.schedule-day {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}

.schedule-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    padding: 0 15px 0;
}

.schedule-note {
    margin-top: 12px;
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   PASTORS SECTION
   ============================================ */
.pastors-grid {
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;   
    gap: 30px;  
}

.pastor-card {
    text-align: center;
}

.pastor-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-light);
}

.pastor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.pastor-placeholder i {
    font-size: 60px;
    color: var(--text-secondary);
    opacity: 0.3;
}

.pastor-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pastor-role {
    font-size: 14px;
    color: var(--primary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 60px 0;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: white;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-content p {
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
}

[data-theme="dark"] .footer {
    background: #0a0f1a;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.75fr 1fr;
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    /* width: 60px; */
    height: 60px;
    /* border-radius: 50%; */
    object-fit: cover;
}

.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    color: var(--text-secondary);
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a i {
    font-size: 10px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--text-secondary);
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-schedule {
    list-style: none;
}

.footer-schedule li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.footer-schedule li .schedule-time {
    color: var(--primary);
}

.schedule-day {
    color: var(--text-primary);
    font-weight: 500;
}

.schedule-time {
    color: var(--primary);
    font-weight: 600;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright, .powered-by {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ============================================
   CONTENT PAGES
   ============================================ */
/* Search */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.search {
    width: 70%;
    padding: 10px 18px;
    border: 2px solid var(--primary);
    background: var(--primary-light);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 2px 5px var(--primary-dark);
    transition: all 0.3s ease;
}

.search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-dark);
}


/* Pagination */
.pagination-container {
    margin-top: 1rem;
    text-align: center;
}

#pagination-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 10px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#pagination-nav.show {
    opacity: 1;
    pointer-events: auto;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background-color: var(--bg-primary);
    color: var(--primary);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination-btn:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.1);
}

/*  Modal Fullscreen  */
.berita-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1050;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

.berita-modal.active {
    display: block;
}

/* ===== HEADER ===== */
.berita-header {
    text-align: center;
    padding: 30px 20px 10px;
    color: var(--text-primary);
}

.berita-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.berita-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* ===== BODY ===== */
.berita-body {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 150px 40px;
}

.berita-body p:has(img) {
    margin: 0;
    padding: 0;
}

.berita-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

/* ===== IMAGE ===== */
.berita-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    object-fit: cover;
}

.berita-img img {
    width: 100%;
    max-height: 720px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ===== CONTENT ===== */
.berita-isi {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    opacity: 0.8;
    transition: color 0.3s ease;
}

/* ===== CLOSE BUTTON ===== */
.btn-close-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #e9162b;
    z-index: 1100;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-close-custom:hover {
    transform: scale(1.2);
    color: #a01a28;
}

/* ===== INFO ===== */
.berita-info {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .berita-body {
        padding: 25px 80px 40px;
    }

    .berita-header h1 {
        font-size: 2.1rem;
    }

    .berita-meta {
        font-size: 0.95rem;
    }

    .berita-isi {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .berita-img img {
        max-height: 600px;
    }

    .btn-close-custom {
        font-size: 1.9rem;
    }
}

/* Tablet / Large Mobile */
@media (max-width: 768px) {
    .berita-body {
        padding: 20px 50px 40px;
    }

    .berita-header h1 {
        font-size: 2rem;
    }

    .berita-meta {
        font-size: 0.9rem;
    }

    .berita-isi {
        font-size: 1rem;
        line-height: 1.6;
    }

    .berita-img img {
        max-height: 500px;
    }

    .btn-close-custom {
        font-size: 1.8rem;
    }
}

/* Mobile L */
@media (max-width: 425px) {
    .berita-body {
        padding: 20px 15px 30px;
    }

    .berita-header h1 {
        padding: 28px 20px 10px;
        font-size: 1.6rem;
    }

    .berita-meta {
        font-size: 0.85rem;
    }

    .berita-isi {
        font-size: 1rem;
        line-height: 1.5;
    }

    .berita-img img {
        max-height: 400px;
    }

    .btn-close-custom {
        font-size: 1.6rem;
    }
}

/* Mobile M */
@media (max-width: 375px) {
    .berita-body {
        padding: 15px 10px 25px;
    }

    .berita-header h1 {
        padding: 25px 18px 9px;
        font-size: 1.4rem;
    }

    .berita-meta {
        font-size: 0.8rem;
    }

    .berita-isi {
        font-size: 0.95rem;
    }

    .berita-img img {
        max-height: 300px;
    }
}

/* Mobile S */
@media (max-width: 320px) {
    .berita-body {
        padding: 10px 5px 20px;
    }

    .berita-header h1 {
        padding: 20px 15px 8px;
        font-size: 1.2rem;
    }

    .berita-meta {
        font-size: 0.75rem;
    }

    .berita-isi {
        font-size: 0.9rem;
    }

    .berita-img img {
        max-height: 250px;
    }

    .btn-close-custom {
        top: 5px;
        right: 5px;
        font-size: 1.4rem;
    }
}

/*  Pengumuman Modal Fullscreen  */
.pengumuman-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1050;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

.pengumuman-modal.active {
    display: block;
}

/* ===== HEADER ===== */
.pengumuman-header {
    text-align: center;
    padding: 30px 20px 10px;
    color: var(--text-primary);
}

.pengumuman-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.pengumuman-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* ===== BODY ===== */
.pengumuman-body {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.pengumuman-body p:has(img) {
    margin: 0;
    padding: 0;
}

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

/* Kolom Gambar */
.pengumuman-col-img {
    flex: 1.5 1 500px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.pengumuman-col-img img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* Kolom Konten */
.pengumuman-col-content {
    flex: 1.5 1 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.pengumuman-modal .pengumuman-info {
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 8px;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .pengumuman-modal .pengumuman-info{
    color: var(--text-primary);
    background-color: var(--primary-light);
}

/* ===== IMAGE ===== */
.pengumuman-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    object-fit: cover;
}

.pengumuman-img img {
    width: 100%;
    max-height: 720px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ===== CONTENT ===== */
.pengumuman-isi {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    opacity: 0.8;
    transition: color 0.3s ease;
}

/* ===== CLOSE BUTTON ===== */
.btn-close-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #e9162b;
    z-index: 1100;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-close-custom:hover {
    transform: scale(1.2);
    color: #a01a28;
}

/* ===== INFO ===== */
.pengumuman-info {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .pengumuman-body {
        padding: 25px 80px 40px;
    }

    .pengumuman-header h1 {
        font-size: 2.1rem;
    }

    .pengumuman-meta {
        font-size: 0.95rem;
    }

    .pengumuman-isi {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .pengumuman-img img {
        max-height: 600px;
    }

    .btn-close-custom {
        font-size: 1.9rem;
    }
}

/* Tablet / Large Mobile */
@media (max-width: 768px) {
    .pengumuman-body {
        padding: 20px 50px 40px;
    }

    .pengumuman-header h1 {
        font-size: 2rem;
    }

    .pengumuman-meta {
        font-size: 0.9rem;
    }

    .pengumuman-isi {
        font-size: 1rem;
        line-height: 1.6;
    }

    .pengumuman-col-img,
    .pengumuman-col-content {
        flex: 1 1 100%;
    }

    .pengumuman-col-img img {
        max-width: 100%;
        max-height: 100%;
    }

    .btn-close-custom {
        font-size: 1.8rem;
    }
}

/* Mobile L */
@media (max-width: 425px) {
    .pengumuman-body {
        padding: 20px 15px 30px;
    }

    .pengumuman-header h1 {
        padding: 28px 20px 10px;
        font-size: 1.6rem;
    }

    .pengumuman-meta {
        font-size: 0.85rem;
    }

    .pengumuman-isi {
        font-size: 1rem;
        line-height: 1.5;
    }

    .pengumuman-img img {
        max-height: 400px;
    }

    .btn-close-custom {
        font-size: 1.6rem;
    }
}

/* Mobile M */
@media (max-width: 375px) {
    .pengumuman-body {
        padding: 15px 10px 25px;
    }

    .pengumuman-header h1 {
        padding: 25px 18px 9px;
        font-size: 1.4rem;
    }

    .pengumuman-meta {
        font-size: 0.8rem;
    }

    .pengumuman-isi {
        font-size: 0.95rem;
    }

    .pengumuman-img img {
        max-height: 300px;
    }
}

/* Mobile S */
@media (max-width: 320px) {
    .pengumuman-body {
        padding: 10px 5px 20px;
    }

    .pengumuman-header h1 {
        padding: 20px 15px 8px;
        font-size: 1.2rem;
    }

    .pengumuman-meta {
        font-size: 0.75rem;
    }

    .pengumuman-isi {
        font-size: 0.9rem;
    }

    .pengumuman-img img {
        max-height: 250px;
    }

    .btn-close-custom {
        top: 5px;
        right: 5px;
        font-size: 1.4rem;
    }
}

/*  Modal Fullscreen  */
.modal-full-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 1050;
    overflow-y: auto;
    transition: background-color 0.3s ease;
}

.modal-full-modal.active {
    display: block;
}

/* ===== HEADER ===== */
.modal-full-header {
    text-align: center;
    padding: 30px 20px 10px;
    color: var(--text-primary);
}

.modal-full-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.modal-full-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

/* ===== BODY ===== */
.modal-full-body {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px 150px 40px;
}

.modal-full-body p:has(img) {
    margin: 0;
    padding: 0;
}

.modal-full-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

/* ===== IMAGE ===== */
.modal-full-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    object-fit: cover;
}

.modal-full-img img {
    width: 100%;
    max-height: 720px;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ===== CONTENT ===== */
.modal-full-isi {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-primary);
    opacity: 0.8;
    transition: color 0.3s ease;
}

/* ===== CLOSE BUTTON ===== */
.btn-close-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #e9162b;
    z-index: 1100;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-close-custom:hover {
    transform: scale(1.2);
    color: #a01a28;
}

/* ===== INFO ===== */
.modal-full-info {
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .modal-full-body {
        padding: 25px 80px 40px;
    }

    .modal-full-header h1 {
        font-size: 2.1rem;
    }

    .modal-full-meta {
        font-size: 0.95rem;
    }

    .modal-full-isi {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .modal-full-img img {
        max-height: 600px;
    }

    .btn-close-custom {
        font-size: 1.9rem;
    }
}

/* Tablet / Large Mobile */
@media (max-width: 768px) {
    .modal-full-body {
        padding: 20px 50px 40px;
    }

    .modal-full-header h1 {
        font-size: 2rem;
    }

    .modal-full-meta {
        font-size: 0.9rem;
    }

    .modal-full-isi {
        font-size: 1rem;
        line-height: 1.6;
    }

    .modal-full-img img {
        max-height: 500px;
    }

    .btn-close-custom {
        font-size: 1.8rem;
    }
}

/* Mobile L */
@media (max-width: 425px) {
    .modal-full-body {
        padding: 20px 15px 30px;
    }

    .modal-full-header h1 {
        padding: 28px 20px 10px;
        font-size: 1.6rem;
    }

    .modal-full-meta {
        font-size: 0.85rem;
    }

    .modal-full-isi {
        font-size: 1rem;
        line-height: 1.5;
    }

    .modal-full-img img {
        max-height: 400px;
    }

    .btn-close-custom {
        font-size: 1.6rem;
    }
}

/* Mobile M */
@media (max-width: 375px) {
    .modal-full-body {
        padding: 15px 10px 25px;
    }

    .modal-full-header h1 {
        padding: 25px 18px 9px;
        font-size: 1.4rem;
    }

    .modal-full-meta {
        font-size: 0.8rem;
    }

    .modal-full-isi {
        font-size: 0.95rem;
    }

    .modal-full-img img {
        max-height: 300px;
    }
}

/* Mobile S */
@media (max-width: 320px) {
    .modal-full-body {
        padding: 10px 5px 20px;
    }

    .modal-full-header h1 {
        padding: 20px 15px 8px;
        font-size: 1.2rem;
    }

    .modal-full-meta {
        font-size: 0.75rem;
    }

    .modal-full-isi {
        font-size: 0.9rem;
    }

    .modal-full-img img {
        max-height: 250px;
    }

    .btn-close-custom {
        top: 5px;
        right: 5px;
        font-size: 1.4rem;
    }
}

.content-section {
    padding-top: 40px;
}

.main-content {
    min-height: 100vh;
    padding-top: 80px;
}

/* News Grid Large */
.news-grid-large{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card-large {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.news-card-large .news-card-image {
    height: 250px;
}

.news-card-body {
    padding: 24px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-secondary);
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
}

.news-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.news-content-full {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Announcements Page */
.announcements-page-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.announcement-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.announcement-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--primary-light);
}

.announcement-icon-large {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 24px;
    border-radius: var(--radius);
}

.announcement-card-body {
    padding: 24px;
}

.announcement-card-body .announcement-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.announcement-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 20px 0 ;
}

.announcement-image {
    margin-top: 20px;
}

.announcement-image img {
    width: 100%;
    border-radius: var(--radius);
}

/* Schedule Page */
.schedule-page-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.schedule-category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.schedule-category-title i {
    color: var(--primary);
}

.schedule-table-wrapper {
    overflow-x: auto;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.schedule-table th,
.schedule-table td {
    padding: 16px 20px;
    text-align: left;
}

.schedule-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.schedule-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--border-color);
}

.schedule-table tr:hover td {
    background: var(--bg-secondary);
}

.schedule-day-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    font-size: 14px;
}

[data-theme="dark"] .schedule-day-badge{
    color: var(--text-primary);
    background: var(--primary-dark);
}

.schedule-time-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    margin-top: 40px;
}

.info-box-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 20px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.info-box-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.info-box-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Pastors Page */
.pastors-page-grid {
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;   
    gap: 30px;  
    margin-bottom: 2rem;
}

.pastor-card-large {
    flex: 0 0 350px; 
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pastor-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pastor-card-image {
    position: relative;
    height: 280px;
}

.pastor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pastor-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.pastor-placeholder-large i {
    font-size: 80px;
    color: var(--text-secondary);
    opacity: 0.3;
}

.pastor-social {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
}

.pastor-card-body {
    padding: 24px;
    text-align: center;
}

.pastor-card-body .pastor-name {
    font-size: 20px;
}

.pastor-bio {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pastor-period {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

/* History Page */
.history-content {
    max-width: 900px;
    margin: 0 auto;
}

.history-image {
    margin-bottom: 32px;
}

.history-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.history-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.history-text p {
    margin-bottom: 16px;
}

/* Sejarah Slideshow */
.sejarah-card .sejarah-slideshow {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sejarah-card .sejarah-slideshow:hover {
    transform: scale(1.02);
}

/* Semua slide */
.sejarah-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.sejarah-slide:first-child {
    position: relative;
}

.sejarah-slide.active {
    opacity: 1;
    z-index: 2;
}

.sejarah-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Tombol Prev & Next */
.sejarah-prev,
.sejarah-next {
    position: absolute;
    top: 45%;
    z-index: 3;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.sejarah-prev:hover,
.sejarah-next:hover {
    background: var(--primary);
}

.sejarah-prev {
    left: 10px;
}

.sejarah-next {
    right: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .sejarah-card .sejarah-slideshow {
        height: 545px !important;
    }

    .sejarah-prev,
    .sejarah-next {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 992px) {
    .sejarah-card .sejarah-slideshow {
        height: 400px !important;
    }

    .sejarah-prev,
    .sejarah-next {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 769px) {
    .sejarah-section .section-title::after {
        width: 60%;
    }

    .sejarah-card .sejarah-slideshow {
        height: 400px !important;
    }

    .sejarah-img-wrapper {
        margin-right: 1.5rem;
    }

    .sejarah-prev,
    .sejarah-next {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .sejarah-card .sejarah-slideshow {
        height: 200px !important;
    }

    .sejarah-prev,
    .sejarah-next {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 400px) {
    .sejarah-card .sejarah-slideshow {
        height: 150px !important;
    }

    .sejarah-prev,
    .sejarah-next {
        width: 26px;
        height: 26px;
    }
}

/* Vision Mission */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vm-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.vm-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--gradient-primary);
    color: white;
}

.vm-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    font-size: 24px;
    border-radius: var(--radius);
}

.vm-card-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.vm-card-body {
    padding: 24px;
}

.vm-card-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.mission-list {
    list-style: none;
}

.mission-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-secondary);
}

.mission-list li i {
    color: var(--primary);
    margin-top: 4px;
}
.mission-content {
    display: flex;
    flex-direction: column; 
}

.mission-title {
    font-weight: 600;
}

.mission-description {
    margin-top: 4px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.contact-card-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.contact-card-content p,
.contact-card-content a {
    font-size: 16px;
    color: var(--text-primary);
}

.contact-card-content a:hover {
    color: var(--primary);
}

.contact-social {
    padding: 32px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-social h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-social > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.social-links-large {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link-large {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-link-large:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.social-link-large i {
    font-size: 20px;
    width: 24px;
}

/* Map Page */
.leaflet-control{
    display: none;
}

.map-content {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin-top: 24px;
    align-items: stretch;
}

.map-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 520px; 
}

#map {
    width: 100%;
    height: 100%;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 520px; 
    overflow-y: auto;
    padding-right: 6px;
}

.location-info::-webkit-scrollbar {
    width: 6px;
}
.location-info::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.25s ease;
}

.location-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.location-card.active {
    border-left: 4px solid var(--primary);
    background: var(--primary-light);
}

.location-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-details h4 {
    font-size: 14px;   
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.location-details p {
    font-size: 12px;   
    color: var(--text-secondary);
    text-transform: capitalize;
}

@media (max-width: 992px) {
    .map-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 360px;
    }

    .location-info {
        max-height: none;
    }
}

/* Forms Page */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.form-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.form-card-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fee2e2;
    color: #dc2626;
    font-size: 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.form-card-body {
    flex: 1;
}

.form-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.form-card-footer {
    margin-top: 20px;
}

.btn-disabled {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Articles Grid (Katekese, Renungan) */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-card-image {
    position: relative;
    height: 200px;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.article-placeholder i {
    font-size: 48px;
    color: var(--text-secondary);
    opacity: 0.3;
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.article-card-body {
    padding: 24px;
}

.article-meta {
    margin-bottom: 12px;
}

.article-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.article-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.article-tag-item {
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-tag-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px var(--primary-dark);
}

[data-theme="dark"] .article-tag-item {
    color: var(--text-primary);
    background: var(--primary-dark);
}

.article-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 12px 0;
}

.article-content-full {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.empty-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    margin-bottom: 24px;
}

.empty-icon i {
    font-size: 48px;
    color: var(--text-secondary);
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-badge,
    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pastors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .pastors-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

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

    .map-content {
        grid-template-columns: 1fr;
    }

    .forms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .navbar-menu {
        position: fixed;
        height: calc(100vh - 80px);
        top: 105px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        background: var(--bg-primary);
        transform: translateX(100%);
        transition: var(--transition);
    }

    .navbar-menu.active {
        transform: translateX(0);
    }

    .navbar-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        padding: 14px 16px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-secondary);
        margin-top: 8px;
    }

    .navbar-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .page-title {
        font-size: 36px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .news-grid,
    .news-grid-large {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-bottom-content {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .pastors-page-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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