:root {
    --bg-color: #fdfaf6;
    --primary-color: #8b5d5d;
    --text-color: #555;
    --accent-color: #d4af37;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Nanum Myeongjo', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
}

.invitation-container {
    max-width: 480px;
    margin: 0 auto;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.section {
    padding: 80px 20px;
    text-align: center;
}

/* 애니메이션 효과 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 메인 커버 */
.main-cover {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.date-top {
    font-size: 1rem;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 700;
}

.names {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin: 0 0 50px 0;
    font-weight: 800;
    letter-spacing: -1px;
}

.main-photo img {
    width: 100%;
    border-radius: 200px 200px 0 0; /* 곡률을 더 부드럽게 */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.location-top {
    margin-top: 30px;
    font-size: 1.05rem;
    color: #666;
    letter-spacing: 1px;
}

/* ... (중략) ... */

/* 인사말 */
.intro-text p {
    margin-bottom: 12px;
    font-size: 1.05rem;
    word-break: keep-all; /* 단어 단위 줄바꿈 */
}

.parents {
    margin-top: 60px;
    font-size: 1.1rem;
    color: #555;
}

.parents p {
    margin: 12px 0; /* 줄 간격 적당히 조절 */
}

.parents span {
    font-weight: 700;
}

.parents .relation {
    font-size: 0.9rem; /* 관계(장남/장녀) 글자 크기 축소 */
    color: #999;
    margin: 0 8px;
    font-weight: 400;
}

.parents strong {
    color: var(--primary-color);
    font-size: 1.2rem; /* 당사자 이름 강조 */
}

/* 달력 */
.calendar {
    margin: 0 auto;
    max-width: 300px;
}

.calendar-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    font-size: 0.85rem;
}

.calendar-days span {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-day {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
}

.countdown {
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: bold;
}

/* 지도 및 연락처 */
.map-placeholder {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 40px;
}

.btn {
    display: block;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.btn.outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.footer {
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
}
