/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: white;
    background-color: black;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: white;
}

.hero-title {
    font-family: 'Instrument Serif', serif;
    color: #FFD700;
}

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

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

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
}

/* Header and Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid #333;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h2 {
    color: white;
    font-family: 'Instrument Serif', serif;
    color: #FFD700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: black;
    color: white;
}

.hero-background {
    display: none;
}

.hero-image {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    justify-content: center;
    flex: 1;
}

.hero-title {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: white;
}

.hero-date {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: white;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: white;
    color: black;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

/* History Section */
.history {
    background: black;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.history-card {
    background: transparent;
    padding: 2.5rem;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

.history-card:hover {
    border-color: white;
}

.history-card.full-width {
    grid-column: 1 / -1;
    background: transparent;
    color: white;
    border: 1px solid white;
}

.history-card.full-width p {
    color: white;
}

.card-icon {
    display: none;
}

.icon {
    width: 30px;
    height: 30px;
}

.history-card h3 {
    color: white;
    margin-bottom: 1rem;
}

.history-card.full-width h3 {
    color: white;
}

/* Timeline Section */
.timeline-section {
    background: black;
    color: white;
}

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

.timeline-section .section-subtitle {
    color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: white;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    z-index: 2;
}

.marker-icon {
    display: none;
}

.timeline-content {
    width: 45%;
    padding: 2rem;
    background: transparent;
    border: 1px solid #333;
}

.timeline-date {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.timeline-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: white;
}

/* Commemoration Section */
.commemoration {
    background: black;
}

.commemoration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.commemoration-card {
    background: transparent;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #333;
    transition: border-color 0.3s ease;
}

.commemoration-card:hover {
    border-color: white;
}

.commemoration-card h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.commemoration-quote {
    background: transparent;
    color: white;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid white;
}

.commemoration-quote blockquote {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    color: white;
}

.commemoration-quote cite {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
}

/* Footer */
.footer {
    background: black;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #FFD700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        height: 80vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .history-grid {
        grid-template-columns: 1fr;
    }
    
    .commemoration-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 1rem 15px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .history-card,
    .commemoration-card {
        padding: 1.5rem;
    }
    
    .commemoration-quote {
        padding: 2rem;
    }
    
    .commemoration-quote blockquote {
        font-size: 1.1rem;
    }
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add animation to cards when they come into view */
.history-card,
.commemoration-card,
.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for accessibility */
.nav-link:focus,
.hero-cta:focus,
.footer-link:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}
