/* ========================================
   Prime Plumbing Repair Fullerton
   Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    /* Slate Color Scheme */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    /* Primary Colors */
    --primary: #475569;
    --primary-dark: #334155;
    --primary-light: #64748b;
    
    /* Accent Colors */
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    /* Text Colors */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Border Colors */
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-max-width: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ========================================
   Reset & Base Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   Layout
   ======================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ========================================
   Animations
   ======================================== */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

.slide-in-up {
    animation: slideInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }

/* Intersection Observer animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all var(--transition-medium);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-emergency {
    background-color: #dc2626;
    color: white;
    font-size: 1.125rem;
    padding: 1rem 2rem;
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
}

/* ========================================
   Header & Navigation
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 0.25rem;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-medium);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-phone {
    background-color: var(--primary);
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-phone:hover {
    background-color: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    gap: 6px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all var(--transition-fast);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--slate-50) 0%, var(--slate-100) 100%);
    padding-top: 120px;
    overflow: hidden;
}

.hero-illustrations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-illustration {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.illustration-1 { top: 15%; left: 5%; animation-delay: 0s; }
.illustration-2 { top: 25%; right: 8%; animation-delay: 0.5s; }
.illustration-3 { bottom: 20%; left: 8%; animation-delay: 1s; }
.illustration-4 { top: 60%; right: 5%; animation-delay: 1.5s; }
.illustration-5 { bottom: 30%; right: 15%; animation-delay: 2s; }
.illustration-6 { top: 40%; left: 3%; animation-delay: 2.5s; }
.illustration-7 { bottom: 15%; right: 25%; animation-delay: 3s; }
.illustration-8 { top: 10%; right: 20%; animation-delay: 3.5s; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: slideInUp 0.8s ease-out;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-icon {
    font-size: 1.25rem;
}

/* ========================================
   Emergency Banner
   ======================================== */

.emergency-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
}

.emergency-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.emergency-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.emergency-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* ========================================
   Services Section - Horizontal Scroll
   ======================================== */

.services {
    background-color: var(--bg-secondary);
}

.services-scroll-container {
    position: relative;
    padding: 0 3rem;
}

.services-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.5rem;
    margin: 0 -0.5rem;
}

.services-scroll::-webkit-scrollbar {
    height: 8px;
}

.services-scroll::-webkit-scrollbar-track {
    background: var(--slate-200);
    border-radius: 4px;
}

.services-scroll::-webkit-scrollbar-thumb {
    background: var(--slate-400);
    border-radius: 4px;
}

.services-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--slate-500);
}

.service-card {
    flex: 0 0 350px;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    transition: all var(--transition-medium);
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.375rem;
}

.service-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-fast);
    z-index: 10;
}

.scroll-btn:hover {
    background-color: var(--primary);
    color: white;
}

.scroll-btn svg {
    width: 24px;
    height: 24px;
}

.scroll-prev {
    left: 0;
}

.scroll-next {
    right: 0;
}

/* ========================================
   About Section
   ======================================== */

.about {
    background-color: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 0.75rem;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.about-image {
    position: relative;
}

.team-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* ========================================
   Problems Section
   ======================================== */

.problems {
    background-color: var(--bg-secondary);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    border-left: 4px solid var(--primary);
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.problem-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--slate-200);
    line-height: 1;
    margin-bottom: 1rem;
}

.problem-title {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.problem-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   Locations Section
   ======================================== */

.locations {
    background-color: var(--bg-primary);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.location-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    border: 1px solid var(--border-light);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.location-image {
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

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

.location-content {
    padding: 1.5rem;
}

.location-name {
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.nearby {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-muted);
    background-color: var(--slate-100);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

.location-desc {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========================================
   FAQ Section
   ======================================== */

.faq {
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    text-align: left;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: var(--slate-50);
}

.faq-question[aria-expanded="true"] {
    background-color: var(--slate-50);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-answer.active {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

/* ========================================
   CTA Section
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.cta-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.cta-phone {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    transition: opacity var(--transition-fast);
}

.cta-phone:hover {
    opacity: 0.8;
}

.cta-address,
.cta-hours {
    font-size: 1rem;
    opacity: 0.9;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 64px;
    width: auto;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-desc {
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1.25rem;
}

.footer-info a {
    color: var(--slate-300);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.footer-info a:hover {
    color: white;
}

.footer-menu li,
.footer-areas li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

.footer-menu a:hover {
    color: white;
}

.footer-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
}

.footer-areas li {
    color: var(--slate-400);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: var(--slate-400);
    margin-bottom: 1rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--slate-500);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-illustration {
        width: 80px;
        height: 80px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-scroll-container {
        padding: 0 2rem;
    }
    
    .service-card {
        flex: 0 0 300px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .location-card {
        grid-template-columns: 1fr;
    }
    
    .location-image {
        height: 180px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .services-scroll-container {
        padding: 0 1rem;
    }
    
    .service-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
    
    .scroll-btn {
        display: none;
    }
    
    .cta-phone {
        font-size: 1.5rem;
    }
    
    .footer-areas {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .header,
    .hero-illustrations,
    .scroll-btn,
    .mobile-menu-toggle,
    .btn-emergency {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}