/* feelmaker wedding_pro2 스타일 완전 복제 */

/* 기본 리셋 및 변수 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JejuMyeongjo', 'Nanum Myeongjo', serif;
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.8;
    overflow-x: hidden;
    background: #f9f5f2;
    -webkit-touch-callout: none;
    -webkit-font-smoothing: antialiased;
}

/* 메인 섹션 */
.main {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #faeee8;
    overflow: hidden;
}

.main_img_wrap {
    position: relative;
    width: 100%;
    height: 100%;
}


.main_skinimg {
    position: relative;
    width: 100%;
    height: 100%;
}

.main_skinimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_skin {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.wedding-title-text {
    font-family: 'Great Vibes', 'Dancing Script', cursive;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.main_txt {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main_txt p {
    font-size: 2.2rem;
    margin: 0;
    font-family: 'Jeju Myeongjo', serif;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.main_txt font {
    font-size: 1.2rem;
    display: block;
    margin: 0.5rem 0;
    font-weight: 300;
}

.bottom_txt {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.bottom_txt p {
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

/* 전체 래퍼 */
.all_wrap {
    background: #f9f5f2;
}

/* 섹션 공통 스타일 */
.wrap_padding {
    padding: 60px 20px;
}

.inner_padding {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.inner_padding.active {
    opacity: 1;
    transform: translateY(0);
}

/* 시 구절 섹션 */
.poem_wrap {
    text-align: center;
    padding: 80px 20px;
}

.poem_wrapTxt {
    background: rgba(255, 255, 255, 0.7);
    padding: 3rem 2rem;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.poem_msg {
    font-size: 1.1rem;
    line-height: 2.5;
    color: #4a4a4a;
    font-style: italic;
    white-space: pre-line;
}

/* 인사말 섹션 */
.greeting_wrap {
    position: relative;
    padding: 60px 20px;
    background: #fff;
}

.greeting_inner {
    text-align: center;
}

.greeting_inner img {
    width: 30px;
    height: 30px;
    margin-bottom: 1rem;
}

.greeting_inner span {
    font-size: 1.8rem;
    color: #ff9fc5;
    margin-bottom: 2rem;
    display: block;
}

.greeting_inner p {
    font-size: 1rem;
    line-height: 2.2;
    color: #7a7a7a;
    white-space: pre-line;
}

.greeting_u {
    width: 100%;
    max-width: 600px;
    margin: 3rem auto 0;
    display: block;
    border-radius: 20px;
}

/* 연락처 섹션 */
.call_wrap {
    padding: 60px 20px;
    background: #f9f5f2;
}

.call_box {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.call_box span {
    color: #4a4a4a;
}

.mini_txt {
    margin: 0 0.5rem;
    color: #7a7a7a;
}

/* 캘린더 섹션 */
.calendar_wrap {
    padding: 60px 20px;
    background: #fff;
}

.tit_pink {
    color: #ff9fc5;
    font-size: 1.2rem;
    text-align: center;
    display: block;
    margin-bottom: 2rem;
}

#kCalendar {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

#header {
    text-align: center;
    margin-bottom: 2rem;
}

#date {
    font-size: 1.5rem;
    color: #4a4a4a;
}

#date font {
    font-size: 1rem;
    margin-left: 0.5rem;
}

#kCalendar table {
    width: 100%;
    border-collapse: collapse;
}

#kCalendar td {
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
}

.cal_week {
    color: #7a7a7a;
    font-weight: 400;
}

.sun {
    color: #ff6b6b;
}

.sat {
    color: #4dabf7;
}

.weddingday {
    background: #ff9fc5;
    color: #fff !important;
    border-radius: 50%;
    font-weight: 600;
}

/* D-Day 타이머 */
.dday_inner {
    margin-top: 3rem;
    text-align: center;
}

#dday_theme3 {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.days_wrap {
    text-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 80px;
}

.days_wrap span {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    color: #4a4a4a;
}

.inner_font {
    font-size: 0.8rem;
    color: #7a7a7a;
    margin-top: 0.5rem;
}

.of {
    font-size: 2rem;
    color: #4a4a4a;
    display: flex;
    align-items: center;
}

.remain {
    font-size: 1.1rem;
    color: #4a4a4a;
    text-align: center;
}

.b_date {
    color: #ff9fc5;
    font-weight: 600;
}

/* 갤러리 섹션 */
.album_wrap {
    padding: 60px 20px;
    background: #f9f5f2;
}

/* 바둑판 갤러리 스타일 추가 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    max-width: 768px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: #f0f0f0;
}

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

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

.section_tit {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #4a4a4a;
}

.sample_album {
    text-align: center;
    color: #7a7a7a;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.mySwiper {
    border-radius: 20px;
    overflow: hidden;
}

.thum_img {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
}

/* 지도 섹션 */
.map_wrap {
    padding: 60px 20px;
    background: #fff;
}

.map_hall {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #4a4a4a;
}

.map_ad {
    text-align: center;
    color: #7a7a7a;
    margin-bottom: 0.5rem;
}

.map_call {
    text-align: center;
    color: #ff9fc5;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: block;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.map_detail {
    display: block;
    text-align: center;
    color: #ff9fc5;
    text-decoration: none;
    margin-bottom: 3rem;
}

.way_guide ul {
    list-style: none;
    padding: 0;
}

.way_guide li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.is_map_icon {
    width: 40px;
    height: 40px;
    background: #ffd6e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.is_map_icon img {
    width: 20px;
    height: 20px;
}

.way_tit {
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.way_txt {
    color: #7a7a7a;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 계좌 섹션 */
.account_wrap {
    padding: 60px 20px;
    background: #f9f5f2;
}

.account_deliver_txt {
    text-align: center;
    color: #7a7a7a;
    margin-bottom: 3rem;
    line-height: 2;
}

.account_list {
    margin-bottom: 1rem;
}

.account_tit {
    background: #fff;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.account_tit:hover {
    background: #ffd6e8;
}

.account_tit span {
    font-size: 1.1rem;
    color: #4a4a4a;
}

.cover_wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
    border-radius: 0 0 15px 15px;
}

.cover_wrap.active {
    max-height: 500px;
}

.account_cover {
    padding: 1.5rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article1 p {
    color: #4a4a4a;
    margin-bottom: 0.3rem;
}

.article2 {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.article2 p {
    background: #ffd6e8;
    color: #4a4a4a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.article2 p:hover {
    background: #ff9fc5;
    color: #fff;
}

/* 방명록 섹션 */
.guest_book_wrap {
    padding: 60px 20px;
    background: #fff;
}

.book_box {
    max-width: 500px;
    margin: 0 auto;
}

.book_inner {
    background: #f9f5f2;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 15px;
}

.book_txt p {
    color: #4a4a4a;
    margin-bottom: 0.5rem;
}

.from_em {
    color: #ff9fc5;
    font-weight: 600;
}

.book_txt span {
    color: #7a7a7a;
    font-size: 0.95rem;
    line-height: 1.8;
}

.book_mark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.book_date {
    font-size: 0.8rem;
    color: #999;
}

.book_btn {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.book_btn a {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #ffd6e8;
    color: #4a4a4a;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.book_btn a:hover {
    background: #ff9fc5;
    color: #fff;
}


/* 공유하기 섹션 */
.share_wrap {
    padding: 60px 20px;
    background: #fff;
}

.share_inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.kakao_btn, .url_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px;
    background: #ffd6e8;
    color: #4a4a4a;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kakao_btn:hover, .url_btn:hover {
    background: #ff9fc5;
    color: #fff;
}

/* 푸터 */
.skin_footer {
    text-align: center;
    padding: 3rem 20px;
    background: #f9f5f2;
}

.skin_footer img {
    height: 30px;
    opacity: 0.5;
}

/* 모달 스타일 */
.black_back {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.pop_front {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    z-index: 101;
    max-width: 90%;
    width: 500px;
    max-height: 80vh;
    overflow-y: auto;
}

/* 반응형 */
@media (max-width: 768px) {
    .main_txt p {
        font-size: 1.5rem;
    }
    
    #dday_theme3 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        justify-items: center;
    }
    
    .days_wrap {
        min-width: 70px;
        padding: 1rem;
    }
    
    .days_wrap span {
        font-size: 1.8rem;
    }
    
    .of {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }
    
    .days_wrap {
        min-width: 60px;
        padding: 0.8rem;
    }
    
    .days_wrap span {
        font-size: 1.5rem;
    }
    
    .inner_font {
        font-size: 0.7rem;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 스크롤 애니메이션 */
.offset {
    opacity: 1; /* 기본적으로 보이도록 설정 */
    transform: translateY(0);
    transition: all 0.8s ease;
}

@supports (transform: translateY(30px)) {
    .offset {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .offset.active {
        opacity: 1;
        transform: translateY(0);
    }
}