:root {
    --primary-bg: #ffffff;
    --primary-text: #1a1a1a;
    --secondary-bg: #000000;
    --secondary-text: #f9fafb;
    --accent-color: #E30613;
    --gold-accent: #D4AF37;
    --muted-light: #6b7280;
    --muted-dark: #9ca3af;
    --main-font: 'Montserrat', sans-serif;
    --heading-font: 'Playfair Display', serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--accent-color);
}

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

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    transition: all 0.3s ease;
}

button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.container-fluid {
    padding-left: clamp(1rem, 5vw, 4rem);
    padding-right: clamp(1rem, 5vw, 4rem);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p,
    span,
    a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 1.1rem;
    }
}

/* ===== header ===== */
.nav-link-custom {
    transition: color 0.3s ease;
}

.nav-link-custom:hover {
    color: var(--accent-color) !important;
}

.mobile-link-custom {
    transition: color 0.3s ease;
}

.mobile-link-custom:hover {
    color: var(--accent-color) !important;
}

/* ===== hero_section ===== */
#hero {
    width: 100%;
    position: relative;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.text-gold {
    color: var(--gold-accent) !important;
}

.text-light-gray {
    color: var(--secondary-text) !important;
    line-height: 1.8;
}

.btn-share {
    background-color: var(--accent-color);
    color: var(--secondary-text);
    border: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    z-index: 5;
    border-radius: 4px;
}

.btn-share:hover {
    transform: scale(1.05);
    color: var(--secondary-text);
    opacity: 0.9;
}

.btn-share i {
    color: var(--secondary-text);
    font-size: 1.2rem;
}

/* ===== bio_content ===== */
.bio-story-module p {
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
}

#biography .card {
    transition: transform 0.3s ease;
}

#biography .card:hover {
    transform: translateY(-5px);
}

.bio-story-module h3 {
    border-bottom: 2px solid var(--gold-accent);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 30px !important;
}

/* ===== style_analysis ===== */
#style {
    position: relative;
    overflow: hidden;
}

.style-content p {
    line-height: 1.8;
    font-size: 1.05rem;
}

.js-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

@media (max-width: 991.98px) {
    .display-4 {
        font-size: 2.5rem;
    }
}

/* ===== discography_cards ===== */
#albums .js-album-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease;
    border: 1px solid transparent;
}

#albums .js-album-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-color) !important;
}

#albums .album-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.9;
}

@media (max-width: 991px) {
    #albums .album-desc {
        font-size: 0.95rem;
    }
}

/* ===== awards_milestones ===== */
#achievements {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    width: 100%;
    overflow: hidden
}

.text-main {
    color: var(--primary-text)
}

.text-light-custom {
    color: var(--secondary-text)
}

.text-accent {
    color: var(--accent-color)
}

.text-gold {
    color: var(--gold-accent)
}

.text-muted-custom {
    color: var(--muted-light)
}

.bg-dark-custom {
    background-color: var(--secondary-bg);
    color: var(--secondary-text)
}

.js-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out
}

.js-reveal.active {
    opacity: 1;
    transform: translateY(0)
}

.border-accent {
    border-color: var(--accent-color) !important
}

/* ===== legacy_info ===== */
#impact {
    background-color: var(--primary-bg);
    width: 100%;
    overflow: hidden
}

.impact-card {
    transition: transform .3s ease
}

.impact-card:hover {
    transform: translateY(-5px)
}

/* ===== trivia_blocks ===== */
#facts {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    width: 100%;
    overflow: hidden;
}

.js-fact-item {
    will-change: opacity, transform;
}

.trivia-img-container {
    width: 100%;
}

.sticky-top {
    z-index: 10;
}

@media(max-width:991.98px) {
    .sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* ===== summary_text ===== */
.conclusion-section {
    position: relative;
}

.conclusion-text-body p {
    line-height: 1.8;
    font-size: 1.1rem;
}

.text-accent-color {
    color: var(--accent-color);
}

.conclusion-image-container img {
    transition: transform 0.5s ease;
}

.conclusion-image-container:hover img {
    transform: scale(1.02);
}

@media (max-width: 991.98px) {
    .conclusion-content-wrapper {
        text-align: center;
    }

    .conclusion-image-container {
        margin-bottom: 2rem;
    }

    .image-overlay-accent {
        display: none;
    }
}

/* ===== footer ===== */
#footer a {
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--accent-color) !important;
}

#footer hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

#albums img{
    width: 100%;
    height: 350px;
}