/* Custom Styles for Steve's Complete Automotive */

:root {
    --terracotta: #C27855;
    --terracotta-light: #D4916E;
    --sand: #F5F0E8;
    --sand-dark: #E8DFD0;
    --charcoal: #2C2C2C;
    --charcoal-light: #3D3D3D;
}

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

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

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

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

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

/* Selection Color */
::selection {
    background: var(--terracotta);
    color: var(--sand);
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--sand);
    color: var(--charcoal);
}

/* Typography */
.font-serif {
    font-family: 'Playfair Display', serif;
}

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

/* Navigation */
#navbar {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(194, 120, 85, 0.1);
}

#navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Hero Section */
#home {
    background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}

/* Service Cards */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

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

/* Form Inputs */
input, select, textarea {
    font-family: 'Inter', sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(194, 120, 85, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) {
    .font-serif {
        font-size: 4rem;
    }
}

/* Image Hover Effects */
img {
    transition: transform 0.7s ease;
}

img:hover {
    transform: scale(1.05);
}

/* Mobile Menu */
#mobile-menu {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

#mobile-menu.active {
    transform: translateY(0);
}

/* Decorative Elements */
.bg-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(194, 120, 85, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Testimonial Cards */
.testimonial-card {
    transition: all 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(194, 120, 85, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer */
footer a {
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Focus Visible for Accessibility */
:focus-visible {
    outline: 3px solid var(--terracotta);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav, button, form {
        display: none;
    }
    
    body {
        background: white;
    }
}
