/* Fix-It Auto Services Center — Base Styles */
/* Tailwind handles most styling; this file is for custom overrides */

/* GSAP reveal initial state */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.hero-badge,
.hero-title,
.hero-desc,
.hero-cta {
    opacity: 0;
    transform: translateY(20px);
}

/* Service card initial state */
.service-card {
    opacity: 0;
    transform: translateY(20px);
}

/* Stat card initial state */
.stat-card {
    opacity: 0;
    transform: translateY(20px);
}

/* Process step initial state */
.process-step {
    opacity: 0;
    transform: translateY(20px);
}

/* Project card initial state */
.project-card {
    opacity: 0;
    transform: translateY(20px);
}

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

/* Mobile menu */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
    opacity: 0;
}

#mobile-menu.show {
    max-height: 400px;
    opacity: 1;
}

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Loading spinner for form */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}
