/* --- Basic Setup & Variables --- */
:root {
    --bg-color: #0a0a0a;
    --primary-text: #f5f5f5;
    --secondary-text: #a0a0a0;
    --accent-red: #e60023; /* A strong, cinematic red */
    --accent-hover: #ffffff;
    --surface-color: #1a1a1a;
    --border-color: #2c2c2c;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400; /* Bebas Neue is bold by default */
    color: #ffffff;
    letter-spacing: 2px;
}

/* Here is the updated code for the h1 tag */
#home h1 {
    font-size: 6rem; 
    line-height: 1.1;
    letter-spacing: 2px;
    color: transparent; /* Makes the text invisible */
    -webkit-background-clip: text; /* Clips the background to the text shape */
    background-clip: text;
    background-image: url('assets/images/chronic-doggystyle.png'); /* CHANGE THIS PATH */
    background-size: cover; /* Ensures the image covers the entire text */
    background-position: center; /* Centers the image within the text */
}

h2 { font-size: 3.5rem; margin-bottom: 40px; text-align: center; }
h3 { font-size: 1.8rem; color: var(--primary-text); margin-bottom: 5px; }
h4 { font-size: 1.6rem; color: var(--accent-red); }

p {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 20px;
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* --- Header & Navigation --- */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 5%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

nav .logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 1px;
    color: #fff;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav .main-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav .main-nav a {
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary-text);
}

.artist-links {
    list-style: none;
    display: flex;
    gap: 15px;
}

.artist-links a {
    font-size: 1.2rem;
    color: var(--secondary-text);
}

.artist-links a:hover {
    color: var(--accent-red);
}

/* --- Sections --- */
section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: auto;
    position: relative; /* Needed for z-index stacking */
}

/* --- Hero Section with Video BG --- */
#home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0; /* Remove padding to allow video to fill screen */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -100;
    object-fit: cover; /* Ensures video covers the area without distortion */
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%);
}

.hero-content {
    animation: fadeIn 2s ease-in-out;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--primary-text);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-red);
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 20px;
    border: 2px solid var(--accent-red);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-red);
}

/* --- Discography & Services --- */
.discography-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.track-item, .pricing-card {
    background: var(--surface-color);
    padding: 20px;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.track-item:hover, .pricing-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.track-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* New music player and listen buttons styling */
.music-player-container {
    margin-top: 15px;
}

.listen-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.platform-link {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--secondary-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.platform-link:hover {
    background-color: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

.platform-link i {
    margin-right: 5px;
}


.pricing-card .price {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--primary-text);
    margin: 15px 0;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 10px;
}

/* --- Contact Section --- */
#contact {
    text-align: center;
}

.social-links {
    margin-top: 30px;
}

.social-links a {
    font-size: 2rem;
    margin: 0 15px;
    color: var(--secondary-text);
}

.social-links a:hover {
    color: var(--accent-red);
}

/* --- Logos Section --- */
#logos {
    text-align: center;
    padding: 80px 5%;
}

.logos-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logos-container img {
    max-width: 100px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logos-container img:hover {
    opacity: 1;
}

.logos-container p {
    width: 100%;
    text-align: center;
    font-style: italic;
    color: var(--secondary-text);
    margin-top: 20px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    color: var(--secondary-text);
}

/* --- Animations & Responsive Design --- */
.content-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    nav .main-nav { display: none; }
    nav .artist-links { gap: 10px; }
}