body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    height: 100%;
    width: 100%;
    background: rgba(20, 20, 20, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    font-size: 4rem;
    color: #fff;
    margin: 0;
}

.subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 10px;
}

.buttons {
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    background: #C49A6C;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin: 10px;
    transition: 0.3s;
}

.btn:hover {
    background: #6A1F2B;
}

.btn.ghost {
    background: transparent;
    border: 2px solid #fff;
}

.btn.ghost:hover {
    background: #fff;
    color: #000;
}

/* Fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
/* TOPBAR (menu) */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4); /* semi-trasparente elegante */
    backdrop-filter: blur(6px);
}

.logo {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #C49A6C; /* ocra */
}

.lang-switch a {
    color: #fff;
    margin-left: 10px;
    text-decoration: none;
    font-weight: 600;
}

.lang-switch a.active {
    color: #C49A6C;
}
/* FOOTER */
.footer {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.6); /* sfondo scuro semi-trasparente */
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.9rem;
    position: relative;
    z-index: 9999;
}
/* HOME VIDEO BACKGROUND */
.home-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(60%);
    z-index: 1;
}

.home-hero .overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.home-hero h1 {
    font-size: 4rem;
    margin: 0;
}

.home-hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-top: 10px;
}
/* BIO HERO */
.bio-hero {
    position: relative;
    height: 30vh;
    background: url('/portaleNew/public/img/bio-hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bio-hero .overlay {
    background: rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.bio-hero h1 {
    font-size: 3rem;
    margin: 0;
}

.bio-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* BIO CONTENT */
.bio-content {
    background: #111;
    padding: 60px 40px;
    color: #fff;
}

.bio-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    opacity: 0.9;
}
/* MUSIC HERO */
.music-hero {
    position: relative;
    height: 25vh;
    background: url('/portaleNew/public/img/rob01.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.music-hero .overlay {
    background: rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.music-hero h1 {
    font-size: 3rem;
    margin: 0;
}

.music-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* TRACKS SECTION */
.tracks-section {
    background: #111;
    padding: 60px 40px;
    color: #fff;
}

.tracks {
    max-width: 800px;
    margin: 0 auto;
}

.track {
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.track h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}
/* SPOTIFY STYLE GRID */
.tracks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

/* CARD QUADRATA */
.track {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(4px);
    transition: transform 0.25s ease, opacity 0.25s ease;
    cursor: pointer;
}

/* Effetto hover stile Spotify */
.track:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

/* Titolo brano */
.track h3 {
    font-size: 1rem;
    margin: 10px 0;
    color: #fff;
    font-weight: 500;
}

/* Player audio più piccolo */
.track audio {
    width: 100%;
    height: 32px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .tracks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tracks {
        grid-template-columns: 1fr;
    }
}
.track-cover {
    width: 70%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}
/* HERO */
.photobook-hero {
    position: relative;
    height: 22vh;
    background: url('/portaleNew/public/img/music-hero.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photobook-hero .overlay {
    background: rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* CENTRATURA PAGINA PHOTOBOOK */
.photobook-container {
    background: #111;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
}

.photobook-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* GALLERIA SFOGLIABILE */
.photobook {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 10px;
}

.page {
    min-width: 100%;
    scroll-snap-align: center;
    border-radius: 10px;
    overflow: hidden;
}

.page img {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 100px;
}

/* Contatti */
/*
.contact-container {
    display: flex;
    background: linear-gradient(180deg, #000 0%, #111 100%);
    justify-content: center;
    padding: 60px 20px;
}
*/
.contact-container {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}
.contact-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/portaleNew/public/img/bio-hero.jpg') center/cover no-repeat;
    filter: blur(12px) brightness(0.4);
    transform: scale(1.1); /* evita bordi visibili dopo il blur */
    z-index: 0;
}
/*
.contact-wrapper {
    position: relative;
    z-index: 1;
}
*/
.contact-wrapper {
    width: 100%;
    max-width: 700px;
    background: rgba(0,0,0,0.4);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.contact-wrapper h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.contact-form label {
    color: #fff;
    margin-top: 15px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border-radius: 8px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: #00aaff;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    background: #0088cc;
}

.contact-success {
    background: #0a0;
    padding: 12px;
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
/* HERO */
.projects-hero {
    padding: 60px 20px 20px 20px; /* molto più compatto */
    text-align: center;
    background: linear-gradient(180deg, #111, #1a1a1a);
    color: white;
}

.projects-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.projects-subtitle {
    font-size: 18px;
    opacity: 0.7;
}

/* GRID ALBUM */
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 10px;
}

/* CARD ALBUM */
.album-card {
    background: #111;
    padding: 20px;
    border-radius: 14px;
    color: white;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid #222;
}

.album-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* COVER */
.album-cover-wrapper {
    width: 30%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    /* margin-bottom: 15px; */
    margin: 0 auto 15px auto; /* centra la copertina */
}

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

/* TITOLI */
.album-card h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.album-year {
    font-size: 16px;
    opacity: 0.6;
}

/* BOTTONE */
.album-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;
    background: #1DB954; /* verde Spotify */
    color: white;
    border-radius: 50px; /* stile pillola */
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.album-btn:hover {
    background: #1ed760;
    transform: scale(1.05);
}
.spotify-player {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}
.hidden {
    display: none;
}

#audioPlayer {
    width: 100%;
    margin-top: 30px;
}

.spotify-icon-img {
    margin-left: -150px;
    width: 50px;
    height: 50px;
    opacity: 0.9;
}
.spotify-prj-icon-img {
    margin-left: 10px;
    width: 30px;
    height: 30px;
    opacity: 10;
}
