/* 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #f8f9fa;
    line-height: 1.6;
    color: #333;
}

#wrap {
    max-width: 800px;
    margin: 0 auto;
    background: white;
}

.templatearea {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 메인 표지 디자인 */
.main-cover {
    width: 100%;
    aspect-ratio: 3/4;
    min-height: 600px;
    max-height: 900px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('images/front.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* 이미지 최적화 */
    will-change: transform;
    transform: translateZ(0);
}

.couple-names-single {
    font-family: 'Nanum Myeongjo', serif;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.groom-name-large, .bride-name-large {
    font-size: 3.5rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.and-text-small {
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.8;
    margin: 0 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.wedding-info {
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    text-align: center;
    padding: 20px 40px;
    border-radius: 15px;
}

.wedding-date {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.wedding-venue {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.4rem;
    opacity: 0.9;
}

/* 인사말 섹션 */
.greeting-section {
    padding: 80px 40px;
    background: white;
    text-align: center;
}

.greeting-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.greeting-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.greeting-text {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.2rem;
    line-height: 2.2;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.couple-info {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.person-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 500px;
}

.parent-names {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.parent-name {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.3;
    font-weight: 400;
}

.child-info {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1rem;
    color: #333;
    font-weight: 400;
    text-align: right;
    flex-shrink: 0;
}

.child-info strong {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

/* 결혼식 정보 섹션 */
.info-section {
    padding: 60px 40px;
    background: white;
}

.info-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.info-card h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.info-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 스튜디오 사진 갤러리 섹션 */
.studio-gallery-section {
    padding: 80px 40px;
    background: white;
    text-align: center;
}

.gallery-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal-slider {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    position: relative;
    left: 0;
    top: 0;
}

.modal-slider.swiping {
    transition: none;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    flex-shrink: 0;
    touch-action: pan-y;
    object-fit: contain;
}

/* 현재 이미지 컨테이너 */
.modal-image-container {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* 모든 화면 크기에서 동적 여백 적용 */
.modal-image-container {
    width: 100vw;
    height: 100vh;
    padding: var(--dynamic-padding-vertical, 20px) var(--dynamic-padding-horizontal, 20px);
    box-sizing: border-box;
    position: relative;
}

/* 모바일에서 네비게이션 버튼 숨기기 */
@media (max-width: 768px) {
    .modal-nav {
        display: none;
    }
    
    .close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
    
    .modal-content {
        padding: 0;
        width: 100%;
    }
    
    .modal-image {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

/* 스와이프 힌트 */
.swipe-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-align: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
    background: rgba(0,0,0,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@media (min-width: 769px) {
    .swipe-hint {
        display: none;
    }
}

.close {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1001;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #667eea;
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    padding: 15px;
    transition: color 0.3s ease;
    z-index: 1001;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav:hover {
    color: #667eea;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

/* 연락처 섹션 */
.contact-section {
    padding: 60px 40px;
    background: white;
    text-align: center;
}

.contact-section-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 400;
}

.contact-intro-text {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.contact-intro-text p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-family-card {
    background: #e6e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-family-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.contact-family-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #e6e0e0;
}

.contact-family-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.contact-family-chevron {
    font-size: 0.9rem;
    color: #666;
    transition: transform 0.3s ease;
}

.contact-family-content {
    display: none;
    background: white;
    padding: 0;
}

.contact-item {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-header {
    margin-bottom: 12px;
}

.contact-name {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.contact-details {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-number {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: all;
    text-align: center;
    width: 100%;
}

.contact-number:hover {
    background: #e9ecef;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 푸터 */
.footer {
    padding: 40px;
    background: #333;
    color: white;
    text-align: center;
}

.footer p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .main-cover {
        aspect-ratio: 3/4;
        min-height: 500px;
        max-height: 700px;
    }
    
    .couple-names-single {
        top: 30px;
    }
    
    .groom-name-large, .bride-name-large {
        font-size: 2.5rem;
    }
    
    .and-text-small {
        font-size: 1.5rem;
        margin: 0 0.8rem;
    }

    .wedding-date {
        font-size: 1.4rem;
    }

    .wedding-venue {
        font-size: 1.1rem;
    }

    .greeting-section, .info-section, .contact-section, .studio-gallery-section {
        padding: 40px 20px;
    }
    
    .contact-section-title {
        font-size: 1.8rem;
    }
    
    .contact-intro-text p {
        font-size: 0.9rem;
    }
    
    .contact-family-header {
        padding: 15px 20px;
    }
    
    .contact-family-title {
        font-size: 1.1rem;
    }
    
    .contact-item {
        padding: 15px 20px;
    }
    
    .contact-header {
        margin-bottom: 8px;
    }
    
    .contact-details {
        justify-content: center;
    }
    
    .contact-number {
        font-size: 0.9rem;
        padding: 10px 14px;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .greeting-title {
        font-size: 2rem;
    }

    .greeting-text {
        font-size: 1rem;
    }

    .couple-info {
        gap: 20px;
        margin-top: 30px;
        max-width: 350px;
    }

    .person-info {
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }

    .parent-name {
        font-size: 0.95rem;
    }

    .child-info {
        font-size: 0.95rem;
        text-align: center;
    }

    .child-info strong {
        font-size: 1.2rem;
    }

    .info-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .wedding-info {
        bottom: 40px;
        padding: 15px 25px;
    }
}

@media (max-width: 480px) {
    .main-cover {
        aspect-ratio: 3/4;
        min-height: 400px;
        max-height: 600px;
    }
    
    .couple-names-single {
        top: 20px;
    }
    
    .groom-name-large, .bride-name-large {
        font-size: 2rem;
    }
    
    .and-text-small {
        font-size: 1.2rem;
        margin: 0 0.6rem;
    }

    .wedding-date {
        font-size: 1.2rem;
    }

    .wedding-venue {
        font-size: 1rem;
    }

    .greeting-section, .info-section, .contact-section, .studio-gallery-section {
        padding: 30px 15px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .couple-info {
        gap: 18px;
        margin-top: 25px;
        max-width: 280px;
    }

    .person-info {
        gap: 12px;
    }

    .parent-name {
        font-size: 0.9rem;
    }

    .child-info {
        font-size: 0.9rem;
    }

    .child-info strong {
        font-size: 1.1rem;
    }
}

/* 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* BGM 플로팅 버튼 */
.bgm-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.bgm-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.bgm-button:active {
    transform: translateY(-1px);
}

.bgm-button.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6), 0 0 0 10px rgba(102, 126, 234, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
}

/* 마음 전하실 곳 섹션 */
.bank-account-section {
    padding: 60px 40px;
    background: white;
    text-align: center;
}

.floral-decoration {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.bank-section-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 400;
}

.bank-intro-text {
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
}

.bank-intro-text p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.bank-account-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bank-family-card {
    background: #e6e0e0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.bank-family-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.bank-family-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #e6e0e0;
}

.bank-family-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
}

.bank-family-chevron {
    font-size: 0.9rem;
    color: #666;
    transition: transform 0.3s ease;
}

.bank-family-content {
    display: none;
    background: white;
    padding: 0;
}

.bank-account-item {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.bank-account-item:last-child {
    border-bottom: none;
}

.account-header {
    margin-bottom: 12px;
}

.account-name {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
}

.account-details {
    display: flex;
    justify-content: center;
    align-items: center;
}

.account-number {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    font-family: 'Noto Sans KR', sans-serif;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: all;
    text-align: center;
    width: 100%;
}

.account-number:hover {
    background: #e9ecef;
    color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 모바일에서 BGM 버튼 위치 조정 */
@media (max-width: 768px) {
    .bgm-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .bank-account-section {
        padding: 40px 20px;
    }
    
    .bank-section-title {
        font-size: 1.8rem;
    }
    
    .bank-intro-text p {
        font-size: 0.9rem;
    }
    
    .bank-family-header {
        padding: 15px 20px;
    }
    
    .bank-family-title {
        font-size: 1.1rem;
    }
    
    .bank-account-item {
        padding: 15px 20px;
    }
    
    .account-header {
        margin-bottom: 8px;
    }
    
    .account-details {
        justify-content: center;
    }
    
    .account-number {
        font-size: 0.9rem;
        padding: 10px 14px;
        text-align: center;
    }
}

/* 달력 섹션 스타일 */
.calendar-section {
    padding: 60px 40px;
    background: white;
    text-align: center;
}

.calendar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.calendar-widget {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.calendar-header {
    margin-bottom: 20px;
}

.calendar-month-year {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 15px;
}

.weekday {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    padding: 8px 4px;
    text-align: center;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.wedding-day {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4);
    transform: scale(1.1);
}

.calendar-day.wedding-day:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 154, 158, 0.6);
}


/* 오시는 길 섹션 */
.directions-section {
    padding: 80px 40px;
    background: white;
    text-align: center;
}

.directions-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.directions-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.directions-content {
    max-width: 800px;
    margin: 0 auto;
}

.venue-info {
    margin-bottom: 30px;
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.venue-info h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.venue-address {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.parking-info {
    font-size: 0.95rem;
    color: #888;
    font-style: italic;
}

.transportation-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

.transport-item {
    flex: 1;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: none;
    text-align: center;
}

.transport-item h4 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.2rem;
    color: #333;
    margin: 0 0 15px 0;
}

.transport-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.bus-routes p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bus-routes p:last-child {
    margin-bottom: 0;
}

.bus-routes strong {
    color: #333;
    font-weight: 600;
}

.map-container {
    margin-top: 50px;
}

.map-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.naver-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.map-actions {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.map-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.map-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    color: white;
}

.map-link.google-map {
    background: linear-gradient(135deg, #4285f4, #34a853);
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
}

.map-link.google-map:hover {
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.map-link.directions-btn {
    background: linear-gradient(135deg, #03c75a, #00a651);
    box-shadow: 0 4px 15px rgba(3, 199, 90, 0.3);
    border: none;
    cursor: pointer;
}

.map-link.directions-btn:hover {
    box-shadow: 0 6px 20px rgba(3, 199, 90, 0.4);
    transform: translateY(-2px);
}

.additional-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.additional-notice {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.additional-notice p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 8px 0;
}

.additional-notice p:last-child {
    margin-bottom: 0;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .calendar-section {
        padding: 40px 20px;
    }
    
    .calendar-container {
        max-width: 100%;
    }
    
    .calendar-widget {
        padding: 20px;
        max-width: 300px;
    }
    
    .calendar-month-year {
        font-size: 1.2rem;
    }
    
    .weekday {
        font-size: 0.8rem;
        padding: 6px 2px;
    }
    
    .calendar-day {
        font-size: 0.8rem;
    }
    
    .directions-section {
        padding: 40px 20px;
    }
    
    .directions-title {
        font-size: 2rem;
    }
    
    .venue-info {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .venue-info h3 {
        font-size: 1.3rem;
    }
    
    .venue-address {
        font-size: 1rem;
    }
    
    .transportation-methods {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .transport-item {
        flex: 1;
        padding: 20px;
    }
    
    .transport-item h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .transport-item p {
        font-size: 0.9rem;
    }
    
    .bus-routes p {
        font-size: 0.85rem;
    }
    
    .additional-notice {
        margin-top: 20px;
        padding: 15px;
    }
    
    .additional-notice p {
        font-size: 0.9rem;
    }
}

/* RSVP 섹션 스타일 */
.rsvp-section {
    padding: 80px 40px;
    text-align: center;
}

.rsvp-section-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.rsvp-intro-text {
    margin-bottom: 50px;
    color: #6c757d;
    line-height: 1.8;
}

.rsvp-intro-text p {
    font-size: 1.1rem;
    margin: 5px 0;
}

.rsvp-button-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.rsvp-open-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.rsvp-open-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.4);
}

.rsvp-open-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    font-weight: 600;
}

.rsvp-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #6c5ce7;
    background: white;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.radio-label:hover {
    color: #6c5ce7;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: #6c5ce7;
    background: #6c5ce7;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.radio-text {
    font-weight: 500;
}

.rsvp-submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rsvp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.rsvp-submit-btn:active {
    transform: translateY(0);
}

.rsvp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.rsvp-submit-btn.loading .btn-text {
    display: none;
}

.rsvp-submit-btn.loading .btn-loading {
    display: inline;
}

.rsvp-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.rsvp-success h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.rsvp-success p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.reset-btn {
    padding: 12px 30px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .rsvp-section {
        padding: 60px 20px;
    }
    
    .rsvp-section-title {
        font-size: 2rem;
    }
    
    .rsvp-intro-text p {
        font-size: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-input, .form-select, .form-textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* RSVP 모달 스타일 */
.rsvp-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.rsvp-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.rsvp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px 20px 0 0;
}

.rsvp-modal-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 700;
}

.rsvp-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.rsvp-modal-close:hover {
    background-color: #f8f9fa;
    color: #dc3545;
    transform: scale(1.1);
}

.rsvp-modal-body {
    padding: 30px;
}

.rsvp-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
}

.rsvp-cancel-btn {
    flex: 1;
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rsvp-cancel-btn:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.rsvp-submit-btn {
    flex: 2;
    padding: 12px 25px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.rsvp-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.rsvp-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.rsvp-submit-btn.loading .btn-text {
    display: none;
}

.rsvp-submit-btn.loading .btn-loading {
    display: inline;
}

.rsvp-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.rsvp-success h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.rsvp-success p {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.reset-btn {
    padding: 12px 30px;
    background: #6c5ce7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #5a4fcf;
    transform: translateY(-1px);
}

/* 모달 애니메이션 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .rsvp-modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .rsvp-modal-header {
        padding: 20px 25px;
    }
    
    .rsvp-modal-title {
        font-size: 1.5rem;
    }
    
    .rsvp-modal-body {
        padding: 25px 20px;
    }
    
    .rsvp-modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .rsvp-cancel-btn,
    .rsvp-submit-btn {
        width: 100%;
        padding: 15px;
    }
    
    .rsvp-open-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
}