/* Custom styles for Pro Lube Oil Change Center */

:root {
    --color-cream: #FAF9F6;
    --color-emerald-50: #ECFDF5;
    --color-emerald-100: #D1FAE5;
    --color-emerald-200: #A7F3D0;
    --color-emerald-300: #6EE7B7;
    --color-emerald-400: #34D399;
    --color-emerald-500: #10B981;
    --color-emerald-600: #059669;
    --color-emerald-700: #047857;
    --color-emerald-800: #065F46;
    --color-emerald-900: #064E3B;
    --color-emerald-950: #022C22;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--color-cream);
    color: #1a3a2d;
    font-weight: 300;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

::-webkit-scrollbar-track {
    background: var(--color-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-emerald-300);
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: var(--color-emerald-200);
    color: var(--color-emerald-900);
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid var(--color-emerald-500);
    outline-offset: 2px;
}

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

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

/* Service card hover effect */
.group:hover .group-hover\:bg-emerald-200 {
    background-color: var(--color-emerald-200);
}

/* Button hover effects */
button:hover, a:hover {
    transform: translateY(-1px);
}

button:active, a:active {
    transform: translateY(0);
}

/* Form input focus styles */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-syne {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

/* Print styles */
@media print {
    nav, #mobileMenuBtn, button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
