/* Custom styles for Stephanie's CDC website */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(180deg, #fefdf8 0%, #fdf9ee 100%);
    color: #052e16;
    line-height: 1.6;
}

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

/* Navigation */
nav {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(187, 247, 208, 0.5);
}

.nav-link {
    position: relative;
    color: #166534;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #22c55e;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #166534, #22c55e);
    transition: width 0.3s ease;
}

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

/* Buttons */
.cta-button {
    background: #052e16;
    color: #fefdf8;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 46, 22, 0.2);
}

.cta-button:hover {
    background: #14532d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 46, 22, 0.3);
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, #052e16 0%, #14532d 40%, #166534 100%);
}

/* Stat Cards */
.stat-card {
    backdrop-filter: blur(10px);
    background: rgba(254, 253, 248, 0.95);
    border: 1px solid rgba(220, 252, 231, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(5, 46, 22, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(5, 46, 22, 0.15);
}

/* Decorative Elements */
.decorative-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #166534, #22c55e);
    border-radius: 2px;
}

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

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(5, 46, 22, 0.15);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

.mobile-menu.open {
    transform: translateX(0);
}

/* Form Styles */
input,
select,
textarea {
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

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

::-webkit-scrollbar-track {
    background: #fdf9ee;
}

::-webkit-scrollbar-thumb {
    background: #166534;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: #052e16;
}

/* Testimonial Cards */
.bg-white\/10 {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .stat-card {
        position: relative;
        margin-bottom: 1rem;
    }
}

/* Print styles */
@media print {
    nav,
    .mobile-menu,
    button {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .hero-gradient {
        background: #052e16 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
