/* Custom Styles for VIxxen Hair Co. */

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

/* Custom Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

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

/* Hero Animation Delays */
.hero-anim:nth-child(1) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}
.hero-anim:nth-child(2) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}
.hero-anim:nth-child(3) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}
.hero-anim:nth-child(4) {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card:hover svg {
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s ease;
}

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Mobile Menu Link Animation */
.mobile-link {
    position: relative;
}

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

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

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-thumb {
    background: #FF6B6B;
    border-radius: 5px;
}

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

/* Responsive Typography Adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
