/* Custom Styles for Evolve Remodel */

:root {
    --emerald-950: #064e3b;
    --emerald-900: #065f46;
    --emerald-800: #047857;
    --emerald-700: #059669;
    --emerald-600: #10b981;
    --emerald-100: #d1fae5;
    --cream: #faf9f6;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-600: #57534e;
    --stone-900: #1c1917;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

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

::-webkit-scrollbar-track {
    background: var(--stone-100);
}

::-webkit-scrollbar-thumb {
    background: var(--emerald-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emerald-800);
}

/* Service card animations */
.service-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Gallery item hover */
.gallery-item {
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background-color: rgba(6, 78, 59, 0.98);
}

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile menu animations */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: var(--emerald-700);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

/* Button hover effects */
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(6, 78, 59, 0.3);
}

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