/*
 * Copyright (c) 2026 Zahara Ali
 * All rights reserved.
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000;
    --secondary-color: #f5f5f5;
    --accent-color: #ff006e;
    --text-color: #333;
    --light-gray: #e0e0e0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

/* Artist Modal */

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 0.7;
}

/* Home Hero */
.home-hero {
    background: #000;
    color: white;
    min-height: 100vh;
    padding: 0;
}

.home-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.home-hero-logo {
    width: min(60vw, 320px);
    height: auto;
    object-fit: contain;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 1px solid var(--light-gray);
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 0;
    font-weight: 700;
}

/* Tabs Section */
.tabs-section {
    background-color: #fff;
    border-bottom: 2px solid var(--light-gray);
    padding: 1rem 0;
    sticky: top 50px;
}

.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--light-gray);
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--text-color);
}

.tab-button.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Artists Grid */
.roster {
    padding: 3rem 0;
    min-height: 60vh;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.5s ease-in;
}

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

.artist-card {
    background: white;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.artist-image-container {
    width: 100%;
    height: 250px;
    background-color: var(--secondary-color);
    overflow: hidden;
    position: relative;
}

.artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artist-image.fit-contain {
    object-fit: contain;
    background-color: var(--secondary-color);
}

.artist-card:hover .artist-image {
    transform: scale(1.05);
}

.artist-info {
    padding: 1.5rem;
    text-align: center;
}

.artist-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.artist-genre {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.artist-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.artist-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

footer .container {
    display: block;
}

footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .home-hero-content {
        min-height: 100vh;
    }

    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    footer p {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .artists-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .artist-image-container {
        height: 150px;
    }

    .artist-name {
        font-size: 1rem;
    }
}
