/* ============================================
   04-HERO.CSS
   Hero section e album cover
   ============================================ */

/* ----- Hero Section ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 3rem;
    background: var(--gradient-dark);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, var(--black) 100%);
}

/* ----- Hero Content ----- */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: 1400px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ----- Hero Background Image ----- */

/* Overlay standard (leggero) */
.hero.has-bg-image {
    background: 
        linear-gradient(180deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.95) 100%),
        url('../assets/images/titulo-trans.png') center center / cover no-repeat fixed;
}

/* Overlay più scuro (per immagini molto chiare) */
.hero.has-bg-image.dark-overlay {
    background: 
        linear-gradient(180deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.98) 100%),
        url('../assets/images/titulo-trans.png') center center / cover no-repeat fixed;
}

/* ----- Hero Text ----- */
.hero-text {
    animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    display: block;
    color: var(--accent);
    /* text-shadow: 0 0 60px rgba(255, 45, 45, 0.5); */
}

.hero-text .tagline {
    font-size: 0.9rem;
    color: var(--gray-light);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
}

.hero-text p {
    font-size: 1rem;
    color: var(--gray-light);
    max-width: 450px;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

/* ----- Album Cover ----- */
.album-cover-wrapper {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.album-cover {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: var(--gray-dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
}

.album-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: 
        linear-gradient(135deg, transparent 40%, rgba(255,45,45,0.1) 50%, transparent 60%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        ); */
    z-index: 2;
}

/* ----- Album Art ----- */
.album-art {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255,45,45,0.15) 0%, transparent 50%),
        linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    /* padding: 2rem; */
    position: relative; 
}

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

.album-art .title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.2em;
    text-align: center;
}

.album-art .artist {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: var(--gray-light);
    margin-top: 0.5rem;
}

.album-art .year {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--accent);
}

.album-art .parental {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--white);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
}

/* ----- New Album Badge ----- */
/* .album-cover-wrapper::before {
    content: 'NEW ALBUM';
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    transform: rotate(3deg);
    z-index: 10;
} */

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .album-cover-wrapper {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .hero {
        padding: 6rem 1.5rem;
    }
}
