/* ===========================================
   ATENA - Minimalist Parish Template
   Clean, Modern, Elegant
   =========================================== */

:root {
    /* Colors - Minimalist Palette */
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Accent - Teal (Template 6 signature color) */
    --accent: #0d9488;
    --accent-light: #14b8a6;
    --accent-dark: #0f766e;
    --accent-bg: #f0fdfa;

    /* Primary - Dynamic color from database (will be overridden by blade) */
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #14b8a6;
    --primary-rgb: 13, 148, 136;

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

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

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

    /* Transitions */
    --transition: all 0.3s ease;

    /* 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;
    --gray-600: #cbd5e1;
    --gray-700: #e2e8f0;
    --gray-900: #f1f5f9;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

ul, ol {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-secondary);
}

/* ===========================================
   HEADER - Clean & Minimal
   =========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    padding: 10px;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    white-space: nowrap;
}


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

/* Dropdown */
.nav-item {
    position: relative;
    width: 100%;
}

.nav-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 8px;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

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

/* ===========================================
   HERO - Elegant & Spacious
   =========================================== */

.hero {
    padding: 160px 0 100px;
     background: var(--primary-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
}

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

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

.btn-outline-primary:hover {
    background: transparent;
    color: white;
    border: 2px solid white;
}


/* ===========================================
   SECTIONS
   =========================================== */

.section {
    padding: var(--section-padding);
}

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

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

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.0625rem;
}

/* ===========================================
   CARDS - Clean Design
   =========================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

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

.card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.card:hover {
    border-color: var(--border-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    height: 220px;
    background: var(--bg-secondary);
    overflow: hidden;
}

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

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

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    gap: 8px;
}

.card-image-placeholder i {
    font-size: 2.5rem;
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
}

.card-body {
    padding: 28px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-secondary);
}

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

.card h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.card-link i {
    transition: var(--transition);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* ===========================================
   PAGE HEADER
   =========================================== */

.page-header {
    padding: 140px 0 60px;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 24px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.breadcrumb span:not(:last-child)::after {
    content: '/';
    margin-left: 12px;
    color: var(--gray-300);
}

/* ===========================================
   CONTENT LAYOUT
   =========================================== */

.content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
}

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

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.widget-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.widget-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.widget-body {
    padding: 24px;
}

/* Schedule Widget */
.schedule-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.schedule-item:first-child {
    padding-top: 0;
}

.schedule-day {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--accent-bg);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary);
}

.schedule-day span:first-child {
    font-size: 18px;
    line-height: 1;
}

.schedule-day span:last-child {
    font-size: 10px;
    text-transform: uppercase;
}

.schedule-info h5 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.schedule-info p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===========================================
   TABLES - Clean Design
   =========================================== */

.table-container {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    overflow: hidden;
    margin-bottom: 32px;
}

.table-header {
    padding: 20px 28px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-header h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.table-header i {
    color: var(--primary);
    font-size: 1.125rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px 28px;
    text-align: left;
}

th {
    background: var(--primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

td {
    font-size: 15px;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

tr:last-child td {
    border-bottom: none;
}

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

/* ===========================================
   PASTOR CARDS
   =========================================== */

.pastor-card {
    text-align: center;
    padding: 40px 32px;
    box-shadow: var(--shadow-lg);
}

.pastor-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    background: var(--gray-100);
    border: 4px solid var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pastor-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 3rem;
}

.pastor-card h4 {
    margin-bottom: 8px;
}

.pastor-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.pastor-card p {
    font-size: 14px;
    margin-bottom: 0;
}

.pastor-social {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    visibility: visible !important;
    opacity: 1 !important;
}

.pastor-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50%;
    font-size: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.pastor-social a:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pastor-social a i {
    color: var(--white) !important;
}

/* ===========================================
    FORMS
   =========================================== */

.form-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    padding: 32px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.form-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.1);
}

.form-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
}

.form-card h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.form-card p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* Input Fields */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-sans);
    font-size: 15px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

/* ===========================================
   CONTACT PAGE
   =========================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-item {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.contact-item i {
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.25rem;
    color: var(--primary);
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 14px;
}

.contact-form-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-form h3 i {
    color: var(--primary);
}

/* Map */
.map-container {
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--gray-100);
}

.map-wrapper {
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    gap: 12px;
}

.map-placeholder i {
    font-size: 3rem;
}

/* ===========================================
   ARTICLE / SEJARAH
   =========================================== */

.article-content {
    background: var(--bg-card);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

.article-content h2,
.article-content h3 {
    margin: 32px 0 16px;
}

.article-content h2:first-child,
.article-content h3:first-child {
    margin-top: 0;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.0625rem;
    line-height: 1.9;
}

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

.article-content li {
    margin-bottom: 12px;
    color: var(--gray-600);
    list-style: disc;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 24px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding: 16px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 22px;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-year {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-item h5 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

/* ===========================================
   VISI MISI
   =========================================== */

.vision-box {
    background: var(--primary);
    color: var(--white);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.vision-box h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.vision-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.mission-item {
    background: var(--bg-card);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    gap: 20px;
}

.mission-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.mission-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.mission-item p {
    font-size: 14px;
    margin: 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--primary);
    border-radius: 16px;
}

.value-item i {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.value-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.value-item p {
    color:  var(--text-primary);
    font-size: 14px;
    margin: 0;
}

/* ===========================================
   FOOTER - Minimal
   =========================================== */

.footer {
    background: var(--gray-900);
    color: var(--text-secondary);
    padding: 80px 0 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

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

.footer-title {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
}

/* ===========================================
   EMPTY STATE
   =========================================== */

.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
}

.empty-state i {
    font-size: 3.5rem;
    color: var(--text-secondary);
    opacity: 0.4;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 15px;
}

/* ===========================================
   UTILITIES
   =========================================== */

.text-center { text-align: center; }
.text-accent { color: var(--primary); }
.mt-60 { margin-top: 60px; }
.mb-60 { margin-bottom: 60px; }

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

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

    .header-inner {
        height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        background: var(--bg-card);
        flex-direction: column;
        z-index: 9999; 
        padding: 24px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }

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

    .nav-link {
        width: 100%;
        padding: 16px;
        font-size: 16px;
    }

    .nav-item .dropdown {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

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

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

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

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

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

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

    .article-content {
        padding: 28px;
    }

    .vision-box {
        padding: 40px 28px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    /* Map content - ensure map is responsive on small screens */
    .map-content {
        grid-template-columns: 1fr !important;
    }

    .map-container {
        height: 300px !important;
    }

    .location-info {
        max-height: 300px !important;
    }

    /* Sejarah slideshow - ensure proper display on mobile */
    .sejarah-slideshow {
        height: 250px !important;
    }

    .sejarah-prev,
    .sejarah-next {
        padding: 8px 12px !important;
    }

    /* Timeline - ensure sidebar content is readable */
    .timeline-item {
        padding-left: 40px !important;
    }

    .timeline-year {
        font-size: 14px !important;
    }

    /* Pastor cards - ensure proper card layout */
    .pastor-card {
        padding: 20px !important;
    }

    /* Schedule table - enable horizontal scroll if needed */
    .table-container {
        overflow-x: auto;
    }

    .schedule-table {
        font-size: 14px;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px !important;
    }
}

/* Kontak */
.office-hour {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    padding: 12px 16px;
    margin-bottom: 12px;

    background: var(--bg-card, #fff);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
}

.office-hour:hover{
    box-shadow: var(--shadow-xl);
}

.office-hour .day {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
}

.time-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.office-hour .time {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary-color) 12%, transparent);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}


/*  Pengumuman Modal Fullscreen  */
.pengumuman-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    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-color);
}

.pengumuman-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
    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;
}

body.dark-mode .pengumuman-modal .pengumuman-info{
    color: var(--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-color);
    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-card);
    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-color);
}

.modal-full-header h1 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
    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-color);
    opacity: 0.8;
    transition: color 0.3s ease;
}

.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: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

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

body.dark-mode .article-tag-item {
    color: var(--primary-light);
    background: var(--primary-dark);
}

/* 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);
}

/* 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);
}

/* 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);
    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-color);
}

.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;
    }
}


/* ============================================
   SCHEDULE SECTION
   ============================================ */
.schedule-grid {
    display: flex;
    flex-wrap: wrap;      
    gap: 20px;
    justify-content: space-between; 
}

.schedule-card {
    flex: 1 1 calc(33.333% - 20px); 
    min-width: 260px;
    max-width: 100%;
    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;
    width: 100%;
}

.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;
}

.schedule-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

@media (max-width: 1023px) {
    .schedule-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .schedule-card {
        flex: 1 1 100%;
    }
}

