:root {
    --bg-color: #FEF9F3; /* 아이보리 배경 */
    --primary-color: #8DA399; /* 세이지 그린 */
    --secondary-color: #E29578; /* 부드러운 테라코타 */
    --text-color: #2C3E50; /* 짙은 그레이 */
    --light-text: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* 공통 스타일 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* 헤더 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* 히어로 섹션 */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('KakaoTalk_20260321_185707310.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* 소개 섹션 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.05);
    object-fit: cover;
    height: 450px;
}

/* 프로그램 섹션 */
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 마당 섹션 */
.yard-section {
    text-align: center;
    background-color: var(--white);
}

.yard-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.yard-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.yard-item:hover {
    transform: scale(1.03);
}

.yard-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* 연락처 섹션 */
.contact-info {
    text-align: center;
    background-color: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.btn-call {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 20px;
    transition: transform 0.3s, background 0.3s;
}

.btn-call:hover {
    background-color: #7a8e84;
    transform: scale(1.05);
}

/* 푸터 */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
}
