@font-face {
    font-family: 'WavePado';
    src: url('fonts/WavvePADO-Regular.ttf') format('truetype');
}


html {
    font-size: 10px;
}

body {
    width: 100%;
    font-family: Noto Sans KR, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #F8F8F8;
}

h1 {
    font-size: 3.3rem;
    margin: 0;
}

p {
    font-size: 1.8rem;
    margin: 1rem 0 3rem 0;
}


/* 헤더 스타일 */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'WavePado', sans-serif;
    text-align: center;
    background-color: #8E4A5D;
    color: rgb(251, 248, 248);
}

.header .logo img {
    max-width: 21rem;
    height: auto;
    margin-bottom: 2rem;
}

.header p {
    font-size: 1.3rem;
}


.main-content {

    position: relative;
    text-align: center;
    color: #4A4A4A;
    /* 배경 이미지를 전체 화면에 맞춤 */
    height: 100vh;
    /* 섹션 높이를 화면 전체에 맞춤 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /* 요소들을 세로로 정렬 */

}

.main-content img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0.5;
    opacity: 0.15;
}

/* 오버레이 스타일 */
.main-overlay {
    color: #333333;
    border-radius: 1rem;
    max-width: 65.5rem;
    /* 오버레이의 최대 너비 */
    width: 80%;
    text-align: left;
    /* 텍스트를 왼쪽 정렬 */
}

.main-overlay p {
    font-size: 1.65rem;
    color: #5e5e5e;
    /* 글씨를 더 밝게 유지 */
    line-height: 3rem;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
    /* 텍스트 그림자 추가 */
    opacity: 0.9;
}

.headline {
    font-size: 2.5rem;
    color: #585858;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
    /* 텍스트 그림자 추가 */
}

.cta-buttons {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    opacity: 0.9;
}

.cta-button {
    background-color: #2C3E50;
    color: #FFFFFF;
    padding: 1rem 2.8rem;
    border-radius: 0.5rem;
    font-size: 1.3rem;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;

}

.cta-button:hover {
    background-color: #B75E7F;
    /* 딥 퍼플 */
}

.gold-button {
    background-color: #D4AF37;
}

.gold-button:hover {
    background-color: #B75E7F;
    /* 딥 퍼플 */
}

/* 포트폴리오 */
.portfolio {
    display: flex;
    justify-content: center;
    align-items: center;
    /* 상단을 기준으로 정렬 */
    position: relative;
    height: 100vh;
    background-color: #f4f4f4;

}


.portfolio h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #714b64;
    opacity: 0.9;
}

/* 포트폴리오 텍스트 부분 */
.portfolio-text {
    font-size: 1.3rem;
    color: #5e5e5e;
    display: block;
    justify-content: flex-start;
    width: 30%;
    /* 텍스트가 차지하는 공간 */
    z-index: 2;
    opacity: 0.9;
}

/* 슬라이드 컨테이너 부분 */
.portfolio-slider {
    width: 60rem;
    z-index: 2;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
    /* 슬라이드가 차지하는 공간 */
}

.video-container {
    display: flex;
    justify-content: center;
    /* 가로 방향으로 중앙 정렬 */
    align-items: center;
    /* 세로 방향으로 중앙 정렬 */
    width: 100%;
    height: 100vh;
    /* 부모 요소의 높이를 채워서 세로 중앙 정렬이 가능하도록 함 */
    position: absolute;
    overflow: hidden;
    z-index: 0.1;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0.1;
    opacity: 0.3;
}

/* 공통 swiper */
.swiper-container {
    width: 100%;
    /* 컨테이너의 너비를 100%로 설정 */
    height: 100%;
    /* 컨테이너의 높이를 100%로 설정 */
    overflow: hidden;
    /* 슬라이드가 컨테이너 밖으로 나가지 않도록 숨김 */
}

/* Swiper 스타일링 */
.portfolio-container {
    width: 100%;
    max-width: 60rem;
    /* 슬라이드 컨테이너의 최대 너비를 800px로 제한 */
    height: 35rem;
    /* 적절한 높이를 설정 */
    margin: 0 auto;
    /* 가운데 정렬 */
    overflow: hidden;
    /* 페이지 초과 방지 */
    opacity: 0.9;
}

/* 슬라이드 아이템 크기 조정 */
.portofolio-slide {
    max-width: 100%;
    width: 100%;
    /* 슬라이드 아이템을 컨테이너에 맞춤 */
    height: 100%;
    /* 높이를 컨테이너 높이에 맞춤 */
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    /* 패딩과 경계선이 전체 너비에 포함되도록 설정 */
}

.portfolio-wrapper {
    display: flex;
    align-items: center;

}


/* 네비게이션 화살표 스타일링 */
.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

/* 점점점(페이지네이션) 제거 */
.swiper-pagination {
    display: none;
}

.portofolio-slide img,
.portofolio-slide video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* 이미지를 컨테이너 안에 맞추어 왜곡 없이 보여줌 */
}

/* 포트폴리오 비디오 및 이미지 스타일 */
.portfolio-video,
.portfolio-item {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: auto;
    /* 슬라이드에 맞춰 100%로 설정 */
    height: 100%;
    overflow: hidden;
    box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img,
.portfolio-video video {
    width: 100%;
    /* 슬라이드 너비에 맞춰서 이미지나 비디오의 너비를 100%로 설정 */
    height: auto;
    object-fit: cover;
}

/* 텍스트 오버레이 */
.overlay-text {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    color: white;
    padding: 0.7rem 1.2rem;
    font-size: 1.3rem;
}

/* Lightbox 스타일링 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
}

.lightbox img,
.lightbox video {
    display: none;
    border-radius: 1rem;
}

.lightbox .close {
    position: absolute;
    top: 3rem;
    right: 21rem;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.close svg {
    fill: none;
    stroke: white;
    stroke-width: 3rem;
    cursor: pointer;
    z-index: 1001;
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 리뷰 스타일링 */
.reviews {

    height: 100vh;
    /* 높이를 콘텐츠에 맞게 자동으로 조정 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}


.review-title {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 5rem;

}

.review-title h2,
.review-title p {
    margin: 0;
}


.review-container {
    position: relative;
    max-width: 60rem;
    height: 37rem;
    /* 높이를 적당히 조절 */
}

.review-swiper-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 55rem;
    /* 슬라이드 컨테이너의 최대 너비를 800px로 제한 */
    height: 50rem;
    /* 적절한 높이를 설정 */
    margin: 0;
    /* 가운데 정렬 */
    /* 페이지 초과 방지 */
    opacity: 0.7;
}

.review-wrapper {
    position: relative;
    height: 100%;
}

.review-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 0;


}

.review-item {
    background-color: #fefdfe;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0rem;
    box-shadow: 0.1rem 0.5rem 0.5rem 0.2rem rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 100%;
    height: 15rem;
}

.review-item-img {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 30%;

}

.review-item-img img {
    max-width: 10rem;
    height: 10rem;

}

.review-item-p {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    max-width: 35rem;
    height: 100%;
    padding-left: 4rem;

}

.review-item-p strong {
    font-size: 1.6rem;
    color: #8E4A5D;
    font-weight: 450;

}

.review-item-p p {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.swiper-pagination-bullet {
    display: none;
}

/* 서비스 섹션 스타일 */
.pricing-table {
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem 10rem;
    background-color: #f2ecf0;
}

.pricing-item {
    background: linear-gradient(135deg, #f0f0f0, #ffffff);
    border: 2px solid #E2E2E2;
    border-radius: 1rem;
    padding: 3rem 3rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    width: 25%;
    transition: transform 0.3s ease;

}

.pricing-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1rem 1.5rem rgba(0, 0, 0, 0.2);
    background-image: url(/cover/신비로고_SinbiLogo1.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.pricing-title {
    font-size: 2.2rem;
    color: #7A3E48;
    margin: 0;

}

.pricing-subtitle {
    font-size: 1.9rem;
    color: #A15B6A;
    margin-bottom: 1.7rem;
}

.pricing-features {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1.65rem;
    color: #4f4f4f;
}

.pricing-features li {
    margin-bottom: 0.8rem;
}

.pricing-item.standard {
    background: linear-gradient(135deg, #F5E5EB, #EBD4DC);
    /* 연한 자주색 톤 */
}


.pricing-item.deluxe {
    background: linear-gradient(135deg, #D8A8B6, #C490A0);
}

.pricing-item.premium {
    background: linear-gradient(135deg, #5E274B, #7A3E48);
    /* 프리미엄 자주색 톤 */
}


.pricing-item.deluxe .pricing-title,
.pricing-item.deluxe .pricing-subtitle,
.pricing-item.deluxe .pricing-features {
    color: #3D2633;
}

.pricing-item.premium .pricing-title,
.pricing-item.premium .pricing-subtitle,
.pricing-item.premium .pricing-features {
    color: #fff;
}


/* 수정 및 재진행 섹션 스타일 */
.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 75vh;
    background-color: #E7EAED;
    padding-bottom: 5rem;
}

.faq-section h3,
.faq h3 {
    font-size: 2.2rem;
    color: #535353;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 59%;
    min-height: 4rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: background-color 0.6s, transform 0.6s;
}

.faq-item:hover {
    background-color: #ffffff;
    transform: translateY(-0.3rem);
}


.faq-item.active .faq-answer {
    display: block;
}

/* FAQ 섹션 스타일 */
.faq {
    max-width: 100%;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.faq-item button {
    background-color: #ffffff;
}

.faq-question,
.faq-answer {
    width: 100%;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.8rem;
    text-align: left;
    position: relative;
    font-weight: 500;
    color: #515050;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.faq-item.open .faq-answer {
    max-height: 100rem;
    /* 충분히 큰 값으로 설정 */
    padding-top: 1rem;
    /* 애니메이션을 적용하여 자연스럽게 보이게 함 */
    padding-bottom: 1rem;
}

.faq-answer {
    display: none;
    max-width: 97%;
    max-height: 0;
    overflow: hidden;
    background-color: #ffffff;
    padding-bottom: 1rem;
    transition: max-height 0.6s ease-out;
    color: #652e3e;
}




.arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item.open .arrow {
    transform: translateY(-50%) rotate(180deg);
}


/*환불 규정 */

.refund-policy {
    width: 100%;
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.refund-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.refund-policy h2 {
    font-size: 2rem;
}


/* 푸터 스타일 */
.footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: white;
}

/* 설명 부분 색상 */
.revision-item p,
.refund-item p,
.faq-item p {
    color: #333333;
    /* 설명 텍스트를 진한 회색으로 변경 */
}

/* slide-in 애니메이션 */
.slide-in {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-in-active {
    opacity: 1;
    transform: translateX(0);
}

/* fade-in-up 애니메이션 */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

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

/* fade-in-scale 애니메이션 */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scale-active {
    opacity: 1;
    transform: scale(1);
}

/* slide-fade 애니메이션 */
.slide-fade {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-fade-active {
    opacity: 1;
    transform: translateX(0);
}

/* slide-in-bottom 애니메이션 */
.slide-in-bottom {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
}

.slide-in-bottom-active {
    opacity: 1;
    transform: translateY(0);
}




/* 반응형 디자인 */
/* 전체적인 반응형 디자인 미디어 쿼리 */

@media (max-width: 2100px) {
    html {
        font-size: 10px;
    }

}


@media (max-width: 1800px) {
    html {
        font-size: 10px;
    }


}




@media (max-width: 1400px) {
    html {
        font-size: 9px;
    }


    .faq-section,
    .faq,
    .refund-policy {

        padding: 5rem 2rem;
        height: auto;
    }



}

@media (max-width: 1100px) {
    html {
        font-size: 8px;

    }

    .header,
    .main-content,
    .portfolio,
    .reviews {
        height: 70vh;
        padding: 8rem 4rem;
    }

    .video-container {
        height: 100%;
    }

    .pricing-table {

        padding: 9rem 2rem;
        height: auto;
    }

    .faq-section,
    .faq,
    .refund-policy {

        padding: 5rem 0.6rem;
        height: auto;
    }


    .refund-item p {
        max-width: 70rem;
    }

    .pricing-table,
    .portfolio,
    .reviews {
        flex-direction: column;
        align-items: center;
    }


    .pricing-item,
    .portfolio-text {
        width: 60%;

        margin-bottom: 2rem;
    }

    .portfolio-text h2 {
        color: #714b64;
    }

    .portfolio-text p {
        color: #5e5e5e;
    }

    .review-title {
        width: 50%;
        padding-bottom: 4rem;
    }

}

@media (max-width: 1100px) {
    .faq-item {
        width: 80%;
    }

    .review-title,
    .portfolio-text {
        width: 100%;
    }

    .refund-item {
        margin-left: 10%;
    }

    .refund-item p {

        max-width: 90%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 7px;
    }

    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .main-overlay {
        line-height: 2rem;
    }

    .main-content img {
        content: url('/cover/main-content_m.png');

    }

    video {
        opacity: 0.4;
    }


    .portfolio-slider {
        width: 48rem;
    }

    .portfolio-container {
        height: 28.8rem;
    }
}

@media (max-width: 440px) {
    html {
        font-size: 5.5px;
    }

    .main-content {
        height: auto;
    }

    .portfolio,
    .reviews {
        height: 40vh;
    }
}

@media (max-width: 390px) {
    html {
        font-size: 5px;
    }
}