/* Global Reset & Body handled by main style.css effectively, but ensuring consistency */
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #ffffff;
    font-family: 'Press Start 2P', cursive;
    overflow-x: hidden;
}

/* Page Container */
#assets-page-container {
    width: 100%;
}

/* Generic Section Style for the 5 Sections */
.assets-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px 5%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: none;
}

#assets-section-1 {
    padding-top: 40px;
    justify-content: flex-start;
}

#assets-section-1 .assets-section-content {
    display: flex;
    flex-direction: column;
    min-height: 85vh;
}

#assets-section-1 .projects-grid {
    margin-top: auto;
    margin-bottom: auto;
}

/* Background Media */
.assets-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.4;
}

/* Content Wrapper */
.assets-section-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

/* 4-Column Grid */
/* Main Grid - Auto-fill for responsive squared look */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

/* Project Card "Block Out" Design */
.project-card {
    background-color: #000;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 0;
    /* Remove padding to let image fill */
    display: flex;
    flex-direction: column;
    position: relative;
    aspect-ratio: 1/1;
    /* FORCE SQUARE CARD */
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    border-color: var(--neon-cyan);
}

.project-image-placeholder,
.project-card img {
    width: 100%;
    height: 100%;
    /* Fill the square card */
    object-fit: cover;
    border-radius: 7px;
}

/* Card Title (Overlay at bottom) */
.project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    padding: 20px 10px 10px 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    box-sizing: border-box;
}

/* Responsive */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}