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

/* ---------- Hero: 남색 배경 + 하늘 사진 스트립 + 흰 카드 ---------- */
.hero {
    position: relative;
    background: #295380;
    padding: 120px 24px 50px;
    overflow: hidden;
}

.hero-photo {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 342px;
    background: url('images/home-hero-bg.jpg') center bottom / cover no-repeat;
}

.hero-inner {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.hero-text {
    background: #fff;
    max-width: 620px;
    padding: 60px 64px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
    word-break: keep-all;
}

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

/* ---------- 예배 안내: 좌 크림색 / 우 분홍 포스터 ---------- */
.worship {
    background: #f7f5e1;
    padding: 0;
}

.worship-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.worship-poster {
    background: #ffd1ea;
}

.worship-poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.worship-info {
    align-self: center;
    text-align: center;
    padding: 90px 40px;
}

.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 {
    background: #295380;
    padding: 80px 24px 120px;
}

.events-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 100px;
}

.event-card {
    display: block;
    background: #fff;
    padding: 26px 22px 40px;
    text-align: left;
}

.event-thumb {
    aspect-ratio: 380 / 347;
    overflow: hidden;
}

.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);
    padding-bottom: 12px;
    border-bottom: 1px solid #8c8c8c;
    margin-bottom: 20px;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 40px;
    }

    .hero-photo {
        height: 220px;
        top: 30px;
    }

    .hero-text {
        padding: 40px 28px;
    }

    .hero-text h1 {
        font-size: 2.3rem;
        letter-spacing: 3px;
    }

    .worship-inner {
        grid-template-columns: 1fr;
    }

    .worship-info {
        padding: 70px 24px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        gap: 40px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .events-grid {
        gap: 44px 60px;
    }
}
