/* ==========================================================================
   Marley Lux Album Pages Styles
   Author: Cartez Augustus, Appdore, LLC
   ========================================================================== */

/* CSS Variables */
:root {
    --midnight-gold: #FFD700;
    --static-purple: #9D4EDD;
    --glitch-cyan: #00F5FF;
    --chrome-silver: #C0C0C0;
    --travel-amber: #FFBF00;
    --deep-black: #0a0a0a;
    --off-white: #f5f5f5;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: var(--deep-black);
    color: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--midnight-gold), var(--static-purple), var(--glitch-cyan));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(245, 245, 245, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

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

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: rgba(245, 245, 245, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--midnight-gold);
    border-left-color: var(--midnight-gold);
}

.dropdown-item.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--midnight-gold);
    border-left-color: var(--midnight-gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--midnight-gold);
}

/* ==========================================================================
   Album Hero Section
   ========================================================================== */

.album-hero {
    min-height: 100vh;
    padding: 8rem 2rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.album-details h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.album-theme {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.album-meta {
    font-size: 0.95rem;
    color: rgba(245, 245, 245, 0.6);
    margin-bottom: 2rem;
}

.album-meta span {
    margin-right: 0.5rem;
}

/* Streaming Links */
.streaming-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.streaming-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.streaming-btn i {
    font-size: 1.2rem;
}

.streaming-btn:hover {
    transform: translateY(-2px);
}

.spotify-btn:hover {
    background: #1DB954;
    border-color: #1DB954;
}

.apple-btn:hover {
    background: #FA243C;
    border-color: #FA243C;
}

/* Share Buttons */
.share-buttons {
    margin-top: 2rem;
}

.share-buttons p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.6);
    margin-bottom: 0.75rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--off-white);
    text-decoration: none;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.pinterest-btn:hover {
    background: #E60023;
}

.twitter-btn:hover {
    background: #000000;
}

.facebook-btn:hover {
    background: #1877F2;
}

/* Album-Specific Colors */
.album-1 {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.album-1 h1 {
    color: var(--midnight-gold);
}

.album-2 {
    background: linear-gradient(180deg, #16213e 0%, #1f0954 100%);
}

.album-2 h1 {
    color: var(--static-purple);
}

.album-3 {
    background: linear-gradient(180deg, #1f0954 0%, #0d1b2a 100%);
}

.album-3 h1 {
    color: var(--glitch-cyan);
}

.album-4 {
    background: linear-gradient(180deg, #0d1b2a 0%, #1b2838 100%);
}

.album-4 h1 {
    color: var(--chrome-silver);
}

.album-5 {
    background: linear-gradient(180deg, #1b2838 0%, #3d2f1f 100%);
}

.album-5 h1 {
    color: var(--travel-amber);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.album-story,
.tracklist-section,
.related-albums {
    padding: 4rem 2rem;
    background: var(--deep-black);
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-container h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.album-description-full {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(245, 245, 245, 0.85);
}

.album-highlights {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--midnight-gold);
}

.album-highlights h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.album-highlights ul {
    list-style: none;
}

.album-highlights li {
    padding: 0.5rem 0;
    color: rgba(245, 245, 245, 0.8);
}

.album-highlights li strong {
    color: var(--midnight-gold);
}

/* Tracklist */
.tracklist-full {
    list-style: none;
    counter-reset: track-counter;
}

.tracklist-full li {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.tracklist-full li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.track-number {
    font-size: 1.2rem;
    color: rgba(245, 245, 245, 0.4);
    margin-right: 1.5rem;
    font-weight: 700;
    min-width: 2rem;
}

.track-name {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.9);
}

/* Related Albums */
.related-albums {
    background: linear-gradient(180deg, var(--deep-black) 0%, #1a1a2e 100%);
}

.section-intro {
    font-size: 1.1rem;
    color: rgba(245, 245, 245, 0.7);
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.related-album-card {
    text-decoration: none;
    color: var(--off-white);
    transition: transform 0.3s ease;
}

.related-album-card:hover {
    transform: translateY(-5px);
}

.related-album-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.related-album-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.related-album-card p {
    font-size: 0.9rem;
    color: rgba(245, 245, 245, 0.6);
    font-style: italic;
}

.view-all-btn {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: var(--off-white);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(245, 245, 245, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-links i {
    font-size: 1.1rem;
}

footer p {
    color: rgba(245, 245, 245, 0.5);
    font-size: 0.9rem;
}

footer a {
    color: var(--midnight-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: var(--static-purple);
}

.contact-link {
    cursor: pointer;
}

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

@media (max-width: 768px) {
    /* Mobile Navigation */
    .navbar {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        width: 100%;
        text-align: left;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.75rem 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border: none;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.03);
        margin-top: 0.5rem;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Mobile Album Hero */
    .album-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .album-hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .album-details h1 {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .album-theme {
        font-size: 1.2rem;
    }
    
    .streaming-btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
    
    /* Mobile Footer */
    .footer-links {
        gap: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    /* Mobile Album Grid */
    .related-grid {
        grid-template-columns: 1fr;
    }
}