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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.4;
    color: #000;
    background-color: #e6e0d1;
    padding: 40px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Image */
.header-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header Text Overlay */
.header-text {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* Header Section */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    flex: 1;
}

.narrative {
    max-width: 800px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.6;
}

.narrative p {
    margin-bottom: 1rem;
}

.narrative p:last-child {
    margin-bottom: 0;
}

/* Credits Section */
.credits {
    display: flex;
    gap: 30px;
    border-top: 1px solid #ddd;
    padding-top: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.credits-left,
.credits-center,
.credits-right {
    flex: 1;
}

.credit-group {
    margin-bottom: 20px;
}

.credit-group:last-child {
    margin-bottom: 0;
}

.credit-group h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.credit-group p {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 2px;
    line-height: 1.3;
}

.credit-group p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px;
    }
    
    .header-image {
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .header {
        flex-direction: column;
        gap: 30px;
    }
    
    .narrative {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .credits {
        flex-direction: column;
        gap: 40px;
    }
    
    .credits-left,
    .credits-center,
    .credits-right {
        width: 100%;
    }
    
    .narrative {
        font-size: 1rem;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .narrative {
        padding: 0 15px;
        font-size: 1rem;
    }
    
    .narrative {
        font-size: 0.95rem;
    }
    
    .credit-group h3 {
        font-size: 0.9rem;
    }
    
    .credit-group p {
        font-size: 0.9rem;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.close {
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 35px;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    box-sizing: border-box;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Make grid images clickable */
.grid-image {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Footer */
.footer {
    background-color: #d4c8b8;
    border-top: 1px solid #c0b4a4;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.copyright {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
}

.contact {
    font-size: 0.9rem;
    color: #666;
}

.contact a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #000;
    text-decoration: underline;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.grid-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
