/* ============================================
   GKB AMBARAWA — Premium Church Frontend Stylesheet
   Light, Elegant, and Welcoming Design
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f172a; /* Deep Navy */
    --primary-light: #1e293b;
    --accent: #d4af37; /* Elegant Classic Gold */
    --accent-hover: #b8962e;
    --accent-glow: rgba(212, 175, 55, 0.3);
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc; /* Very soft blue-grey */
    --bg-card: #ffffff;
    
    --text-main: #334155; /* Charcoal for readability */
    --text-muted: #64748b;
    --text-heading: #0f172a;
    
    --border-light: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 25px 50px rgba(15, 23, 42, 0.12);
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, .serif-font { 
    font-family: 'Playfair Display', serif; 
    color: var(--text-heading); 
    font-weight: 700; 
    line-height: 1.25; 
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; height: auto; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; position: relative; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ============ NAVBAR ============ */
.fe-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    background: transparent;
}

/* Solid state when scrolled */
.fe-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.fe-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fe-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.fe-nav-brand .brand-icon {
    width: 44px; height: 44px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--accent);
    transition: var(--transition);
}

.fe-navbar.scrolled .fe-nav-brand h3 { color: var(--primary); }
.fe-nav-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white; /* Default when on transparent hero */
    transition: var(--transition);
}

.fe-navbar.scrolled .fe-nav-brand span { color: var(--text-muted); }
.fe-nav-brand span {
    display: block;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.8);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.fe-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
}

.fe-nav-links a {
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.fe-navbar.scrolled .fe-nav-links a { color: var(--text-main); }
.fe-navbar.scrolled .fe-nav-links a:hover, 
.fe-navbar.scrolled .fe-nav-links a.active { color: var(--primary); background: rgba(15, 23, 42, 0.04); }

.fe-nav-links a:hover, .fe-nav-links a.active { color: white; background: rgba(255,255,255,0.15); }

.fe-btn-login {
    padding: 0.6rem 1.5rem !important;
    background: var(--accent) !important;
    color: white !important;
    border-radius: 50px !important;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.fe-btn-login:hover {
    background: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--accent-glow);
}

.fe-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
}

.fe-navbar.scrolled .fe-mobile-toggle { color: var(--primary); }

/* ============ HERO (IMAGE FOCUSED) ============ */
.fe-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.85)), url('https://images.unsplash.com/photo-1438032005730-c779502df39b?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px;
}

.fe-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes heroFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

.fe-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.25rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.fe-hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.fe-hero h1 .highlight {
    font-style: italic;
    color: var(--accent);
}

.fe-hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.fe-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.fe-btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.fe-btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.fe-btn-outline {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.fe-btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.fe-hero-shape {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    line-height: 0;
}

.fe-hero-shape svg {
    display: block; width: 100%; height: 60px;
    fill: var(--bg-light);
}

/* ============ SECTIONS ============ */
.fe-section {
    padding: 6rem 0;
    position: relative;
}

.bg-white { background: var(--bg-white); }
.bg-light { background: var(--bg-light); }
.bg-primary { background: var(--primary); color: white; }
.bg-primary h2, .bg-primary h3, .bg-primary h5 { color: white; }
.bg-primary p { color: rgba(255,255,255,0.8); }

.fe-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.fe-section-header .section-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.fe-section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.fe-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.fe-section-header.left { text-align: left; }
.fe-section-header.left h2::after { left: 0; transform: none; }

.fe-section-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 2rem auto 0;
}
.fe-section-header.left p { margin: 2rem 0 0; }

/* ============ CARDS (CLEAN & SOFT) ============ */
.fe-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fe-schedule-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.fe-schedule-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}

.fe-schedule-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.fe-schedule-card:hover::before { transform: scaleX(1); }

.fe-schedule-card .icon {
    width: 70px; height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

.fe-schedule-card:hover .icon { background: var(--primary); color: white; }

.fe-schedule-card h4 { font-size: 1.3rem; margin-bottom: 1rem; }

.fe-schedule-card .schedule-time { display: flex; flex-direction: column; gap: 0.5rem; }
.fe-schedule-card .schedule-time span { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.fe-schedule-card .schedule-time span i { color: var(--accent); margin-right: 0.5rem; }

/* ============ KEGIATAN & WARTA ============ */
.fe-kegiatan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.fe-card-standard {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.fe-card-standard:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.fe-card-header {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; justify-content: space-between;
}

.fe-card-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: flex; align-items: center; gap: 0.5rem;
}
.fe-card-date i { color: var(--accent); }

.fe-card-body { padding: 2rem; }
.fe-card-body h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.fe-card-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.5rem; }

.fe-card-meta {
    display: flex; flex-direction: column; gap: 0.5rem;
    font-size: 0.85rem; color: var(--text-muted);
    padding-top: 1.5rem; border-top: 1px solid var(--border-light);
}

.fe-card-meta span { display: flex; align-items: center; gap: 0.5rem; }
.fe-card-meta i { color: var(--accent); }

.fe-badge-status {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-direncanakan { background: #e0f2fe; color: #0284c7; }
.badge-berlangsung { background: #fef9c3; color: #ca8a04; }
.badge-selesai { background: #dcfce7; color: #16a34a; }

/* ============ PENGUMUMAN LIST ============ */
.fe-pengumuman-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex; flex-direction: column; gap: 1rem;
}

.fe-pengumuman-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex; gap: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.fe-pengumuman-item:hover { transform: translateX(5px); box-shadow: var(--shadow-md); border-color: rgba(15,23,42,0.1); }

.fe-pengumuman-icon {
    width: 50px; height: 50px; flex-shrink: 0;
    background: var(--bg-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; color: var(--accent);
}

.fe-pengumuman-item h5 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.fe-pengumuman-item p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.fe-pengumuman-item .date { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; display: flex; align-items: center; gap: 0.4rem; }
.fe-pengumuman-item .date i { color: var(--accent); }

/* ============ ABOUT SECTION (WITH IMAGE) ============ */
.fe-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fe-about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.fe-about-image img { width: 100%; height: auto; object-fit: cover; aspect-ratio: 4/5; }

.fe-about-image::after {
    content: '';
    position: absolute; inset: 0;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-lg);
    margin: 20px;
    pointer-events: none;
}

.fe-about-content h2 { font-size: 2.8rem; margin-bottom: 1.5rem; }
.fe-about-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.fe-visi-misi { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

.vm-item h5 { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: var(--primary); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.vm-item h5 i { color: var(--accent); font-size: 1.1rem; }
.vm-item p { font-size: 0.95rem; margin: 0; padding-left: 1.6rem; }

/* ============ KOMISI ============ */
.fe-komisi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }

.fe-komisi-item {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 2rem; text-align: center; transition: var(--transition);
}

.fe-komisi-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.fe-komisi-item .k-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 1rem; }
.fe-komisi-item h5 { font-family: 'Inter', sans-serif; font-size: 1.05rem; margin-bottom: 0.5rem; }
.fe-komisi-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ============ PAGE HERO (Sub-pages) ============ */
.fe-page-hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background-color: var(--primary);
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)), url('https://images.unsplash.com/photo-1548345680-f5475ea90f14?q=80&w=2000&auto=format&fit=crop');
    background-size: cover; background-position: center;
    position: relative;
}

.fe-page-hero h1 { font-size: 3.5rem; margin-bottom: 1rem; color: white; }
.fe-page-hero p { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

.fe-page-breadcrumb {
    display: inline-flex; align-items: center; gap: 0.75rem;
    margin-top: 2rem; padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.1); border-radius: 50px;
    font-size: 0.85rem; color: rgba(255,255,255,0.7);
}
.fe-page-breadcrumb a { color: white; font-weight: 500; }
.fe-page-breadcrumb a:hover { color: var(--accent); }

/* ============ FOOTER ============ */
.fe-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}

.fe-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 4rem; }

.fe-footer-brand h4 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: white; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.fe-footer-brand h4 i { color: var(--accent); }
.fe-footer-brand p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }

/* Social Links */
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: white; transition: var(--transition);
}
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }

.fe-footer-col h5 { font-family: 'Inter', sans-serif; font-size: 1rem; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem; }
.fe-footer-col ul { list-style: none; }
.fe-footer-col ul li { margin-bottom: 0.75rem; }
.fe-footer-col ul li a { font-size: 0.95rem; transition: var(--transition); }
.fe-footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }

.fe-footer-contact li { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.6; }
.fe-footer-contact li i { color: var(--accent); font-size: 1.2rem; }

.fe-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.fe-footer-bottom a { color: white; }
.fe-footer-bottom a:hover { color: var(--accent); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .fe-nav-links { display: none; }
    .fe-mobile-toggle { display: block; }
    .fe-nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: white; padding: 1.5rem;
        box-shadow: var(--shadow-lg); text-align: center;
    }
    .fe-nav-links.active a { color: var(--text-main); font-size: 1rem; padding: 0.75rem; }
    .fe-navbar.scrolled .fe-nav-links.active { background: white; }
    
    .fe-hero h1 { font-size: 3.2rem; }
    .fe-about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .fe-about-image img { aspect-ratio: 16/9; }
    .fe-footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .fe-hero h1 { font-size: 2.5rem; }
    .fe-section { padding: 4rem 0; }
    .fe-section-header h2 { font-size: 2.2rem; }
    .fe-footer-grid { grid-template-columns: 1fr; }
    .fe-footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
    .fe-page-hero h1 { font-size: 2.5rem; }
}

/* Empty State */
.fe-empty { text-align: center; padding: 4rem 2rem; background: var(--bg-white); border-radius: var(--radius-lg); border: 1px dashed var(--border-light); }
.fe-empty i { font-size: 3rem; color: var(--border-light); margin-bottom: 1rem; display: block; }
.fe-empty p { color: var(--text-muted); font-size: 1.1rem; }
