/* Custom styles for Fringe Hair Studio */

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

/* Base styles */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Hero gradient */
.hero-gradient {
    background: linear-gradient(135deg, #831443 0%, #be185d 25%, #db2777 45%, #f59e0b 75%, #fcd34d 100%);
}

/* Soft gradient backgrounds */
.soft-gradient {
    background: linear-gradient(180deg, #fdf4f8 0%, #fffbeb 50%, #ffffff 100%);
}

/* Card shine effect */
.card-shine {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 244, 248, 0.95) 100%);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #9d174d 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #9d174d 0%, #be185d 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #831443 0%, #9d174d 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(157, 23, 77, 0.3);
}

/* Secondary button */
.btn-secondary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(217, 119, 6, 0.3);
}

/* Navigation scroll state */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled .nav-text-default {
    color: #1f2937 !important;
}

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

.nav-scrolled .nav-link:hover {
    color: #be185d !important;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Floating animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

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

/* Pulse animation */
.pulse-soft {
    animation: pulse-soft 3s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Service card hover */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

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

/* Image hover zoom */
.overflow-hidden img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #f472b6;
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #be185d, #f59e0b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9d174d, #d97706);
}
