/* Custom styles for Hair by Jenny */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        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; }
}

html {
    scroll-behavior: smooth;
}

.geometric-shape {
    position: absolute;
    pointer-events: none;
}

.coral-blob {
    background: linear-gradient(135deg, #FF7A42, #FF5722);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
}

.coral-blob-2 {
    background: linear-gradient(135deg, #FFC4A8, #FF9F75);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morph 10s ease-in-out infinite reverse;
}

@keyframes morph {
    0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 55% 45% / 56% 44% 56% 44%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

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

.service-icon {
    transition: transform 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #FF7A42, #FF5722);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #E64A19, #CC3E15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.btn-secondary {
    border: 2px solid #FF7A42;
    color: #FF7A42;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FF7A42;
    color: #14141A;
    transform: translateY(-2px);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF7A42;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.hero-image-overlay {
    background: linear-gradient(135deg, rgba(20, 20, 26, 0.3), rgba(20, 20, 26, 0.1));
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #E64A19;
}

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

/* Smooth image loading */
img {
    loading: lazy;
    display: block;
}
