/* Global Styles */
body {
    background-color: #252323;
    color: #ffffff;
    margin: 0;
    font-family: 'Proxima Nova', sans-serif;
    line-height: 1.6;
}

@font-face {
    font-family: 'Proxima Nova';
    src: url('assets/Proxima Nova Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Edo';
    src: url('assets/Edo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1.main-title {
    font-family: 'Edo', sans-serif;
    font-weight: normal;
    /* Edo usually doesn't have weights */
    margin: 0;
    line-height: 0.9;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2,
h3 {
    font-family: 'Nunito Sans', sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    margin-top: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Typography & Utils */
.accent-text {
    color: #D6473E;
    /* Updated Red accent color */
}

/* Header Lockup */
.header-lockup {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    /* Close to each other */
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.header-art {
    height: 140px;
    /* Adjust based on title height */
    width: auto;
    object-fit: contain;
}

.title-top {
    font-size: 2.5rem;
    display: block;
    color: #fff;
    text-transform: uppercase;
    /* Edo looks best uppercase usually, but keeping as typed "Uncovering" if font handles it */
}

.title-bottom {
    font-size: 6rem;
    display: block;
    text-transform: uppercase;
}

/* Adjust sizes for mobile responsiveness */
@media (max-width: 768px) {
    .header-art {
        height: 100px;
    }

    .title-top {
        font-size: 1.8rem;
    }

    .title-bottom {
        font-size: 4.2rem;
    }
}


.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-text,
.methodology-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    padding: 0 1rem;
}

.divider {
    border: 0;
    height: 1px;
    background-color: #D6473E;
    margin: 3rem auto;
    max-width: 100px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Sticky Header */
.sticky-banner {
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Push logo left, social right */
}

.logo {
    height: 40px;
    /* Adjust based on logo aspect ratio */
    display: block;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    gap: 10px;
}

.social-share a {
    display: inline-block;
    height: 32px;
    width: 32px;
    transition: transform 0.2s ease;
}

.social-share a:hover {
    transform: scale(1.1);
}

.social-share img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    /* Rounded-square shape */
}


/* Flourish Embed */
.flourish-embed {
    margin-bottom: 3rem;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile default: 2 columns */
    gap: 15px;
    margin-top: 2rem;
}

/* Responsive Grid for Desktop */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(5, 1fr);
        /* Desktop: 5 columns */
        gap: 20px;
    }
}

/* Grid Item */
.grid-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    /* Square thumbnails */
    background-color: #1a1a1a;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover .grid-image {
    transform: scale(1.1);
}

.grid-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    padding: 10px;
    font-size: 0.85rem;
    color: #fff;
}

.grid-date-location {
    font-weight: 700;
    font-size: 0.9rem;
}

/* Overlay / Modal for expanded view */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    padding: 20px;
    box-sizing: border-box;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #222;
    /* Slightly lighter than bg */
    border: 1px solid #333;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    background: #000;
}

.modal-details {
    padding: 20px;
}

.modal-date-loc {
    color: #D6473E;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.1rem;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem 1rem 3rem;
    /* Reduced top padding */
    font-size: 0.9rem;
    color: #888;
}

.footer p {
    margin: 0.5rem 0;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    border-bottom: 1px dotted #888;
}

.footer a:hover {
    color: #fff;
    border-bottom: 1px solid #fff;
}