/* ════════════════════════════════════════════════════════════
   Luxe Studio Salon – Custom CSS
   Complements Tailwind CDN. All component classes live here.
   ════════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    --plum:        #3b0764;
    --plum-light:  #581c87;
    --plum-dark:   #2e0450;
    --plum-darker: #1a0228;
    --rose:        #be185d;
    --rose-light:  #db2777;
    --rose-dark:   #9d174d;
    --rose-darker: #831843;
    --blush:       #fce4ec;
    --cream:       #fdf8f5;
    --charcoal:    #1c1917;
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

*,
*::before,
*::after { box-sizing: border-box; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ── Section helpers ────────────────────────────────────────── */
.section-eyebrow {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose);
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: #6b7280;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.75;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--rose), var(--rose-dark));
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    transition: box-shadow 0.2s, transform 0.15s;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(190, 24, 93, 0.4);
    transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: border-color 0.2s, background-color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.08);
}

.btn-plum {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--plum);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    transition: background-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    justify-content: center;
}
.btn-plum:hover {
    background-color: var(--plum-light);
    box-shadow: 0 8px 24px rgba(59, 7, 100, 0.35);
}

.btn-outline-rose {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--rose);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.03em;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid var(--rose);
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-outline-rose:hover {
    background-color: var(--rose);
    color: #fff;
}

/* Mobile menu buttons */
.btn-rose-mobile {
    display: block;
    background: linear-gradient(135deg, var(--rose), var(--rose-dark));
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: box-shadow 0.2s;
}
.btn-rose-mobile:hover { box-shadow: 0 4px 16px rgba(190, 24, 93, 0.35); }

.btn-outline-mobile {
    display: block;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: background-color 0.2s;
}
.btn-outline-mobile:hover { background-color: rgba(255, 255, 255, 0.15); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav-link {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none;
    transition: color 0.2s;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: 0.03em;
    font-size: 0.875rem;
}
.nav-link:hover,
.nav-link.active {
    color: #ffffff !important;
    border-bottom-color: var(--rose);
}

.nav-link-mobile {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 0.625rem 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s;
}
.nav-link-mobile:hover,
.nav-link-mobile.active { color: var(--rose-light); }

/* Scrolled navbar */
#navbar.scrolled {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    background-color: var(--plum-dark) !important;
    box-shadow: 0 4px 24px rgba(26, 2, 40, 0.4);
}

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
    background: #fff;
    border: 1px solid #f3e8ff;
    border-radius: 1.25rem;
    padding: 2rem;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}
.service-card:hover {
    box-shadow: 0 16px 48px rgba(190, 24, 93, 0.1);
    border-color: rgba(190, 24, 93, 0.25);
    transform: translateY(-5px);
}
.service-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

/* ── Trust Badges ───────────────────────────────────────────── */
.trust-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

/* ── Service Pills ──────────────────────────────────────────── */
.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.service-pill:hover {
    background: rgba(190, 24, 93, 0.18);
    border-color: rgba(190, 24, 93, 0.5);
    color: #f472b6;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
    letter-spacing: 0.01em;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: #faf5ff;
    border: 1.5px solid #e9d5ff;
    border-radius: 0.625rem;
    font-size: 0.875rem;
    color: #1f2937;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
    outline: none;
    font-family: 'Inter', system-ui, sans-serif;
}
.form-input:focus {
    border-color: var(--rose);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(190, 24, 93, 0.08);
}
.form-input::placeholder { color: #9ca3af; }
select.form-input { cursor: pointer; }
textarea.form-input { min-height: 5rem; }
.form-input.error { border-color: #ef4444; }

/* ── Gallery / Portfolio Cards ──────────────────────────────── */
.gallery-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}
.gallery-card:hover {
    box-shadow: 0 16px 40px rgba(190, 24, 93, 0.15);
    transform: translateY(-4px);
}
.gallery-img { transition: transform 0.5s ease; }
.gallery-card:hover .gallery-img { transform: scale(1.06); }

/* ── Team Cards ─────────────────────────────────────────────── */
.team-card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 1.25rem;
    overflow: hidden;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(59, 7, 100, 0.15);
}
.team-img { transition: transform 0.5s ease; }
.team-card:hover .team-img { transform: scale(1.04); }

/* ── Pricing Table ──────────────────────────────────────────── */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px dashed #f3e8ff;
}
.price-row:last-child { border-bottom: none; }
.price-tag {
    font-weight: 600;
    color: var(--rose);
    white-space: nowrap;
    padding-left: 1rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer-heading {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}
.footer-link:hover { color: var(--rose-light); }

.social-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.social-icon:hover {
    background-color: var(--rose);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-slide { padding: 0 0.75rem; }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-item { transition: box-shadow 0.2s; }
.faq-item.open { box-shadow: 0 4px 20px rgba(190, 24, 93, 0.08); }
.faq-answer { animation: fadeSlide 0.2s ease; }
.faq-btn.open .faq-icon { transform: rotate(45deg); }

@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Counter Animation ──────────────────────────────────────── */
.counter { display: inline-block; }

/* ── Decorative gradient line ───────────────────────────────── */
.gradient-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rose), var(--plum), transparent);
    border: none;
    margin: 0;
}

/* ── Scroll-mt for anchor links ─────────────────────────────── */
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* ── Section background tints ───────────────────────────────── */
.bg-blush-soft { background-color: #fdf2f8; }
.bg-cream-soft { background-color: var(--cream); }

/* ── Prose ──────────────────────────────────────────────────── */
.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }

/* ── Responsive tweaks ──────────────────────────────────────── */
@media (max-width: 640px) {
    .section-title { font-size: 1.75rem; }
    .btn-primary,
    .btn-secondary,
    .btn-plum { width: 100%; justify-content: center; }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
