/* ── IV Makeups — Custom Styles ── */

/* ── CSS Variables ── */
:root {
    --nude:       #F5E6D8;
    --nude-dark:  #E8C4A8;
    --rose-gold:  #C9956C;
    --rose-dark:  #B8784A;
    --off-white:  #FAF7F4;
    --charcoal:   #1A1A1A;
    --charcoal-2: #2D2D2D;
    --text-muted: #6B6B6B;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ── Navbar Glass on Scroll ── */
header.scrolled {
    background-color: rgba(250, 247, 244, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ── Nav underline hover ── */
nav a {
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--rose-gold);
    transition: width 0.3s ease;
}
nav a:hover::after { width: 100%; }

/* ── Glassmorphism Card ── */
.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 149, 108, 0.18);
    border-radius: 1.25rem;
}

/* ── Hero Gradient Overlay ── */
.hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(245, 230, 216, 0.92) 0%,
        rgba(250, 247, 244, 0.75) 50%,
        rgba(201, 149, 108, 0.15) 100%
    );
}

/* ── Section Divider ── */
.section-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--rose-gold), var(--nude-dark));
    border-radius: 2px;
    margin: 0 auto 1.5rem;
}

/* ── Service Card ── */
.service-card {
    background: #fff;
    border: 1px solid rgba(201, 149, 108, 0.15);
    border-radius: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(201, 149, 108, 0.15);
    border-color: rgba(201, 149, 108, 0.4);
}
.service-card .icon-wrap {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--nude), var(--nude-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

/* ── Gallery Grid (Structured Grid) ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
.gallery-item {
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 3 / 4;
    background: var(--nude);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.35);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item:hover .overlay { opacity: 1; }

/* ── Testimonial Card ── */
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(201, 149, 108, 0.12);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: box-shadow 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(201, 149, 108, 0.12);
}
.stars { color: var(--rose-gold); letter-spacing: 2px; }

/* ── FAQ Accordion ── */
.faq-item {
    border-bottom: 1px solid rgba(201, 149, 108, 0.18);
}
.faq-btn {
    width: 100%;
    text-align: left;
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.95rem;
}
.faq-btn .faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--nude);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.faq-btn.active .faq-icon {
    transform: rotate(45deg);
    background: var(--rose-gold);
    color: #fff;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-bottom: 0;
}
.faq-content.open {
    max-height: 300px;
    padding-bottom: 1.25rem;
}
.faq-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    text-align: justify;
}

/* ── Form Inputs ── */
.form-input {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 0.75rem;
    padding: 0.875rem 1.25rem;
    outline: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--charcoal);
}
.form-input:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(201, 149, 108, 0.1);
}
.form-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--rose-gold);
    margin-bottom: 0.4rem;
    margin-left: 0.25rem;
}

/* ── Floating WhatsApp Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* ── Mobile Menu ── */
#mobile-menu {
    background: var(--off-white);
}

/* ── Button Styles ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-dark));
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 120, 74, 0.35);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--rose-gold);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border: 1.5px solid var(--rose-gold);
    transition: all 0.25s ease;
    text-decoration: none;
    cursor: pointer;
}
.btn-outline:hover {
    background: var(--rose-gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Badge / Seal ── */
.seal {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(201, 149, 108, 0.3);
    border-radius: 9999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--charcoal-2);
    backdrop-filter: blur(6px);
}

/* ── Pulse animation for CTA ── */
@keyframes soft-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(184, 120, 74, 0.3); }
    50% { box-shadow: 0 12px 36px rgba(184, 120, 74, 0.5); }
}
.pulse-cta {
    animation: soft-pulse 3s ease-in-out infinite;
}

/* ── Text utilities ── */
.text-balance { text-wrap: balance; }
.font-serif { font-family: 'Playfair Display', Georgia, serif; }

/* ── Gradient text ── */
.gradient-text {
    background: linear-gradient(135deg, var(--rose-gold), var(--rose-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Lightbox Overlay ── */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#lightbox.open {
    opacity: 1;
    pointer-events: all;
}
#lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 0.75rem;
    object-fit: contain;
}
#lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}
#lightbox-close:hover { opacity: 1; }

/* ── Honeypot hidden field ── */
.hp-field { display: none !important; }

/* ── Icon sizing (Lucide) ── */
[data-lucide] { display: inline-block; min-width: 1em; min-height: 1em; }
svg.lucide { display: block; width: 100%; height: 100%; max-width: 24px; max-height: 24px; }
