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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #eee;
    background-color: #1a1a1a;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('images/tragedi_1998_5.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: #e53e3e; /* Merah gelap */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    background: #c53030; /* Merah lebih gelap */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 62, 62, 0.4);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #e53e3e;
    color: #e53e3e;
}

.cta-button.secondary:hover {
    background: #e53e3e;
    color: white;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

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

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

/* Sections */
.section {
    padding: 80px 0;
}

.dark-section {
    background: #1a1a1a;
    color: white;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #e53e3e; /* Merah gelap */
}

.dark-section .section-title {
    color: #fff;
}

/* Pendahuluan Section */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #e53e3e; /* Merah gelap */
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.section-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.section-image:hover {
    filter: grayscale(0%);
}

/* Tragedi 1998 Section */
.subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e53e3e; /* Merah gelap */
}

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

.cause-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.cause-item:hover {
    transform: translateY(-5px);
}

.cause-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cause-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e53e3e; /* Merah gelap */
}

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

.impact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(229, 62, 62, 0.15); /* Merah gelap transparan */
    border-radius: 10px;
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1.1rem;
    font-weight: 500;
}

.tragedy-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.tragedy-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.tragedy-image:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e53e3e; /* Merah gelap */
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #e53e3e; /* Merah gelap */
    border-radius: 50%;
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-content li {
    margin-bottom: 0.5rem;
}

.timeline-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 1rem;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.timeline-image:hover {
    filter: grayscale(0%);
}

/* Insiden Terkini Section */
.incident-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.incident-details h3 {
    font-size: 2rem;
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 1rem;
}

.incident-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.incident-facts, .incident-response {
    margin-bottom: 2rem;
}

.incident-facts h4, .incident-response h4 {
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.incident-facts ul, .incident-response ul {
    margin-left: 1.5rem;
}

.incident-facts li, .incident-response li {
    margin-bottom: 0.5rem;
}

.incident-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.incident-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.incident-image:hover {
    filter: grayscale(0%);
}

/* Refleksi Section */
.reflection-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.statistics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #333; /* Abu-abu gelap */
    border-radius: 10px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
}

.action-list {
    margin: 1.5rem 0;
    margin-left: 1.5rem;
}

.action-list li {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.cta-section {
    background: #333; /* Abu-abu gelap */
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

.cta-section h3 {
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 1rem;
}

.reflection-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reflection-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.reflection-image:hover {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background: #0d0d0d;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #e53e3e; /* Merah gelap */
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-grid,
    .incident-content,
    .reflection-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    .nav-link {
        margin: 5px 10px;
        font-size: 0.9rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
    }
    
    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
    
    .cause-grid,
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .statistics {
        grid-template-columns: 1fr;
    }
    
    .tragedy-images {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}
