/* Custom styles and animations */

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

/* Fade-in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in.delay-100 {
    animation-delay: 0.1s;
}

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

/* Thin scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Selection color */
::selection {
    background-color: #e0c7bb;
    color: #662b23;
}

/* Header scroll effect */
header.scrolled {
    box-shadow: 0 1px 0 rgba(192, 96, 71, 0.1);
}

/* Service card hover effect */
.group:hover .w-12 {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
button, a {
    transition: all 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.7s ease;
}

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