/* Custom styles for Magick Mel Loc Services */

/* Base animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #d4a5a5;
    border-radius: 3px;
}

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

/* Service card hover effects */
.service-card {
    transition: all 0.5s ease;
}

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

.service-card:hover svg {
    transform: scale(1.1);
}

/* Mobile menu animations */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Selection color */
::selection {
    background: #fde68a;
    color: #7f1f3b;
}

/* 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;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .service-card,
    #gallery img {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}
