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

/* ===============================
   BASE
   =============================== */
body {
    font-family: Helvetica, Optima, sans-serif;
    background-color: #0f0f0f;
    color: white;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
}

/* ===============================
   LOGO + NAV
   =============================== */
.logo {
    position: fixed !important;
    top: 42px !important;
    left: 40px;
    z-index: 999;
    letter-spacing: 5px;
    font-size: 18px;
}

.logo a {
    color: white;
    text-decoration: none;
}

nav {
    position: fixed !important;
    top: 42px !important;
    right: 40px;
    z-index: 999;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.6;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 170px;
    padding: 6px 0;
    background: white;
    z-index: 30;
}

.dropdown-content a {
    display: block;
    padding: 10px 14px;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* ===============================
   INTRO / HOME BACKGROUND
   =============================== */
#bgWave {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
}

#intro {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #0f0f0f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 1.5s ease;
}

#waveCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.intro-title {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 200;
    letter-spacing: 14px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    transition: all 0.4s ease;
}

.intro-title:hover {
    letter-spacing: 18px;
    opacity: 0.8;
}

.intro-title::after {
    display: none;
}

/* ===============================
   HOME HERO
   =============================== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    background: url('img/foto6.jpg') center/cover no-repeat;
    display: block;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(15, 15, 15, 0.35), rgba(15, 15, 15, 0.58)),
        radial-gradient(circle at center, rgba(15, 15, 15, 0.08), rgba(15, 15, 15, 0.62));
}

.hero-content {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: 620px;
    padding: 20px;
    text-align: center;
}

.hero-title {
    font-size: 3.2rem;
    letter-spacing: 16px;
    margin: 0;
}

.hero-subtitle {
    margin-top: 22px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: lowercase;
    color: rgba(255, 255, 255, 0.72);
}

.hero-button,
.buy-link,
.press-button {
    display: inline-block;
    padding: 11px 26px;
    border: 1px solid rgba(255,255,255,0.85);
    color: white;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.hero-button {
    margin-top: 28px;
}

.hero-button:hover,
.buy-link:hover,
.press-button:hover {
    background: white;
    color: black;
}

.hero-socials {
    position: absolute;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
}

/* ===============================
   PAGE SECTIONS
   =============================== */
.section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 220px auto 120px;
    padding: 20px;
    text-align: center;
}

.section-narrow {
    max-width: 900px;
}

.section h2 {
    margin-bottom: 20px;
    font-weight: 200;
    letter-spacing: 6px;
}

.section p {
    line-height: 1.7;
}

.description {
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.85;
}

.subtitle {
    margin-bottom: 30px;
    opacity: 0.7;
}

.credits {
    max-width: 700px;
    margin: 50px auto 0;
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
    text-align: center;
}

.credits a {
    color: white;
    text-decoration: underline;
}

/* ===============================
   MUSIC / RELEASE IMAGES
   =============================== */
.cover {
    display: block;
    width: 320px;
    max-width: 90%;
    margin: 0 auto 30px;
    border-radius: 10px;
}

.ep-cover-link {
    display: block;
    width: fit-content;
    margin: 0 auto 25px;
}

.ep-cover:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.ep-subtitle {
    max-width: 760px;
    margin: 10px auto 35px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.6;
}

.vinyl-description {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.7;
}

/* ===============================
   BIO
   =============================== */
.bio-tagline {
    text-align: center;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    animation: subtleFade 6s ease-in-out infinite;
}

@keyframes subtleFade {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

.bio-text p {
    max-width: 900px;
    margin: 0 auto 20px;
    line-height: 1.7;
    opacity: 0.85;
    text-align: left;
}

.bio-image {
    width: 280px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 6px;
}

.press-kit {
    text-align: center;
    margin: 50px 0 30px;
}

/* ===============================
   VIDEO
   =============================== */
.video {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 30px auto 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.video iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-gallery,
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* thumbnails legacy, only if used in older pages */

/* ===============================
   PROJECTS
   =============================== */
.projects-page {
    max-width: 820px;
}

.projects-page .description {
    margin-bottom: 70px;
}

.projects-block {
    margin: 70px auto 0;
    text-align: left;
}

.projects-block h3 {
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    text-align: center;
}

.project-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 12px 0;
}

.project-item span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.project-item p {
    margin: 0;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
}

.formats {
    text-align: center;
    line-height: 1.9;
    color: rgba(255,255,255,0.78);
}

/* legacy event style, kept for compatibility */
.event {
    padding: 14px 0;
    text-align: center;
}

.event-date {
    font-size: 14px;
    opacity: 0.6;
}

.event-title {
    font-size: 18px;
    margin-top: 5px;
}

/* ===============================
   SOCIAL
   =============================== */
.social-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-logo {
    width: 42px;
    margin: 0 12px;
    filter: invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.social-logo:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* ===============================
   NEWS PAGE
   =============================== */
.news-page {
    max-width: 820px;
}

.news-item {
    max-width: 680px;
    margin: 60px auto 0;
    text-align: center;
}

.news-date {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.news-item h3 {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.news-item p {
    color: rgba(255,255,255,0.78);
}

/* ===============================
   CONTACT DETAILS
   =============================== */
.contact-email {
    margin: 28px 0 14px;
    font-size: 15px;
    letter-spacing: 1px;
}

.contact-email a {
    color: white;
    text-decoration: none;
}

.label-link {
    margin: 0 0 70px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.label-link a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-socials {
    position: static;
    margin-top: 0;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
    .logo {
        top: 24px !important;
        left: 20px;
    }

    nav {
        top: 24px !important;
        right: 20px;
        left: 20px;
    }

    nav ul {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .intro-title {
        font-size: 2rem;
        letter-spacing: 8px;
    }

    .hero-title,
    .hero-content .intro-title {
        font-size: 2.2rem;
        letter-spacing: 9px;
    }

    .hero-subtitle {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .section {
        margin: 190px auto 60px;
    }

    .cover {
        width: 80%;
    }

    .bio-text p {
        text-align: left;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 4px;
        text-align: center;
        padding: 14px 0;
    }

    .projects-block {
        text-align: center;
        margin-top: 55px;
    }
    .hero-content {
        transform: translateY(-30px);
    }

    .hero-socials {
        margin-top: 55px;
        position: static;
        transform: none;
    }

}

/* ===============================
   HOME FINAL POSITION FIX
   =============================== */
.hero-content {
    top: 25;
}

.hero-socials {
    bottom: 65px;
}

@media (max-width: 768px) {
    .hero-content {
        top: 38%;
    }

    .hero-socials {
        bottom: 42px;
    }
}

/* ===============================
   VIDEO LOCAL THUMBNAILS
   =============================== */

.news-image {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 45px auto 0;
    border-radius: 10px;
}

/* ===============================
   VIDEO THUMBNAILS FIX
   =============================== */

/* ===============================
   VIDEO LOCAL PREVIEWS
   =============================== */

/* ===============================
   VIDEO LOCAL PREVIEWS - FINAL
   =============================== */

/* ===============================
   VIDEO INLINE PLAYER
   =============================== */

.video-player:hover

/* ===============================
   VIDEO PLAY CARDS
   =============================== */
.video-gallery {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.single-video-gallery {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: 1fr;
}

.video-thumb,
.video-play-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
    text-decoration: none;
}

.video-thumb img,
.video-play-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.video-thumb:hover img,
.video-play-card:hover img {
    transform: scale(1.04);
    opacity: 0.75;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.55);
    z-index: 2;
    pointer-events: none;
}

.play-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid white;
}

.video-thumb:hover .play-btn,
.video-play-card:hover .play-btn {
    background: rgba(255,255,255,0.24);
}

/* ===============================
   SOUNDCLOUD PLAYER
   =============================== */
.soundcloud-player {
    max-width: 760px;
    margin: 46px auto 48px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    overflow: hidden;
    background: #0f0f0f;
    opacity: 0.95;
}

.soundcloud-player iframe {
    display: block;
    border-radius: 4px;
    filter: grayscale(1);
}

/* ===============================
   MUSIC COVER SIZE
   Modifica qui la dimensione delle immagini nelle pagine Music:
   EP, BALANCE, TIME, HORIZON
   =============================== */
.music-cover,
.cover {
    display: block;
    width: 420px;
    max-width: 90%;
    height: auto;
    margin: 0 auto 30px;
    border-radius: 10px;
}
