/* Chris Cowie - Electronic Music Artist Website */

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

:root {
    --black: #050505;
    --near-black: #0a0a0a;
    --dark-gray: #111111;
    --mid-gray: #1a1a1a;
    --light-gray: #333333;
    --silver: #888888;
    --muted: #666666;
    --off-white: #e8e8e8;
    --white: #ffffff;
    --accent: #00ff88;
    --accent-dim: #00cc6a;
    --accent-glow: rgba(0, 255, 136, 0.3);
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--black);
    color: var(--off-white);
    line-height: 1.6;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    color: var(--silver);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--off-white);
}

.logo span {
    color: var(--accent);
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--silver);
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-links a:hover {
    color: var(--off-white);
}

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

.nav-links a.active {
    color: var(--off-white);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Structure */
.page {
    min-height: 100vh;
    padding-top: 70px;
    display: none;
}

.page.active {
    display: block;
}

/* Hero / Home */
.hero {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    margin-bottom: 0.5rem;
}

.hero-text .subtitle {
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--off-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-artwork {
    width: 400px;
    height: 400px;
    background: var(--mid-gray);
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 255, 136, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-artwork::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 40%, var(--accent-glow) 100%);
    opacity: 0.5;
}

.hero-artwork-placeholder {
    font-size: 6rem;
    font-weight: 700;
    color: var(--light-gray);
    opacity: 0.3;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--off-white);
    border: 1px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Catalog Section */
.catalog-section {
    padding: 4rem 0;
    background: var(--black);
}

.catalog-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.catalog-header-text {
    margin-bottom: 1.5rem;
}

.catalog-header h2 {
    margin-bottom: 0.25rem;
}

.catalog-filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--light-gray);
    color: var(--silver);
    font-size: 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent);
    color: var(--accent);
}

/* Release Grid */
.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.release-card {
    background: var(--near-black);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.release-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.1);
}

.release-artwork {
    aspect-ratio: 1;
    background: var(--mid-gray);
    position: relative;
    overflow: hidden;
}

.release-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-artwork-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-gray);
    opacity: 0.2;
}

.release-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.release-card:hover .release-overlay {
    opacity: 1;
}

.play-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.2rem;
}

.release-info {
    padding: 1rem;
}

.release-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--off-white);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-meta {
    font-size: 0.75rem;
    color: var(--muted);
}

.release-type {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    font-size: 0.65rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Release Detail Sidebar */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    max-width: 100%;
    height: 100vh;
    background: var(--dark-gray);
    z-index: 2001;
    overflow-y: auto;
    transition: right 0.4s ease;
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--mid-gray);
    border: none;
    border-radius: 50%;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    background: var(--light-gray);
}

.sidebar-content {
    padding: 2rem;
}

.sidebar-artwork {
    width: 100%;
    aspect-ratio: 1;
    background: var(--mid-gray);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--light-gray);
    opacity: 0.2;
}

.sidebar-tag {
    padding: 1rem 0 0.5rem;
    text-align: left;
}

/* Track List */
.track-list {
    margin-bottom: 2rem;
}

.track-list h4 {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.track-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--mid-gray);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.track-item:hover {
    background: var(--light-gray);
}

.track-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.track-number {
    font-size: 0.85rem;
    color: var(--muted);
    width: 20px;
}

.track-name {
    font-size: 0.9rem;
    color: var(--off-white);
}

.track-duration {
    font-size: 0.85rem;
    color: var(--muted);
}

.track-play {
    width: 32px;
    height: 32px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: var(--black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.track-play:hover {
    transform: scale(1.1);
}

/* Purchase Section */
.purchase-section {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-section h4 {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-bandcamp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #1da0c3;
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-bandcamp:hover {
    background: #168aa8;
    transform: translateY(-2px);
}

.btn-bandcamp svg {
    width: 20px;
    height: 20px;
}

.platform-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.platform-link {
    flex: 1;
    min-width: 80px;
    padding: 0.75rem 0.5rem;
    background: var(--mid-gray);
    color: var(--silver);
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.platform-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 255, 136, 0.05);
}

/* Bandcamp Embed Widget */
.bandcamp-embed {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bandcamp-embed h4 {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.embed-container {
    background: var(--mid-gray);
    border-radius: 4px;
    overflow: hidden;
}

.embed-placeholder {
    padding: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.embed-container iframe {
    display: block;
    border-radius: 4px;
}

/* Bio Page */
.bio-section {
    padding: 4rem 0;
    min-height: calc(100vh - 70px);
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.bio-image {
    position: sticky;
    top: 100px;
}

.bio-image-container {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--mid-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 700;
    color: var(--light-gray);
    opacity: 0.2;
}

.bio-text h1 {
    margin-bottom: 1rem;
}

.bio-text .tagline {
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.bio-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.bio-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
    text-align: center;
}

.highlight-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.highlight-label {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-container h1 {
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.contact-form {
    text-align: left;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--mid-gray);
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    color: var(--off-white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-links p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--mid-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--black);
}

/* Footer */
footer {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text p {
        margin: 0 auto 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .bio-content {
        grid-template-columns: 1fr;
    }
    
    .bio-image {
        position: static;
        max-width: 300px;
        margin: 0 auto 2rem;
    }
    
    .bio-highlights {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .release-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .catalog-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .catalog-filters {
        flex-wrap: wrap;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page.active {
    animation: fadeIn 0.5s ease;
}
</style>