/* =========================================
   1. RESET AND VARIABLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff3366; /* Neon punchy music vibe */
    --primary-hover: #e02855;
    --dark-bg: #0b0b0d;
    --card-bg: #141418;
    --light-bg: #1e1e24;
    --text-white: #ffffff;
    --text-muted: #a0a0aa;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --transition-standard: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

/* Utilities */
.section-tag {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-standard);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
}

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

.btn-outline:hover {
    background: var(--text-white);
    color: var(--dark-bg);
}


/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-standard);
}

.header-scrolled {
    background: rgba(11, 11, 13, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.header-flex {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px;
    transition: all 0.3s ease;
}


/* =========================================
   3. HERO SECTION
   ========================================= */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1533174072545-7a4b6ad7a6c3?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
}

.hero-bg-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(11,11,13,0.6), rgba(11,11,13,0.95));
}

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

.hero .subtitle {
    color: var(--primary-color);
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}


/* =========================================
   4. ABOUT SECTION
   ========================================= */
.about {
    background-color: var(--dark-bg);
}

.about-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.about-img img {
    transition: transform 0.5s ease;
}

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

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-box h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-box p {
    font-size: 0.85rem;
    margin-bottom: 0;
}


/* =========================================
   5. MUSIC SECTION (AUDIO PLAYER)
   ========================================= */
.music {
    background-color: var(--card-bg);
}

.music-player-container {
    background-color: var(--dark-bg);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.active-track-display {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}

.active-track-display img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 15px;
}

.active-track-info {
    flex: 1;
}

.active-track-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.active-track-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Custom Waveform */
.waveform {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.waveform .bar {
    width: 4px;
    background-color: var(--primary-color);
    height: 20%;
    border-radius: 2px;
}

.waveform.playing .bar {
    animation: wave 1s infinite alternate;
}

.waveform.playing .bar:nth-child(1) { animation-delay: 0.1s; }
.waveform.playing .bar:nth-child(2) { animation-delay: 0.3s; height: 60%; }
.waveform.playing .bar:nth-child(3) { animation-delay: 0.6s; height: 100%; }
.waveform.playing .bar:nth-child(4) { animation-delay: 0.2s; height: 80%; }
.waveform.playing .bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes wave {
    0% { height: 10%; }
    100% { height: 100%; }
}

/* Audio Bars Controls */
.custom-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--light-bg);
    padding: 15px 25px;
    border-radius: 30px;
    width: 100%;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
}

.control-btn:hover {
    color: var(--primary-color);
}

#seek-slider {
    flex: 1;
    accent-color: var(--primary-color);
    cursor: pointer;
}

#current-time, #duration-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Playlist UI */
.playlist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition-standard);
}

.playlist-item:hover, .playlist-item.active {
    background: var(--light-bg);
}

.playlist-num {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 20px;
    width: 25px;
}

.playlist-info {
    flex: 1;
}

.playlist-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.playlist-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.track-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 25px;
}

.play-icon {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition-standard);
}

.playlist-item:hover .play-icon, .playlist-item.active .play-icon {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================
   6. GALLERY SECTION
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

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

.img-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 51, 102, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--text-white);
    transition: var(--transition-standard);
}

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

.gallery-item:hover .img-overlay {
    opacity: 1;
}


/* =========================================
   7. CONTACT SECTION & FOOTER
   ========================================= */
.contact {
    background: linear-gradient(to right, var(--dark-bg), var(--card-bg));
}

.contact-details {
    list-style: none;
    margin-top: 30px;
}

.contact-details li {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
}

.contact-details i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-white);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, .form-group textarea {
    width: 100%;
    background: var(--light-bg);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 10px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border 0.3s ease;
}

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

footer {
    padding: 40px 0;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255,255,255,0.05);
}

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


/* =========================================
   8. LIGHTBOX PREVIEW
   ========================================= */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-white);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0;}
    to { transform: scale(1); opacity: 1;}
}


/* =========================================
   9. MOBILE RESPONSIVENESS
   ========================================= */
@media screen and (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-bar {
        position: fixed;
        right: 0px;
        height: 100vh;
        top: 0px;
        background-color: var(--card-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in;
        justify-content: center;
        z-index: 1000;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .burger {
        display: block;
        z-index: 1500;
    }

    .nav-active {
        transform: translateX(0%);
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .active-track-display {
        flex-direction: column;
        align-items: flex-start;
    }

    .active-track-display img {
        width: 100%;
        height: 250px;
    }

    .custom-controls {
        flex-wrap: wrap;
    }
}