* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: #1c1c1e;
    background-color: #f4f4f6;
    line-height: 1.6;
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    color: #ffffff;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-logo {
    width: 130px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.35rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f0f0f0;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e5e5e5;
    margin-bottom: 30px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    z-index: 2;
}

.scroll-down-icon {
    width: 26px;
    height: 42px;
    border: 2px solid #ffffff;
    border-radius: 20px;
    margin-top: 10px;
    position: relative;
}

.scroll-down-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(18px); }
}

@media screen and (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 40px 16px 100px 16px;
        justify-content: center;
    }

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-logo {
        width: 90px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .hero-title {
        font-size: 1.65rem;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .scroll-down {
        bottom: 15px;
        font-size: 0.85rem;
    }

    .scroll-down-icon {
        width: 22px;
        height: 36px;
        margin-top: 6px;
    }

    .scroll-down-icon::before {
        width: 5px;
        height: 5px;
        margin-left: -2.5px;
    }
}

@media screen and (max-width: 380px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .hero-description {
        font-size: 0.88rem;
    }
    .hero-logo {
        width: 75px;
    }
}

/* ================= KODE ANIMASI SCROLL REVEAL (PENTING) ================= */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= SECTION CHURCH ================= */
.section-church {
    min-height: 100vh;
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #111827;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.location-card {
    position: relative;
    border-radius: 28px;
    padding: 40px 32px;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.location-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 75%);
    z-index: 1;
}

.location-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.location-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.location-card p {
    font-size: 1.05rem;
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* ================= BUTTON PILL GLASS (MODEL CONTOH GAMBAR) ================= */
.btn-pill-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(115deg, #ffffff 10%, #f0eff8 50%, #d8d7f2 100%);
    color: #0d0d0d;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    border: 1.5px solid #b8b6e2;
    box-shadow: 0 4px 20px rgba(110, 107, 168, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pill-glass:hover {
    transform: translateY(-2px);
    background: linear-gradient(115deg, #ffffff 0%, #e8e6f8 40%, #c8c6ed 100%);
    border-color: #a3a0d8;
    box-shadow: 0 8px 25px rgba(110, 107, 168, 0.3), inset 0 2px 4px rgba(255, 255, 255, 1);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    stroke: #0d0d0d;
    transition: transform 0.3s ease;
}

.btn-pill-glass:hover .btn-arrow {
    transform: translateX(5px);
}

/* ================= CARD JADWAL MISA ================= */
.misa-card-bg {
    position: relative;
    border-radius: 28px;
    padding: 50px 40px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.misa-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.misa-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.misa-heading {
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

.misa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.misa-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.misa-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.misa-time-list {
    list-style: none;
}

.misa-time-item {
    font-size: 1.15rem;
    color: #f3f4f6;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff0000;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 9999px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.youtube-link:hover {
    background: #cc0000;
    transform: scale(1.03);
}

.yt-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .locations-grid,
    .misa-grid {
        grid-template-columns: 1fr;
    }
    .misa-card-bg {
        padding: 30px 20px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-description {
        font-size: 1.05rem;
    }
}

.section-pastoral {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, #3d2419 0%, #1a0f0a 100%);
    padding: 80px 20px;
    overflow: hidden;
    z-index: 1;
}

.section-pastoral::before,
.section-pastoral::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
}
.section-pastoral::before {
    width: 350px;
    height: 350px;
    background: #8b5a2b;
    top: 10%;
    left: -50px;
    animation: moveBlobOne 12s ease-in-out infinite alternate;
}

.section-pastoral::after {
    width: 400px;
    height: 400px;
    background: #62341c;
    bottom: 5%;
    right: -80px;
    animation: moveBlobTwo 15s ease-in-out infinite alternate;
}

@keyframes moveBlobOne {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(120px, 80px) scale(1.25);
    }
}

@keyframes moveBlobTwo {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-100px, -60px) scale(1.15);
    }
}

.pastoral-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pastoral-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}

.pastoral-card {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pastoral-card-main {
    order: 2;
}

.pastoral-card-left {
    order: 1;
}

.pastoral-card-right {
    order: 3;
}

.pastoral-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    padding: 4px;
    background: linear-gradient(90deg, #ffd700, #b8860b, #fff8dc, #ffd700);
    background-size: 300% 300%;
    animation: goldGlow 4s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}


@keyframes goldGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pastoral-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    display: block;
}

.pastoral-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.pastoral-role {
    font-size: 1rem;
    font-weight: 400;
    color: #ffffff;
}

@media (max-width: 868px) {
    .pastoral-grid {
        flex-direction: column;
        align-items: center;
    }

    .pastoral-card {
        width: 100%;
        max-width: 320px;
    }

    .pastoral-card-main {
        order: 1;
    }

    .pastoral-card-left {
        order: 2;
    }

    .pastoral-card-right {
        order: 3;
    }
}


/* ================= SECTION DATA WILAYAH (TABEL) ================= */
.section-wilayah {
    width: 100%;
    background-color: #ffffff;
    padding: 80px 20px;
}

.wilayah-container {
    max-width: 900px;
    margin: 0 auto;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.wilayah-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 1.05rem;
}

.wilayah-table th,
.wilayah-table td {
    padding: 18px 24px;
}

.wilayah-table thead tr {
    background-color: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.wilayah-table th {
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.wilayah-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.wilayah-table tbody tr:hover {
    background-color: #f8fafc;
}

.wilayah-table tbody td {
    color: #1e293b;
    font-weight: 500;
}

.wilayah-count {
    font-weight: 700;
    color: #8b5a2b;
    font-size: 1.2rem;
    font-variant-numeric: tabular-nums;
}

/* Row Total */
.wilayah-table tfoot tr {
    background: linear-gradient(135deg, #2d1810 0%, #1a0f0a 100%);
    color: #ffffff;
}

.wilayah-table tfoot td {
    font-weight: 700;
    font-size: 1.15rem;
    padding: 20px 24px;
}

.total-count {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffd700;
}

.text-right {
    text-align: right;
}

@media (max-width: 640px) {
    .wilayah-table th,
    .wilayah-table td {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    .wilayah-count {
        font-size: 1.05rem;
    }
    .total-count {
        font-size: 1.2rem;
    }
}

.section-sekretariat {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 90px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sekretariat-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.sekretariat-card {
    background: rgba(22, 22, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 40px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    color: #ffffff;
    letter-spacing: -0.3px;
}

.jadwal-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.jadwal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.jadwal-item .hari {
    font-weight: 600;
    color: #f1f5f9;
}

.jadwal-item .jam {
    font-weight: 500;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
}

.jadwal-item.highlight-minggu {
    background: rgba(255, 215, 0, 0.12);
    border-color: rgba(255, 215, 0, 0.35);
}

.jadwal-item.highlight-minggu .hari,
.jadwal-item.highlight-minggu .jam {
    color: #ffd700;
    font-weight: 700;
}

.note-box, .info-badge-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    color: #fca5a5;
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.info-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.toko-rohani-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: auto;
}

.toko-desc {
    color: #94a3b8;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-top: 15px;
    margin-bottom: 30px;
}

.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: auto;
}

.btn-wa:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.wa-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .sekretariat-card {
        padding: 32px 20px;
    }
    .card-title {
        font-size: 1.5rem;
    }
}


/* ================= FLOATING WHATSAPP BUTTON ================= */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: waPulse 2.5s infinite;
}

.wa-float-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

/* Tooltip saat di-hover */
.wa-tooltip {
    position: absolute;
    right: 72px;
    background: rgba(15, 23, 42, 0.9);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(15, 23, 42, 0.9);
}

/* Hover Effects */
.wa-float:hover {
    background-color: #20bd5a;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.wa-float:hover .wa-float-icon {
    transform: rotate(12deg);
}

.wa-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Animasi Pulse halus saat idle */
@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 640px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .wa-float-icon {
        width: 28px;
        height: 28px;
    }
    .wa-tooltip {
        display: none; /* Disembunyikan di mobile agar tidak makan tempat */
    }
}

/* ================= MAIN FOOTER ================= */
.main-footer {
    width: 100%;
    background: linear-gradient(135deg, #2d1810 0%, #1a0f0a 100%);
    border-top: 1px solid rgba(255, 215, 0, 0.15);
    padding: 45px 20px;
    color: #e2e8f0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    height: 65px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-copyright {
    font-size: 0.925rem;
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
}

.footer-credit {
    font-size: 0.875rem;
    color: #a1a1aa;
    margin: 0;
}

.footer-credit strong {
    color: #ffd700;
    font-weight: 600;
}

@media (max-width: 640px) {
    .main-footer {
        padding: 35px 16px;
    }
    .footer-logo {
        height: 52px;
    }
    .footer-copyright {
        font-size: 0.85rem;
    }
    .footer-credit {
        font-size: 0.825rem;
    }
}