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

:root {
    /* Modern Color Palette - Dark Prominent */
    --color-charcoal: #1C1E22;
    --color-slate-blue: #2E4057;
    --color-light-gray: #EDEDED;
    --color-teal: #3FA9A6;
    --color-cool-gray: #9CA3AF;
    
    /* Dark Theme - Derived Colors */
    --color-bg-primary: #1C1E22;        /* Dark charcoal background */
    --color-bg-secondary: #2E4057;      /* Slate blue sections */
    --color-bg-card: #252729;           /* Slightly lighter than charcoal */
    --color-text-primary: #EDEDED;      /* Light text on dark */
    --color-text-secondary: #9CA3AF;    /* Cool gray for secondary text */
    --color-text-light: #6B7280;        /* Dimmer text */
    --color-border: #3A3D42;            /* Subtle borders */
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-loader: 9999;
    --z-nav: 1000;
    --z-overlay: 100;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   Loading Screen
   =================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-loader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: var(--color-light-gray);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-teal);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(28, 30, 34, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: var(--z-nav);
    transition: background 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    background: rgba(28, 30, 34, 1);
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-light-gray);
    transition: color var(--transition-normal);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    outline: none;
}

.nav-link:focus {
    outline: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-charcoal);
    transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
    width: 100%;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(230, 213, 232, 0.4), transparent 60%),
        radial-gradient(ellipse at bottom, rgba(255, 228, 225, 0.3), transparent 60%),
        radial-gradient(circle at center, rgba(212, 165, 165, 0.2), transparent 70%);
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.hero-firstname,
.hero-lastname {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 3px;
}

.hero-firstname {
    color: var(--color-light-gray);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-lastname {
    color: var(--color-light-gray);
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--color-text-secondary);
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: transparent;
    border: 2px solid var(--color-light-gray);
    color: var(--color-light-gray);
}

.btn-primary:hover {
    background: var(--color-light-gray);
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(237, 237, 237, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-light-gray);
    color: var(--color-light-gray);
}

.btn-secondary:hover {
    background: var(--color-light-gray);
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(237, 237, 237, 0.3);
}

.btn-tertiary {
    background: transparent;
    border: 2px solid var(--color-light-gray);
    color: var(--color-light-gray);
}

.btn-tertiary:hover {
    background: var(--color-light-gray);
    color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(237, 237, 237, 0.3);
}


/* ===================================
   Container & Sections
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-divider {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
    margin: 0 auto;
    opacity: 0.6;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-light-gray);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 300;
    opacity: 0.85;
}

/* ===================================
   About Section
   =================================== */
.about {
    background: linear-gradient(180deg, rgba(28,30,34,1) 0%, rgba(35,45,60,0.4) 50%, rgba(28,30,34,1) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-intro,
.about-journey {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===================================
   Listen/Discography Section
   =================================== */
.listen {
    background: linear-gradient(180deg, rgba(28,30,34,1) 0%, rgba(35,45,60,0.4) 50%, rgba(28,30,34,1) 100%);
}

.discography-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 3rem;
}

.discography-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.discography-group {
    text-align: center;
    margin-bottom: 2rem;
}

.group-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-light-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.group-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ===================================
   Ultra-Compact Audio Player
   =================================== */
.audio-player {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0.75rem 0;
    transition: all var(--transition-normal);
    position: relative;
    overflow: visible;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 60px;
}

.audio-player:hover {
    border: none;
    box-shadow: none;
    transform: none;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
    margin: 0;
}

.track-title {
    font-size: 0.95rem;
    color: var(--color-text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.play-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--color-cool-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    position: relative;
    order: -1;
    flex-shrink: 0;
}

.play-btn:hover {
    background: var(--color-light-gray);
    transform: scale(1.05);
}

.play-btn.playing {
    background: var(--color-light-gray);
}

.play-btn svg {
    fill: white;
    transition: all var(--transition-fast);
    width: 16px;
    height: 16px;
}

.play-btn .pause-icon {
    display: none;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.player-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

/* Horizontal Waveform Layout */
.progress-container {
    position: relative;
    cursor: pointer;
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0;
}

.progress-bar {
    width: 100%;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5px;
    padding: 0;
}

/* Waveform Bars - Horizontal Layout */
.waveform-bar {
    flex: 1;
    background: rgba(156, 163, 175, 0.3);
    border-radius: 1.5px;
    transition: all 0.15s ease;
    min-width: 2px;
    max-width: 3px;
}

.waveform-bar.active {
    background: var(--color-light-gray);
}

.audio-player:hover .waveform-bar {
    background: rgba(156, 163, 175, 0.5);
}

.audio-player:hover .waveform-bar.active {
    background: var(--color-light-gray);
}

.progress-fill {
    display: none;
}

.time-display {
    display: flex;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    justify-content: flex-end;
}

.time-display .current-time {
    color: var(--color-text-secondary);
}

.audio-element {
    display: none;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: linear-gradient(180deg, rgba(28,30,34,1) 0%, rgba(35,45,60,0.4) 50%, rgba(28,30,34,1) 100%);
}

.gallery-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.gallery-item {
    max-width: 900px;
    width: 100%;
}



.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: linear-gradient(180deg, rgba(28,30,34,1) 0%, rgba(35,45,60,0.4) 50%, rgba(28,30,34,1) 100%);
}

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

.contact-tagline {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.contact-icon {
    color: var(--color-light-gray);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-info-text {
    flex: 1;
}

.contact-info-text h3 {
    font-size: 1.1rem;
    color: var(--color-light-gray);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info-text a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: 1rem;
}

.contact-info-text a:hover {
    color: var(--color-light-gray);
}

.contact-info-text p {
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 1rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: rgba(28, 30, 34, 0.98);
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: var(--color-teal);
}

/* ===================================
   Animations
   =================================== */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .discography-grid {
        gap: 3rem;
    }
    
    .gallery-video {
        grid-column: span 1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .discography-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-video {
        grid-column: span 1;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-firstname,
    .hero-lastname {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .about-intro,
    .about-journey {
        font-size: 1rem;
    }
    
    .audio-player {
        padding: 1rem;
    }
    
    .track-title {
        font-size: 1rem;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
    }
    
    .contact-email {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Smooth scrolling for all links */
a[href^="#"] {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
*:focus {
    outline: none;
}

button:focus,
a:focus {
    outline: none;
}

/* For keyboard navigation accessibility, add a subtle glow instead of box */
a:focus-visible {
    text-shadow: 0 0 8px rgba(212, 165, 165, 0.8);
}

button:focus-visible {
    box-shadow: 0 0 0 2px rgba(212, 165, 165, 0.5);
}

/* Selection styling */
::selection {
    background: var(--color-teal);
    color: white;
}

::-moz-selection {
    background: var(--color-teal);
    color: white;
}