/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #04d39f;
    --text-color: #ffffff;
    --dark-bg: #0f0f0f;
    --section-bg: #1a1a1a;
    --footer-bg: #000000;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

a:hover {
    color: #06f5b8;
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 40px 60px;
}

.hero-logo {
    position: absolute;
    top: 30px;
    left: 40px;
    max-width: 180px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.hero-text {
    margin-right: 0;
    margin-top: 80px;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.im-logo {
    max-width: 120px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        4px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 300;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: 1px;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeInUp 1s ease-out 0.9s both;
}

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

/* ==========================================
   Social Icons
   ========================================== */
.social-icons {
    background: var(--dark-bg);
    padding: 15px 0;
    text-align: center;
}

.social-icons .container {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(4, 211, 159, 0.3);
}

/* ==========================================
   Section Headers
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 30px 0;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-header h2::before,
.section-header h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 150px;
    height: 1px;
    background: var(--text-color);
}

.section-header h2::before {
    right: calc(100% + 40px);
}

.section-header h2::after {
    left: calc(100% + 40px);
}

/* ==========================================
   Discography Section
   ========================================== */
.discography {
    background-image: url('../images/bg-241-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.discography::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.discography .container {
    position: relative;
    z-index: 2;
}

.playlists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.playlist-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playlist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(4, 211, 159, 0.2);
}

.playlist-item iframe {
    border-radius: 8px;
}

.genius-link {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.genius-link:hover {
    transform: scale(1.02);
}

.genius-button {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   Credits Section
   ========================================== */
.credits {
    background-image: url('../images/bg-341.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.credits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.credits .section-header {
    position: relative;
    z-index: 2;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0 60px;
    z-index: 2;
}

.artist-carousel {
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.artist-carousel:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.artist-item {
    flex: 0 0 auto;
    width: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-item:hover {
    transform: scale(1.05) rotateZ(2deg);
    box-shadow: 0 15px 40px rgba(4, 211, 159, 0.3);
}

.artist-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.artist-item span {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4, 211, 159, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(4, 211, 159, 0.4);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* ==========================================
   Logos Section
   ========================================== */
.logos {
    background: #ffffff;
    padding: 60px 0;
}

.logo-carousel {
    overflow: hidden;
    width: 100%;
}

.logo-track {
    display: flex;
    gap: 60px;
    animation: scrollLogos 30s linear infinite;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.logo-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 8 - 60px * 8));
    }
}

/* Duplicate logos for seamless loop */
.logo-track::after {
    content: '';
    display: flex;
    gap: 60px;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--footer-bg);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer a {
    color: var(--text-color);
    font-weight: 500;
}

.footer a:hover {
    color: var(--primary-color);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .carousel-wrapper {
        padding: 0 50px;
    }
    
    .artist-item {
        width: 250px;
    }
    
    .artist-item img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }
    
    .hero-logo {
        max-width: 120px;
        top: 20px;
        left: 20px;
    }

    .hero-content {
        padding: 40px 20px;
    }

    .hero-text {
        margin-right: 0;
        margin-top: 100px;
        text-align: center;
    }
    
    .im-logo {
        max-width: 90px;
    }
    
    .section-header h2::before,
    .section-header h2::after {
        width: 50px;
    }
    
    .playlists {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .carousel-wrapper {
        padding: 0 40px;
    }
    
    .artist-item {
        width: 200px;
    }
    
    .artist-item img {
        height: 200px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .logo-item {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .social-icons .container {
        gap: 20px;
    }
    
    .social-icons a {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .section-header h2::before,
    .section-header h2::after {
        display: none;
    }
    
    .discography,
    .credits {
        padding: 50px 0;
    }
    
    .carousel-wrapper {
        padding: 0 30px;
    }
    
    .artist-item {
        width: 180px;
    }
    
    .artist-item img {
        height: 180px;
    }
    
    .artist-item span {
        font-size: 1rem;
        padding: 30px 15px 10px;
    }
}

/* ==========================================
   Loading Animation
   ========================================== */
.hero-content {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================
   Accessibility
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .logo-track {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

button:focus:not(:focus-visible) {
    outline: none;
}

