/* ============================================
   ZAKAR KOREA — Homepage 전용 섹션 스타일
   (공용 헤더/푸터/변수는 site.css 참조)
   ============================================ */

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('images/home-hero-bg.jpg');
    background-size: cover;
    background-position: center bottom;
    padding: 100px 24px;
}

.hero-text {
    max-width: 760px;
}

.hero-text h1 {
    font-size: 3.4rem;
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 32px;
    word-break: keep-all;
}

.hero-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-soft);
    word-break: keep-all;
}

/* ---------- 예배 안내 ---------- */
.worship {
    padding: 110px 24px;
    background: var(--bg);
}

.worship-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.worship-poster {
    flex: 0 1 380px;
}

.worship-poster img {
    width: 100%;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.worship-info {
    flex: 0 1 380px;
    text-align: center;
}

.worship-info h2 {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 36px;
    word-break: keep-all;
}

.btn-start {
    display: inline-block;
    background: #000000;
    color: #ffffff;
    font-family: var(--font-latin);
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 15px 46px;
    transition: opacity 0.25s ease;
}

.btn-start:hover {
    opacity: 0.75;
}

/* ---------- 지난 모임 아카이브 ---------- */
.events {
    padding: 20px 24px 120px;
}

.events-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.event-card {
    display: block;
    text-align: center;
}

.event-thumb {
    aspect-ratio: 380 / 347;
    overflow: hidden;
    margin-bottom: 16px;
}

.event-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.event-card:hover .event-thumb img {
    transform: scale(1.04);
}

.event-card p {
    font-size: 1rem;
    color: var(--text);
}

.event-card:hover p {
    text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.3rem;
        letter-spacing: 3px;
    }

    .worship {
        padding: 70px 24px;
    }

    .worship-inner {
        gap: 44px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

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