/* ===================================
   DC Visitor Injuries - Main Stylesheet
   Welcoming, elegant design for visitors
   =================================== */

/* CSS Variables */
:root {
    --navy-blue: #1e3a5f;
    --monument-gold: #d4a574;
    --welcoming-teal: #4a90a4;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--welcoming-teal);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--monument-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-blue);
}

.logo-icon {
    font-size: 2rem;
    color: var(--monument-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--navy-blue);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--welcoming-teal);
    color: var(--white);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--navy-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--welcoming-teal) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M50 10 L60 40 L90 40 L65 60 L75 90 L50 70 L25 90 L35 60 L10 40 L40 40 Z" fill="rgba(212,165,116,0.1)"/></svg>');
    background-size: 150px;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-accent {
    color: var(--monument-gold);
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--monument-gold);
    color: var(--navy-blue);
}

.btn-primary:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin: 0 auto;
}

.section-bg-light {
    background-color: var(--light-gray);
}

/* Visitor Cards Grid */
.visitor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.visitor-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.visitor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.visitor-card-icon {
    font-size: 3rem;
    color: var(--welcoming-teal);
    margin-bottom: 1rem;
}

.visitor-card h3 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.visitor-card p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
}

/* Injury Cards */
.injury-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.injury-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--monument-gold);
    box-shadow: 0 3px 12px var(--shadow);
    transition: var(--transition);
}

.injury-card:hover {
    border-left-color: var(--welcoming-teal);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.injury-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.injury-card ul {
    list-style: none;
    margin-bottom: 1rem;
}

.injury-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.injury-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--welcoming-teal);
    font-weight: bold;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 3rem;
    color: var(--monument-gold);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.benefit-item p {
    color: var(--medium-gray);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.step-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 12px var(--shadow);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--navy-blue), var(--welcoming-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 10px var(--shadow);
}

.step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.step-item p {
    color: var(--medium-gray);
}

/* Challenge Items */
.challenge-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.challenge-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px var(--shadow);
    border-top: 4px solid var(--welcoming-teal);
}

.challenge-icon {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.challenge-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.challenge-item p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.challenge-solution {
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.challenge-solution strong {
    color: var(--welcoming-teal);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px var(--shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    font-size: 4rem;
    color: var(--monument-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
    font-family: var(--font-heading);
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--welcoming-teal), var(--monument-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-bottom: 0;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    margin-top: 3rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--monument-gold);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
}

/* Location Cards */
.location-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.location-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.location-header {
    background: linear-gradient(135deg, var(--navy-blue), var(--welcoming-teal));
    color: var(--white);
    padding: 2rem;
}

.location-header h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.location-header p {
    margin-bottom: 0;
    opacity: 0.9;
}

.location-content {
    padding: 2rem;
}

.location-content h4 {
    font-size: 1.1rem;
    color: var(--welcoming-teal);
    margin-bottom: 1rem;
}

.location-content ul {
    list-style: none;
}

.location-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--medium-gray);
}

.location-content ul li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--monument-gold);
}

/* Help Sections */
.help-section {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px var(--shadow);
    margin-bottom: 2rem;
}

.help-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--navy-blue);
}

.help-steps {
    list-style: none;
    counter-reset: help-counter;
}

.help-steps li {
    counter-increment: help-counter;
    padding: 1rem 0 1rem 3rem;
    position: relative;
    border-bottom: 1px solid var(--light-gray);
}

.help-steps li:last-child {
    border-bottom: none;
}

.help-steps li::before {
    content: counter(help-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    width: 30px;
    height: 30px;
    background-color: var(--welcoming-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.help-highlight {
    background-color: var(--light-gray);
    border-left: 4px solid var(--monument-gold);
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1.5rem 0;
}

.help-highlight h4 {
    color: var(--welcoming-teal);
    margin-bottom: 0.75rem;
}

/* Contact Page */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow-hover);
}

.contact-icon {
    font-size: 3rem;
    color: var(--welcoming-teal);
    margin-bottom: 1rem;
}

.contact-method h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-method p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.map-container {
    margin: 3rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--monument-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--monument-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-highlight {
    color: var(--monument-gold);
    font-weight: 600;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Responsive Design */

/* Tablets (768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 2rem;
        box-shadow: 0 4px 10px var(--shadow);
        transition: var(--transition);
        gap: 0;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin-bottom: 1rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .visitor-cards,
    .injury-cards,
    .benefits-grid,
    .steps-grid,
    .challenge-items,
    .testimonials,
    .location-cards,
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Desktop Large (1024px+) */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .visitor-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .injury-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    header,
    footer,
    .btn {
        display: none;
    }
    
    body {
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}
