/* Custom styles for Kate Rose Hair Studio */

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

/* Hero animation */
.hero-badge {
    animation: fadeInUp 0.8s ease-out both;
}

.hero-badge:nth-child(1) { animation-delay: 0.1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card hover effects */
.service-card {
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
}

/* Gallery items */
.gallery-item {
    cursor: pointer;
}

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

.nav-scrolled .nav-logo-text {
    color: #7B2D3B !important;
}

.nav-scrolled .nav-link {
    color: #4b5563 !important;
}

.nav-scrolled .menu-line {
    background: #7B2D3B !important;
}

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

/* Testimonial card hover */
.testimonial-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

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

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

/* Geometric accent shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    border-color: #f9a8bc !important;
    box-shadow: 0 0 0 3px rgba(244, 168, 188, 0.2) !important;
}

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

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

::-webkit-scrollbar-thumb {
    background: #f4a8bc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7B2D3B;
}

/* Selection color */
::selection {
    background: #f9a8bc;
    color: #3a1318;
}

/* Mobile menu lines animation */
.menu-line.active:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-line.active:nth-child(2) {
    opacity: 0;
}

.menu-line.active:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
    margin-left: 0;
}

/* Parallax-like subtle movement */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        will-change: transform;
    }
}
