/* Custom styles beyond Tailwind */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #729b75;
}

/* Service card hover effects */
.service-card {
    will-change: transform;
}

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

/* Gallery item hover */
.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Navbar transition */
#navbar {
    transition: background-color 0.3s ease;
}

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

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

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

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

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

/* Form input focus effects */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button ripple effect */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Reduced motion preference */
@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 {
    nav,
    .no-print {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
