/* ========================================
   JACKSON CREED - Official Website
   Dark, Bold, Country Aesthetic
   ======================================== */

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark-alt: #1a1a1a;
    --gold: #c9a96e;
    --gold-light: #e4c990;
    --red: #8b2020;
    --red-light: #c0392b;
    --cream: #f5f0e8;
    --white: #ffffff;
    --gray: #888888;
    --gray-dark: #333333;
    --font-display: 'Oswald', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: 3px;
    transition: color 0.3s;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

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

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

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

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

/* ===== HERO SECTION ===== */
.hero {
    height: 115vh;
    min-height: 850px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/images/Jackson Creed Album Front.png') center top / cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.1) 40%,
        rgba(10, 10, 10, 0.1) 60%,
        rgba(10, 10, 10, 0.6) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
    margin-top: 35vh;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--gold);
    letter-spacing: 10px;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease 0.2s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 5px;
    color: var(--cream);
    text-transform: uppercase;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-title span {
    display: block;
    font-size: 1.3em;
    background: linear-gradient(180deg, var(--cream) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 6px;
    color: var(--gray);
    margin-top: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gold);
    animation: scrollPulse 2s ease infinite;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
    box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 2px solid var(--cream);
}

.btn-outline:hover {
    background: var(--cream);
    color: var(--black);
}

/* ===== SECTIONS ===== */
.section {
    padding: 8rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--cream);
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* ===== MUSIC PLAYER ===== */
.music-section {
    background: var(--dark);
}

.music-player {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--dark-alt);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 4px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.player-album-art {
    position: relative;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.player-album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.player-album-art:hover img {
    transform: scale(1.05);
}

.vinyl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.now-playing-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--gold);
    display: block;
    margin-bottom: 0.3rem;
}

.track-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--cream);
}

.progress-container {
    width: 100%;
    height: 4px;
    background: var(--gray-dark);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s;
}

.progress-container:hover {
    height: 6px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-container:hover .progress-bar::after {
    opacity: 1;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray);
    letter-spacing: 1px;
}

.controls-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.control-btn {
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.control-btn:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.control-btn svg {
    width: 24px;
    height: 24px;
}

.play-btn {
    width: 64px;
    height: 64px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.4);
}

.play-btn:hover {
    color: var(--black);
    background: var(--gold-light);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(201, 169, 110, 0.6);
}

.play-btn svg {
    width: 28px;
    height: 28px;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
}

.volume-control input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100px;
    height: 4px;
    background: var(--gray-dark);
    border-radius: 2px;
    outline: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    cursor: pointer;
}

/* ===== TRACK LIST ===== */
.track-list {
    background: var(--dark-alt);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.track-list-header {
    display: grid;
    grid-template-columns: 50px 1fr 80px;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--gray);
    text-transform: uppercase;
}

.track-item {
    display: grid;
    grid-template-columns: 50px 1fr 80px;
    padding: 1rem 1.5rem;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.track-item:hover {
    background: rgba(201, 169, 110, 0.05);
}

.track-item.active {
    background: rgba(201, 169, 110, 0.1);
    border-left: 3px solid var(--gold);
}

.track-item .track-num {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.track-item.active .track-num {
    color: var(--gold);
}

.track-item .track-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--cream);
    transition: color 0.3s;
}

.track-item:hover .track-name {
    color: var(--gold);
}

.track-item.active .track-name {
    color: var(--gold);
}

.track-item .track-duration {
    font-size: 0.85rem;
    color: var(--gray);
    text-align: right;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--black);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.about-image-border {
    position: absolute;
    inset: -15px;
    border: 1px solid var(--gold);
    border-radius: 4px;
    opacity: 0.3;
    z-index: -1;
}

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

.about-content .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.8);
    margin-bottom: 1.5rem;
}

.about-tagline {
    font-size: 1.2rem !important;
    margin-top: 1rem;
    letter-spacing: 1px;
}

.text-red {
    color: var(--red-light);
}

/* ===== ALBUM SECTION ===== */
.album-section {
    background: var(--dark);
    position: relative;
}

.album-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.album-cover-wrapper {
    display: flex;
    gap: 1.5rem;
    perspective: 1000px;
}

.album-cover {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.album-cover:hover {
    transform: rotateY(-5deg) scale(1.02);
}

.album-cover.album-back:hover {
    transform: rotateY(5deg) scale(1.02);
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-info h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

.album-description {
    font-size: 1.05rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.album-tracks-preview {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

/* ===== CONTACT / FOOTER ===== */
.contact-section {
    background: var(--black);
    text-align: center;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--gold);
    color: var(--black);
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(201, 169, 110, 0.3);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    width: 120px;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer-logo:hover {
    opacity: 1;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

.footer-label {
    color: var(--gold) !important;
    letter-spacing: 2px;
    font-size: 0.7rem !important;
    text-transform: uppercase;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes scrollPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.5;
        transform: scaleY(0.6);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .music-player {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .album-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .album-cover-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .music-player {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .player-album-art {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-divider {
        margin: 0 auto 2rem;
    }

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

    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }

    .section {
        padding: 5rem 0;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    .album-cover-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .album-cover {
        max-width: 280px;
    }

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

    .album-tracks-preview {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .controls-buttons {
        gap: 1rem;
    }

    .play-btn {
        width: 56px;
        height: 56px;
    }
}
