/**
 * CINCIN NAIL ART — Custom Styles
 */

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== SELECTION ===== */
::selection {
    background-color: #d48494;
    color: white;
}

/* ===== NAVBAR ===== */
.navbar-transparent {
    background: transparent;
}

.navbar-transparent .text-gray-700,
.navbar-transparent .text-gray-900 {
    color: #1f2937 !important;
}

.navbar-solid {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* Scrolled state for transparent navbar */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06) !important;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
}

/* ===== PARALLAX ===== */
.bg-fixed {
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .bg-fixed {
        background-attachment: scroll;
    }
}

/* ===== SWIPER CUSTOM ===== */
.wall-swiper .swiper-slide {
    width: 300px;
}

@media (max-width: 640px) {
    .wall-swiper .swiper-slide {
        width: 260px;
    }
}

.swiper-pagination-bullet {
    background: #d48494 !important;
    opacity: 0.3 !important;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #c47080 !important;
}

/* ===== GALLERY FILTER BUTTONS ===== */
.filter-btn.active {
    background-color: #c47080 !important;
    color: white !important;
}

/* ===== FAQ ACCORDION ===== */
.faq-toggle.active svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.4s ease-out, padding-bottom 0.4s ease-out;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
    transform: translateX(0);
}

/* ===== COUNTDOWN ===== */
#countdown-timer {
    letter-spacing: 0.05em;
}

/* ===== BACK TO TOP ===== */
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== COOKIE BANNER ===== */
#cookie-banner.hidden-banner {
    transform: translateY(100%);
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, #c47080, #d48494);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== CARDS ===== */
.card-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

/* ===== BUTTON PULSE ===== */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(236, 72, 153, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

/* ===== SAKURA CANVAS ===== */
#sakura-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== THREE.JS CONTAINER ===== */
#three-container canvas {
    display: block;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf8f5;
}

::-webkit-scrollbar-thumb {
    background: #e6a3b3;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d48494;
}

/* ===== PRINT ===== */
@media print {
    nav, footer, .fixed {
        display: none !important;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
