/* ── Custom Styles for Kimberly's Beauty Salon ── */

/* Hero clip path */
.clip-hero-right {
    clip-path: polygon(25% 0%, 100% 0, 100% 100%, 0% 100%);
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.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; }

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7B2D3B, #EC7878);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: -10px;
    right: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    color: rgba(123, 45, 59, 0.06);
    line-height: 1;
    pointer-events: none;
}

/* ── Navbar Scroll State ── */
.nav-scrolled {
    background: rgba(255, 249, 245, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* ── Smooth Scroll ── */
html {
    scroll-behavior: smooth;
}

/* ── Selection Color ── */
::selection {
    background: #F9C4B8;
    color: #7B2D3B;
}

/* ── Mobile Menu Transition ── */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* ── Custom scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF9F5;
}
::-webkit-scrollbar-thumb {
    background: #F4C2C2;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E96E82;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .clip-hero-right {
        clip-path: polygon(0% 15%, 100% 0, 100% 100%, 0% 100%);
    }
}
