/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-left {
    flex: 1;
}

.archive-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 0;
    color: #ffffff;
}


.filter-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #888888;
    transition: color 0.3s ease;
    cursor: pointer;
}

.filter-link:hover,
.filter-link.active {
    color: #ffffff;
}

.header-center {
    flex: 1;
    text-align: center;
}

.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.1;
}

.header-right {
    flex: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.info-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #cccccc;
}

.lang-toggle {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.5rem 1rem;
    margin-right: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-toggle:active {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
    margin-top: 200px;
    padding: 0 3rem 3rem;
}

/* Filter Navigation in Main Content */
.main-content .filter-nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 0 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    grid-auto-rows: minmax(200px, auto);
}

/* Project Card Styles */
.project-card {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-color: #000000;
    opacity: 1;
    transform: scale(1);
    display: flex;
    flex-direction: column;
    grid-column: span 1;
    grid-row: span 1;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Removed large-horizontal since no horizontal videos */
/* Large card styles removed - all cards are now 1x1 */

/* Project Info - Now positioned above the thumbnail */
.project-info {
    position: relative;
    z-index: 2;
    pointer-events: none;
    background: #000000;
    padding: 0.8rem 0 0.8rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.project-number {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #ffffff;
    display: inline;
    margin-right: 1rem;
}

.project-title {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.4;
    display: inline;
    word-spacing: 0.1em;
}

.project-type {
    display: none; /* Hide the "MUSIC VIDEO" text as it's not in the reference */
}

/* Project Thumbnail */
.project-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #000000;
}

.project-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease, opacity 0.3s ease;
    display: block;
}

/* Hover Effects */
.project-card:hover {
    transform: translateY(-5px);
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
    opacity: 0.8;
}

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

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    background-color: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 2001;
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #cccccc;
    background-color: rgba(0, 0, 0, 0.8);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* About Page Styles */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #ffffff;
}

.about-section p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.contact-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #ffffff;
}

/* Hero Image Section */
.hero-image-section {
    grid-column: 1 / -1;
    margin-top: 3rem;
    text-align: center;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem 2rem;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .header-left,
    .header-center,
    .header-right {
        flex: none;
        text-align: center;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-content {
        margin-top: 200px;
        padding: 0 2rem 2rem;
    }
    
    .main-content .filter-nav {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 2rem;
    }
}
