.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(15, 59, 101, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0f3b65;
}

.brand-logo {
    width: 38px;
    height: 38px;
    margin-right: 10px;
    vertical-align: middle;
}

.site-nav a,
.site-nav .dropdown-toggle {
    margin-left: 18px;
    color: #4b5563;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav .dropdown-toggle:hover {
    color: #0f3b65;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.caret {
    margin-left: 6px;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    min-width: 220px;
    background: #fff;
    border: 1px solid rgba(15, 59, 101, 0.12);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(15, 59, 101, 0.12);
    padding: 8px 0;
    z-index: 1100;
}

.dropdown-menu a {
    display: block;
    margin: 0;
    padding: 8px 14px;
    color: #374151;
}

.dropdown-menu a:hover {
    background: #f5f8fb;
    color: #0f3b65;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown.open .caret {
    transform: rotate(180deg);
}

.hero-section {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(3, 33, 59, 0.90), rgba(8, 83, 126, 0.85)), url('https://dbr.gbi-bogor.org/w/images/4/4d/Tema_2026_ID.webp') center/cover;
    color: #fff;
    padding: 100px 0;
    background-position: center center;
    background-size: cover;
}

.hero-content h1 {
    font-size: 3.3rem;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.92);
}

.latest-message {
    background: linear-gradient(135deg, #f8f1e3, #edf5fb);
}

.worship-card {
    min-height: 100%;
}

.worship-schedule {
    padding-left: 18px;
    margin: 12px 0 0;
}

.worship-schedule li {
    margin-bottom: 8px;
}

.worship-image-card {
    background: #fff;
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 16px 36px rgba(15, 59, 101, 0.14);
}

.worship-image-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 14px;
}

.message-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 16px 36px rgba(15, 59, 101, 0.14);
}

.site-footer {
    background: linear-gradient(90deg, #0f3b65, #185a8d);
    color: #fff;
    padding: 24px 0;
    margin-top: 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #e6f2ff;
    margin-left: 16px;
}

.department-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border-radius: 18px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 59, 101, 0.08);
}

.department-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(15, 59, 101, 0.14);
}

@media (max-width: 768px) {
    .hero-section {
        background: linear-gradient(120deg, rgba(3, 33, 59, 0.90), rgba(8, 83, 126, 0.85)), url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS-r0tMo8_K2PoDIrdctehZa__31RnXW78Pr1oI3pDlVg&s=10') center/cover;
        background-position: center center;
        background-size: cover;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        position: relative;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        background: transparent;
        border: 0;
        padding: 6px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #0f3b65;
        border-radius: 2px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: 12px 16px 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        border-top: 1px solid rgba(17,24,39,0.08);
    }

    .site-nav.open {
        display: flex;
    }

    .site-nav a,
    .site-nav .dropdown-toggle {
        margin: 8px 0;
        padding: 4px 0;
        display: block;
    }

    .nav-item {
        display: block;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        left: 0;
        top: auto;
        min-width: 100%;
        margin-top: 4px;
        border-radius: 10px;
        box-shadow: none;
        border: 1px solid rgba(15, 59, 101, 0.08);
        background: #f8fafc;
    }

    .dropdown-menu a {
        padding: 8px 12px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        margin-top: 10px;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 12px;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .site-nav {
        display: flex;
        align-items: center;
    }
}
