/* Base & Utilities */
html {
    scroll-behavior: smooth;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF6F0;
}
::-webkit-scrollbar-thumb {
    background: #C06C44;
    border-radius: 3px;
}

/* Service cards */
.service-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.service-card:hover img {
    transform: scale(1.05);
}

/* Testimonial cards */
.testimonial-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

/* Floating stat cards animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card-1 {
    animation: float 4s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 5s ease-in-out infinite 0.5s;
}

.floating-card-3 {
    animation: float 4.5s ease-in-out infinite 1s;
}

/* Navbar */
.nav-scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-scrolled .menu-line {
    background: #292524;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Decorative elements */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #e7e5e4, transparent);
}

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

/* Selection color */
::selection {
    background: #C06C44;
    color: white;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .testimonial-card {
        transition: none;
    }
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        animation: none;
    }
    img {
        transition: none;
    }
}

/* Mobile menu animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobile-menu.mobile-menu-open {
    animation: slideDown 0.4s ease forwards;
}

/* Menu close animation */
#mobile-menu:not(.mobile-menu-open) {
    animation: slideUp 0.3s ease forwards;
}

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