/* ============================================
   Kristen Brooksby Interior Design
   Bold Editorial Style - Midnight Blue & Mint
   ============================================ */

/* CSS Custom Properties */
:root {
    --color-midnight: #0F172A;
    --color-midnight-light: #1E293B;
    --color-mint: #34D399;
    --color-mint-dark: #059669;
    --color-mint-light: #6EE7B7;
    --color-cream: #F8FAFC;
    --color-slate-50: #F8FAFC;
    --color-slate-100: #F1F5F9;
    --color-slate-200: #E2E8F0;
    --color-slate-300: #CBD5E1;
    --color-slate-400: #94A3B8;
    --color-slate-500: #64748B;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1E293B;
    --color-slate-900: #0F172A;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -2px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-slate-800);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-midnight);
}

/* Eyebrow */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: var(--space-sm);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-xl);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--color-mint);
    color: var(--color-midnight);
}

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

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-midnight);
    border: 1.5px solid var(--color-midnight);
}

.btn-outline:hover {
    background-color: var(--color-midnight);
    color: white;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.logo-tag {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-mint);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-mint);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: white;
}

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

.nav-cta {
    padding: 0.625rem 1.5rem;
    background-color: var(--color-mint);
    color: var(--color-midnight) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--color-mint-dark);
    color: white !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-6px);
}

.hamburger::after {
    transform: translateY(6px);
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.7) 50%,
        rgba(15, 23, 42, 0.6) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 var(--space-lg);
    color: white;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-mint-light);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-lg);
    line-height: 1.05;
}

.hero-headline em {
    font-style: italic;
    color: var(--color-mint-light);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.6);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.8);
    }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--space-4xl) 0;
    background-color: var(--color-cream);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background-color: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--color-slate-100);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-mint-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-mint);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    color: var(--color-midnight);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-slate-600);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--space-4xl) 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: var(--space-lg);
}

.about-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: var(--space-lg);
}

.about-text {
    font-size: 1rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin: var(--space-xl) 0;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-slate-200);
    border-bottom: 1px solid var(--color-slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-midnight);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   Portfolio Section
   ============================================ */
.portfolio {
    padding: var(--space-4xl) 0;
    background-color: var(--color-slate-50);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-mint-light);
    margin-bottom: 0.5rem;
}

.portfolio-name {
    font-size: 1.5rem;
    color: white;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--space-4xl) 0;
    background-color: var(--color-midnight);
}

.testimonials .section-header {
    color: white;
}

.testimonials .section-title {
    color: white;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials-track {
    overflow: hidden;
}

.testimonial-card {
    background-color: var(--color-midnight-light);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
    color: var(--color-mint);
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.author-location {
    font-size: 0.875rem;
    color: var(--color-slate-400);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.testimonial-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-btn:hover {
    background-color: var(--color-mint);
    color: var(--color-midnight);
    border-color: var(--color-mint);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--color-mint);
    transform: scale(1.2);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--color-mint-dark) 0%, var(--color-mint) 100%);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-midnight);
}

.cta .section-eyebrow {
    color: var(--color-midnight);
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-midnight);
    margin-bottom: var(--space-lg);
}

.cta-title em {
    font-style: italic;
    color: white;
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(15, 23, 42, 0.8);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background-color: var(--color-midnight);
    color: white;
}

.cta .btn-primary:hover {
    background-color: var(--color-midnight-light);
}

.cta .btn-secondary {
    border-color: var(--color-midnight);
    color: var(--color-midnight);
}

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

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--space-4xl) 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    padding: var(--space-lg);
}

.contact-text {
    font-size: 1rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-slate-100);
    border-radius: var(--radius-sm);
    color: var(--color-midnight);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-slate-500);
    margin-bottom: 0.25rem;
}

.contact-value {
    display: block;
    font-size: 1rem;
    color: var(--color-midnight);
    font-weight: 500;
}

.contact-link {
    font-size: 1rem;
    color: var(--color-midnight);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--color-mint-dark);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-slate-50);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-slate-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-slate-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-slate-800);
    background-color: white;
    border: 1.5px solid var(--color-slate-200);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-mint);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.form-input::placeholder {
    color: var(--color-slate-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    color: var(--color-midnight);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--color-mint-dark);
    margin-bottom: var(--space-md);
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--color-slate-600);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: var(--color-midnight);
    color: white;
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--color-mint);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-mint);
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-contact a:hover {
    color: var(--color-mint);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        gap: var(--space-xl);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-stats {
        justify-content: space-around;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero {
        min-height: 600px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}

/* ============================================
   Animations (Progressive Enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(20px);
    }
    
    .service-card.animate-in {
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .service-card:nth-child(2).animate-in {
        animation-delay: 0.1s;
    }
    
    .service-card:nth-child(3).animate-in {
        animation-delay: 0.2s;
    }
    
    .service-card:nth-child(4).animate-in {
        animation-delay: 0.3s;
    }
    
    .service-card:nth-child(5).animate-in {
        animation-delay: 0.4s;
    }
    
    .service-card:nth-child(6).animate-in {
        animation-delay: 0.5s;
    }
    
    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Default state for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        opacity: 1;
        transform: none;
    }
}
