/* CSS Variables for easy customization */
:root {
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-border: #000000;
    --color-hover: #666666;
    --spacing-unit: 1rem;
    --nav-height: 60px;
    --max-width: 1400px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--color-text);
}

/* Main Content */
.content {
    margin-top: var(--nav-height);
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--color-border);
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.8;
}

.item-info {
    padding: 0.5rem 0;
}

.item-info h3 {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.item-info p {
    font-size: 0.9rem;
    color: var(--color-hover);
    margin-bottom: 1rem;
}

/* Audio Player Styling */
audio {
    width: 100%;
    max-width: 400px;
    margin-top: 0.5rem;
    outline: none;
}

audio::-webkit-media-controls-panel {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
}

/* Section Titles */
.section-title {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    margin-top: 6rem;
}

/* Production Section */
.production-section {
    margin-top: 6rem;
}

.production-section .gallery {
    gap: 2rem !important;
}

/* Albums Section - Custom Grid */
.albums-title {
    margin-top: 0;
    margin-bottom: 3rem;
}

.albums-section {
    margin-bottom: 2rem;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2rem !important;
}

.clickable-album {
    cursor: pointer;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-bg);
    padding: 3rem;
    border: 1px solid var(--color-border);
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: var(--color-text);
    line-height: 1;
    transition: color 0.2s ease;
    z-index: 1;
}

.modal-close:hover {
    color: var(--color-hover);
}

#modalDescription {
    line-height: 1.8;
    margin: 0;
    padding-right: 2rem;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--color-bg);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--color-hover);
}

/* About Page */
.about-section {
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    padding: 2rem 0;
}

.about-content h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.bio p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Social Media Buttons */
.social-links {
    margin-top: 3rem;
}

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

.social-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.social-button:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

.contact a {
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-text);
    transition: color 0.2s ease;
}

.contact a:hover {
    color: var(--color-hover);
    border-bottom-color: var(--color-hover);
}

/* Tablet Styles */
@media (min-width: 768px) {
    .nav-container {
        gap: 3rem;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .content {
        padding: 5rem 3rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }

    .albums-section {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem !important;
    }

    .production-section .gallery {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 2rem !important;
    }

    .content {
        padding: 6rem 4rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Navigation Adjustments */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .content {
        padding: 3rem 1rem;
    }

    .gallery {
        gap: 3rem;
    }
}

/* Print Styles */
@media print {
    .main-nav {
        position: relative;
        border-bottom: 2px solid var(--color-border);
    }

    .gallery-item {
        page-break-inside: avoid;
    }
}
