/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font: 700 4rem/1.2 "Cambodian", Cambodian, monospace;
    text-align: center;
    margin: 10px;
    color: black;
}

.hero p {
    font: 400 1rem/1.4 "Cambodian", Cambodian, monospace;
    text-align: center;
    margin: 10px;
    color: #666;
    max-width: 500px;
    margin: 20px auto;
}

/* Image Grid Section */
.image-grid-section {
    padding: 2rem 0;
}

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

.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.image-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-item:hover {
    transform: scale(1.02);
}

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

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

/* Loading indicator */
.loading-indicator {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid black;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll trigger */
.scroll-trigger {
    height: 80px;
}

/* Responsive typography */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .image-grid {
        gap: 1rem;
    }
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
    body {
        background-color: black;
        color: white;
    }
    
    .hero h1 {
        color: white;
    }
    
    .hero p {
        color: #ccc;
    }
    
    .spinner {
        border-color: #374151;
        border-top-color: white;
    }
}