/* --- 1. Global Styles and Variables (Luxury Dark Theme) --- */

:root {
    --color-obsidian: #0A0A15;
    /* Base Dark Color */
    --color-primary: #151525;
    /* Dark Card/Section Background */
    --color-gold: #C9A44B;
    /* Primary Accent (Muted Gold) */
    --color-accent: #E84A5F;
    /* Secondary Pop Accent (Deep Pink) */
    --color-text-light: #F0F0F0;
    --color-text-fade: #A0A0A0;

    --font-title: 'Playfair Display', serif;
    /* Elegant Title */
    --font-body: 'Roboto', sans-serif;
    /* Clean Body Text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-obsidian);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

/* --- 2. Header and Navigation (Sleek Fixed Nav) --- */

.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 100;
    background: rgba(10, 10, 21, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.header__logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-gold);
    letter-spacing: 3px;
}

.header__nav {
    display: flex;
}

.nav__link {
    margin-left: 35px;
    font-size: 0.9rem;
    color: var(--color-text-fade);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    letter-spacing: 1px;
}

.nav__link:hover,
.nav__link--active {
    color: var(--color-text-light);
}

/* Elegant Underline */
.nav__link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav__link:hover::after,
.nav__link--active::after {
    width: 100%;
}

/* --- 3. Hero Section (Cinematic Look) --- */

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: brightness(0.8);
    /* GSAP will animate scale */
}

.hero__content {
    z-index: 3;
    text-align: center;
    padding: 30px 50px;
    /* Subtle Glass Effect */
    background: rgba(10, 10, 21, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__title {
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 20px;
    line-height: 1.1;
    overflow: hidden;
    /* For line-by-line animation */
}

.title-line {
    display: block;
}

.hero__tagline {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-text-fade);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background: var(--color-accent);
    color: var(--color-text-light);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 0 20px rgba(232, 74, 95, 0.3);
}

.cta-button:hover {
    background: var(--color-gold);
    color: var(--color-obsidian);
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(201, 164, 75, 0.5);
}

.cta-button i {
    margin-right: 10px;
}

/* --- 4. General Sections --- */

.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section__header {
    font-family: var(--font-title);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 70px;
    color: var(--color-gold);
    text-transform: uppercase;
    position: relative;
}

.section__header::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--color-accent);
    margin: 10px auto 0;
}

/* Featured Music Card (Split Layout) */
.featured-card {
    display: flex;
    background: var(--color-primary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.featured-card__cover {
    flex: 1;
    min-width: 45%;
}

.featured-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-card__details {
    flex: 1.5;
    padding: 50px;
}

.detail__type {
    color: var(--color-accent);
    font-size: 1rem;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    font-weight: 700;
}

.detail__title {
    font-family: var(--font-title);
    font-size: 3rem;
    margin-bottom: 20px;
}

.detail__description {
    color: var(--color-text-fade);
    margin-bottom: 40px;
}

.detail__link {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gold);
}

.detail__link:hover {
    color: var(--color-accent);
}

/* Events Section */
.event-list {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.event-item {
    background: var(--color-primary);
    padding: 30px;
    border-left: 4px solid var(--color-accent);
    flex: 1;
    min-width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 5px;
}

.event-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.event__date {
    font-size: 0.9rem;
    color: var(--color-gold);
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.event__name {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 5px;
}

.cta-button--transparent {
    background: none;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    box-shadow: none;
    border-radius: 50px;
}

.cta-button--transparent:hover {
    background: var(--color-gold);
    color: var(--color-obsidian);
    transform: translateY(-3px);
}

/* --- 5. Footer and Powered By --- */

.footer {
    padding: 30px 5%;
    background: var(--color-primary);
    text-align: center;
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer__social a {
    font-size: 1.5rem;
    margin: 0 15px;
    color: var(--color-text-fade);
}

.footer__social a:hover {
    color: var(--color-gold);
}

.footer__copy,
.footer__powered-by {
    margin-top: 15px;
    font-size: 0.85rem;
    color: rgba(240, 240, 240, 0.5);
}

.footer__powered-by a {
    color: var(--color-gold);
    font-weight: 700;
}

/* --- 6. Music Page Specific Styles (Professional Track Listing) --- */

.section--music-catalogue {
    min-height: 80vh;
}

.catalogue-intro {
    text-align: center;
    color: var(--color-text-fade);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.track-list-container {
    background: var(--color-primary);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.track-item {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s;
    cursor: pointer;
}

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background-color: rgba(201, 164, 75, 0.08);
    /* Subtle gold hover */
}

.track__number {
    font-size: 1.3rem;
    color: var(--color-accent);
    width: 60px;
    font-weight: 700;
}

.track__title-group {
    flex-grow: 1;
}

.track__title {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-light);
}

.track__meta {
    font-size: 0.9rem;
    color: var(--color-text-fade);
}

.track__duration {
    margin-right: 30px;
    color: var(--color-text-fade);
}

.track__play-btn {
    background: none;
    border: none;
    color: var(--color-gold);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.track__play-btn:hover {
    color: var(--color-accent);
    transform: scale(1.2);
}

/* --- 7. Persistent Player (Floating Footer) --- */

#persistent-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #000000;
    z-index: 1000;
    transform: translateY(100%);
    /* Hidden initially */
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease-out;
}

#persistent-player.is-playing {
    transform: translateY(0);
}

.player-content {
    display: flex;
    align-items: center;
    max-width: 1300px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.player-cover {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    margin-right: 20px;
    border-radius: 3px;
    background-size: cover;
    background-position: center;
}

.player-info {
    margin-right: 50px;
}

.player__current-track {
    font-weight: 700;
    color: var(--color-gold);
    font-size: 1rem;
}

.player__artist-name {
    font-size: 0.8rem;
    color: var(--color-text-fade);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control__btn {
    background: none;
    border: none;
    color: var(--color-text-light);
    cursor: pointer;
    transition: color 0.3s;
}

.control__btn:hover {
    color: var(--color-accent);
}

.control__btn--play {
    font-size: 1.8rem;
    color: var(--color-gold);
}

.control__btn--play:hover {
    color: var(--color-accent);
}

/* Visualizer (Animated element) */
.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    width: 100px;
    margin-left: auto;
    /* Pushes player elements left */
    opacity: 0.7;
}

.visualizer .bar {
    width: 4px;
    height: 1px;
    background: var(--color-gold);
    border-radius: 2px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 900px) {
    .header__nav {
        display: none;
    }

    .header {
        justify-content: center;
    }

    .hero__title {
        font-size: 3rem;
    }

    .featured-card {
        flex-direction: column;
    }

    .featured-card__details {
        padding: 30px;
    }

    .visualizer {
        display: none;
    }

    .player-info {
        margin-right: 20px;
    }
}