/* Custom styles for Pure Customs */

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

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

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(120, 28, 53, 0.1);
}

/* Service card hover effect */
.group:hover .group-hover\:-translate-y-2 {
    transform: translateY(-8px);
}

/* Input focus animation */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(214, 66, 97, 0.1);
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}
