/* === RESET & BASE === */
@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
}

body {
    font-family: "Vividly-Regular", "Single Day", Helvetica, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
@font-face {
    font-family: "Vividly-Regular";
    src: url("./Vividly-Regular.otf") format("woff2"),
         url("./Vividly-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Peperrito Ornaments Regular";
    src: url("./PeperritoOrnaments-Regular.otf") format("woff2"),
         url("./PeperritoOrnaments-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Kinan";
    src: url("./Kinan.ttf") format("woff2"),
         url("./Kinan.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

/* === CUSTOM FONTS === */
@font-face { font-family: "Vividly-Regular"; src: local("Vividly-Regular"); }
@font-face { font-family: "Single Day-Regular"; src: local("Single Day-Regular"); }
@font-face { font-family: "Kinan Regular"; src: local("Kinan-Regular"); }
@font-face { font-family: "Peperrito Ornaments Regular"; src: local("Peperrito Ornaments-Regular"); }

/* === FAQ PAGE WRAPPER === */
.faq-page {
    max-width: 420px;
    margin: 0 auto;
    background-color: #fff2f6;
    overflow: hidden;
    position: relative;
}

/* === NAVIGATION === */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: #fff2f6;
}
.back-btn {
    font-family: "Vividly-Regular", Helvetica;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    border: 2.75px solid #ff9fba;
    border-radius: 22.66px;
    padding: 8px 20px;
    background: #ffe6ed;
    transition: 0.3s;
}
.back-btn:hover { background: #ff9fba; color: white; }
.cat-logo-small { width: 55px; height: 55px; }

/* === HEADER SECTION === */
.faq-header {
    position: relative;
    text-align: center;
    padding: 40px 20px 30px;
    background-color: #ffffff;
    margin: 0 20px 20px;
    border-radius: 22.66px;
    border: 2.75px solid #ff9fba;
    overflow: hidden;
}
.faq-title {
    font-family: "Kinan";
    font-size: 37.1px;
    -webkit-text-stroke: 0.69px #000;
    margin-bottom: 10px;
}
.faq-subtitle {
    font-family: "Vividly-Regular";
    font-size: 18px;
    color: #000;
    line-height: 1.6;
}
.faq-subtitle .sub-kr {
    font-family: "Single Day";
    font-size: 13px;
    color: #555;
    display: block;
    margin-top: 5px;
}
.faq-header-stars {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.faq-header-stars img {
    width: 30px;
    height: 30px;
}

/* Floating Decorative Letters */
.deco-letter {
    position: absolute;
    font-family: "Peperrito Ornaments Regular";
    font-weight: 400;
    color: #000000;
    text-align: center;
    line-height: normal;
}
.letter-r1 {
    top: 15px;
    left: 15px;
    font-size: 28px;
    transform: rotate(-8.56deg);
}
.letter-r2 {
    bottom: 15px;
    right: 15px;
    font-size: 28px;
    transform: rotate(15deg);
}
.letter-r3 {
    top: 50%;
    right: -10px;
    font-size: 35px;
    transform: rotate(21.6deg);
}
.letter-o {
    font-size: 25px;
    transform: rotate(-8.56deg);
    color: #ff9fba;
}
.letter-f {
    font-size: 25px;
    transform: rotate(17.04deg);
    color: #ff9fba;
}
.letter-n {
    font-size: 25px;
    transform: rotate(13.21deg);
    color: #ff9fba;
}
.letter-z {
    font-size: 22px;
    transform: rotate(-8.56deg);
    color: #ff9fba;
}
.letter-c {
    font-size: 22px;
    transform: rotate(13.21deg);
    color: #ff9fba;
}

/* === SWEET MOMENTS SECTION === */
.sweet-moments-section {
    text-align: center;
    padding: 0 20px 20px;
    position: relative;
}
.sweet-moments-title {
    font-family: "Kinan";
    font-size: 31.6px;
    -webkit-text-stroke: 0.69px #000;
    margin-bottom: 15px;
}
.sweet-moments-deco {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    position: relative;
}
.sweet-moments-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 22.66px;
    border: 2.75px solid #ff9fba;
}

/* === ACCORDION FAQ SECTION === */
.faq-accordion-section {
    padding: 0 20px 20px;
}
.faq-item {
    background-color: #fff3f6;
    border: 2.75px solid #ff9fba;
    border-radius: 22.66px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s;
}
.faq-item.active {
    background-color: #ffe6ed;
    border-color: #ff7fa0;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Vividly-Regular";
    font-size: 18px;
    color: #000;
    cursor: pointer;
    text-align: left;
}
.faq-question:focus-visible {
    outline: 2px solid #ff9fba;
}
.faq-icon {
    font-size: 24px;
    color: #ff9fba;
    transition: 0.3s;
    min-width: 30px;
    text-align: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}
.faq-answer p {
    font-family: "Vividly-Regular";
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    padding-bottom: 20px;
}

/* === GET IN TOUCH SECTION === */
.get-in-touch-section {
    text-align: center;
    padding: 0 20px 20px;
}
.get-in-touch-title {
    font-family: "Kinan";
    font-size: 31.6px;
    -webkit-text-stroke: 0.69px #000;
    margin-bottom: 20px;
}
.contact-card {
    background-color: #ffffff;
    border: 2.75px solid #ff9fba;
    border-radius: 22.66px;
    padding: 25px;
    position: relative;
}
.contact-card p {
    font-family: "Vividly-Regular";
    font-size: 18px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 10px;
}
.contact-deco-letters {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}
.contact-deco-letters .deco-letter {
    position: absolute;
}
.contact-deco-letters .letter-z {
    top: 10px;
    left: 15px;
}
.contact-deco-letters .letter-c {
    bottom: 10px;
    right: 15px;
}
.contact-mascot {
    width: 100px;
    margin-top: 19px;
}

/* === EXACT FOOTER WITH STARS BEHIND ICONS === */
.footer-details {
    margin-top: 20px;
    padding: 30px 20px 40px;
    text-align: center;
    background-color: #fff2f6;
    position: relative;
}

/* Container for the social icons and stars */
.footer-socials-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 60px;
    margin-bottom: 15px;
}

/* The 3 stars positioned behind the icons */
.footer-star {
    position: absolute;
    width: 41px !important;
    height: 39px !important;
    top: 10px;
    z-index: 1; /* Behind icons */
}
.star-10 { left: 32%; }
.star-11 { left: 49%; transform: translateX(-50%); }
.star-12 { right: 32%; }

/* The social icons on top of stars */
.footer-socials {
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
    z-index: 2; /* On top of stars */
}
.footer-socials img {
    width: 25px;
    height: 25px;
    transition: 0.3s;
}
.footer-socials img:hover { transform: scale(1.2); }

/* EXACT COPYRIGHT TEXT */

.footer-text {
    font-family: "Vividly-Regular", Helvetica;
    color: #000000;
    font-size: 15.1px;
    margin-top: 10px;
    position: relative;
    z-index: 3;
}

/* === RESPONSIVE === */
@media (min-width: 600px) {
    .faq-page { max-width: 600px; }
    .sweet-moments-img { height: 250px; }
}

/* ========================================
   🎀 SMOOTH SCROLL ANIMATIONS - FAQ PAGE
   ======================================== */

/* Base reveal class */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 1s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* Different animation types */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px) rotate(-2deg);
    transition: all 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px) rotate(2deg);
    transition: all 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0) rotate(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.7) rotate(-5deg);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.reveal-float {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal-float.active {
    opacity: 1;
    transform: translateY(0);
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   🎀 FLOATING ANIMATION
   ======================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   🎀 DECORATIVE LETTERS FLOATING
   ======================================== */

@keyframes floatLetter {
    0%, 100% { transform: translateY(0) rotate(var(--rot, -8deg)); }
    50% { transform: translateY(-8px) rotate(var(--rot2, -5deg)); }
}

.deco-letter {
    animation: floatLetter 3s ease-in-out infinite;
}

.letter-r1 { --rot: -8.56deg; --rot2: -5deg; animation-delay: 0s; }
.letter-r3 { --rot: 21.6deg; --rot2: 25deg; animation-delay: 0.7s; }
.letter-o { --rot: -8.56deg; --rot2: -5deg; animation-delay: 0.3s; }
.letter-z { --rot: -8.56deg; --rot2: -5deg; animation-delay: 0.5s; }

/* ========================================
   🎀 FAQ ITEM SLIDE IN
   ======================================== */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.faq-item {
    animation: slideIn 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

/* ========================================
   🎀 GENTLE HOVER EFFECTS
   ======================================== */

/* Back button hover */
.back-btn {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.back-btn:hover {
    transform: translateX(-5px) scale(1.05);
}

/* FAQ Header hover */
.faq-header {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 159, 186, 0.15);
}

/* FAQ Question hover */
.faq-question {
    transition: all 0.3s ease;
}
.faq-question:hover {
    background: rgba(255, 159, 186, 0.1);
}
.faq-question:hover .faq-icon {
    transform: rotate(90deg);
}

/* FAQ Item hover */
.faq-item {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 159, 186, 0.15);
}

/* FAQ Answer reveal */
.faq-answer {
    transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-answer p {
    animation: fadeInText 0.5s ease;
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sweet Moments image hover */
.sweet-moments-img {
    transition: all 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.sweet-moments-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 159, 186, 0.3);
}

/* Contact card hover */
.contact-card {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 159, 186, 0.2);
    border-color: #ff6b8a;
}

/* Contact mascot float */
.contact-mascot {
    transition: all 0.6s ease;
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   🎀 STAR PULSE (gentle, not twinkling)
   ======================================== */

.faq-header-stars img {
    transition: all 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq-header-stars img:hover {
    transform: scale(1.2) rotate(-10deg);
}

/* ========================================
   🎀 SMOOTH SCROLLBAR (cute pink)
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fff2f6;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff9fba, #ff6b8a);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff6b8a, #ff9fba);
}

/* ========================================
   🎀 FADE IN ON PAGE LOAD
   ======================================== */

body {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.98); 
    }
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* ========================================
   🎀 SMOOTH SCROLL BEHAVIOR
   ======================================== */

html {
    scroll-behavior: smooth;
}

/* ========================================
   🎀 FAQ ICON SPIN
   ======================================== */

.faq-icon {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: #ff6b8a;
}

/* ========================================
   🎀 FOOTER TEXT FADE
   ======================================== */

.footer-text {
    transition: all 0.3s ease;
}
.footer-text:hover {
    color: #ff6b8a;
    transform: scale(1.02);
}