/* Studio 203 - Main Stylesheet */
/* css/main.css */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

/* Citizen OT Bold fallback */
@font-face {
    font-family: 'CitizenOT';
    src: local('Helvetica Neue Bold'), local('Arial Black');
    font-weight: 700;
}

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

:root {
    --gray-1: #f5f5f5;
    --gray-2: #e8e8e8;
    --gray-3: #d0d0d0;
    --gray-4: #b8b8b8;
    --gray-5: #808080;
    --gray-6: #666666;
    --gray-7: #4a4a4a;
    --gray-8: #333333;
    --gray-9: #1a1a1a;
    --accent: #F7931E;
    --accent-hover: #FF6B35;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-1);
    color: var(--gray-8);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, .section-title, .hero-title {
    font-family: 'CitizenOT', 'Helvetica Neue', Arial Black, sans-serif;
    font-weight: 700;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245,245,245,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-svg {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gray-9);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section (Homepage) */
.hero {
    margin-top: 73px;
    height: calc(100vh - 73px);
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-8) 0%, var(--gray-9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-family: 'CitizenOT', 'Helvetica Neue', Arial Black, sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.hero-studio {
    display: block;
    color: white;
}

.hero-203 {
    display: block;
    color: white;
    position: relative;
}

.hero-203::after {
    content: '';
    position: absolute;
    bottom: 35%;
    left: 0;
    width: 60px;
    height: 6px;
    background: var(--accent);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.8);
}

/* Geometric shapes */
.geometric-1 {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
    opacity: 0.2;
}

.geometric-2 {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 50px solid var(--accent);
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'CitizenOT', 'Helvetica Neue', Arial Black, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--gray-8);
    margin-right: 2rem;
}

.section-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) 100px, var(--gray-3) 100px);
}

/* Artists Section (Homepage) */
.artists-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.artist-card {
    background: white;
    border: 1px solid var(--gray-3);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.artist-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gray-5);
    position: relative;
}

.artist-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-3);
    background: linear-gradient(45deg, var(--gray-6) 25%, var(--gray-7) 25%, var(--gray-7) 50%, var(--gray-6) 50%, var(--gray-6) 75%, var(--gray-7) 75%, var(--gray-7));
    background-size: 20px 20px;
    transition: transform 0.5s;
}

.artist-card:hover .artist-placeholder {
    transform: scale(1.1);
}

.artist-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
    z-index: 1;
}

.artist-info {
    padding: 1.5rem;
}

.artist-name {
    font-family: 'CitizenOT', 'Helvetica Neue', Arial Black, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.artist-bio {
    color: var(--gray-6);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Artist Header (Artist Pages) */
.artist-header {
    margin-top: 73px;
    padding: 4rem 2rem;
    background: white;
    border-bottom: 1px solid var(--gray-3);
}

.artist-header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.artist-header .artist-info {
    position: sticky;
    top: 100px;
    padding: 0;
}

.artist-header .artist-number {
    display: inline-flex;
    width: 50px;
    height: 50px;
    position: static;
    margin-bottom: 1rem;
}

.artist-header .artist-name {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.artist-header .artist-bio {
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.artist-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.artist-links a {
    color: var(--gray-7);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.artist-links a:hover {
    color: var(--accent);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-6);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--gray-8);
}

.back-link::before {
    content: '←';
    font-size: 1.2rem;
}

/* Gallery Grid (Artist Pages) */
.gallery-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    background: var(--gray-3);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-title {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.gallery-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* News Section */
.news-section {
    background: var(--gray-2);
    padding: 6rem 2rem;
    position: relative;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--accent);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateX(10px);
}

.news-date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.news-title {
    font-family: 'CitizenOT', 'Helvetica Neue', Arial Black, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gray-8);
}

.news-excerpt {
    color: var(--gray-6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-link {
    color: var(--gray-8);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s;
}

.news-link:hover {
    color: var(--accent);
}

.news-link::after {
    content: ' →';
}

/* Studio Info Section */
.studio-info {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.studio-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.studio-text h2 {
    font-family: 'CitizenOT', 'Helvetica Neue', Arial Black, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.studio-text p {
    color: var(--gray-6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.studio-visual {
    height: 400px;
    background: linear-gradient(45deg, var(--gray-5) 25%, var(--gray-6) 25%, var(--gray-6) 50%, var(--gray-5) 50%, var(--gray-5) 75%, var(--gray-6) 75%, var(--gray-6));
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.studio-visual::before {
    content: 'DARKROOM';
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-3);
    letter-spacing: 0.2em;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-image {
    max-width: 100%;
    max-height: 85vh;
    display: block;
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 1rem;
    padding: 0 2rem;
}

.lightbox-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.lightbox-meta {
    color: var(--gray-4);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 2001;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* Footer */
footer {
    background: var(--gray-9);
    color: white;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 2rem;
    color: var(--gray-4);
    line-height: 1.8;
}

.footer-social {
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--gray-4);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-copyright {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-7);
    color: var(--gray-5);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .logo-svg {
        height: 55px;
    }
    
    .hero-203::after {
        width: 40px;
        height: 4px;
    }
    
    .artist-header-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .artist-header .artist-info {
        position: static;
    }
    
    .studio-content {
        grid-template-columns: 1fr;
    }
    
    .artists-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .artist-header .artist-name {
        font-size: 2rem;
    }
}