/* --- GLOBAL RESET & THEME --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #0a0a0a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #ffffff; overflow-x: hidden; }

/* --- THE HERO COVER --- */
.hero-cover {
    width: 100vw; height: 100vh; position: relative; display: flex; 
    align-items: center; justify-content: center; background-color: #050505; 
    overflow: hidden; opacity: 1; transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-cover .intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: none; /* Remove the GIF */
    background-color: #000000; /* Keep it black */
    filter: none; /* Remove the dark/grayscale filter */
}
.absolute-center {
    position: relative;
    z-index: 2;
    padding-top: 100px; /* Adjust this number to increase or decrease the top space */
}

.intro-logo {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* --- GRID & CARDS --- */
header { max-width: 1400px; margin: 0 auto; padding: 80px 40px 20px 40px; }
header h1 { font-size: 1.5rem; font-weight: 500; letter-spacing: 4px; }
header p { font-size: 0.85rem; color: #555555; text-transform: uppercase; letter-spacing: 2px; }

.gallery { 
    max-width: 1400px; margin: 0 auto; padding: 40px 40px 120px 40px; 
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 80px 60px; 
}
.project-card { 
    text-decoration: none; color: inherit; display: flex; flex-direction: column; 
    opacity: 1; transition: opacity 0.8s; position: relative; 
}
.project-card img, .project-card iframe { 
    width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; 
}
.project-info { padding-top: 20px; display: flex; justify-content: space-between; }
.project-info h3 { font-size: 1.1rem; letter-spacing: 1.5px; }
.project-info p { color: #666; font-size: 0.8rem; text-transform: uppercase; }

/* --- REVEAL LOGIC (Standardized) --- */
.detail-img { 
    width: 100%; 
    border-radius: 2px; 
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1s ease;
}
.js-hidden-media { 
    opacity: 0; 
    transform: translateY(30px) scale(0.98); 
}

/* --- MUSEUM & PROJECT PAGE STYLES --- */
.project-header { max-width: 1000px; margin: 0 auto; padding: 60px 40px; }
.back-link { color: #888; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; }
.project-detail { 
    max-width: 1000px; 
    margin: 0 auto; 
    padding: 0 40px 120px; 
    display: flex; 
    flex-direction: column; 
    gap: 60px; 
}

.project-narrative {
    padding: 80px 40px;
    background-color: #0a0a0a; /* Matches your footer */
    color: #fff;
    display: flex;
    justify-content: center;
}

.narrative-content {
    max-width: 800px; /* Limits the width for better readability */
    text-align: left;
}

.narrative-content h3 {
    font-size: 1.2rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.narrative-highlight {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.4;
}

.narrative-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #ccc;
}

/* This class forces the image to stay visible */
.no-animate {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    transition: none !important;
}

/* --- FOOTER --- */
.contact-footer {
    padding: 100px 40px;
    background: #0a0a0a;
    color: #ffffff;
    text-align: center;
}
.footer-logo img {
    width: 350px; /* Adjust this number to make it as big as you want */
    height: auto;
    display: block;
    margin: 0 auto 20px;
}
.footer-content h2 { 
    font-size: 1.5rem; 
    letter-spacing: 0.5rem; 
    font-weight: 300; 
    margin-bottom: 0.5rem; 
}
.footer-content > p { 
    font-size: 2.5em; 
    letter-spacing: 0.2rem; 
    color: #666; 
    text-transform: uppercase; 
    margin-bottom: 40px;
}
.address-list { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    margin-bottom: 40px; 
}
.address-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    margin-top: 60px; /* Add this to push it down away from the logo */
}
.contact-links a { 
    display: block; color: #fff; text-decoration: none; border-bottom: 1px solid #333; 
    display: inline-block; padding-bottom: 5px; margin-bottom: 40px;
}
.social-icons { display: flex; justify-content: center; gap: 5px; margin-bottom: 40px; }
.social-icons img { 
    width: 60x; height: 60px; filter: invert(1); opacity: 0.6; transition: 0.3s; 
}
.social-icons img:hover { opacity: 1; }
.copyright { font-size: 0.6rem !important; color: #444 !important; }

/* --- MOBILE --- */
@media (max-width: 850px) {
    .gallery { grid-template-columns: 1fr; padding: 20px; gap: 40px; }
    .hero-cover { height: 60vh; }
}
@media (min-width: 851px) {
    .hero-cover {
        display: none !important;
    }
}