/* ========================================== */
/*                 BODY                       */
/* ========================================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Spazio per il menu fisso */
@media (min-width: 769px) {
    body {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* Contenitore principale */
.main-content {
    flex: 1;
}

/* ========================================== */
/*                 HEADER + MENU              */
/* ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0,0,0);
    z-index: 100;
}

@media (max-width: 768px) {
    header {
        height: 60px;
    }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MENU DESKTOP */
@media (min-width: 769px) {
    .nav-list {
        list-style: none;
        display: flex;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .nav-list li {
        margin: 0 20px;
    }

    .nav-list a {
        font-family: 'Main', sans-serif;
        font-size: 20px;
        color: #fff;
        text-decoration: none;
        padding: 10px;
        text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
        transition: color 0.5s ease-in-out, text-shadow 0.5s ease-in-out;
    }

    .nav-list a:hover {
        color: #8b0000;
        text-shadow: 0 0 10px rgba(139,0,0,0.7);
    }

    .menu-container {
        display: none;
    }
}

/* ========================================== */
/*                 MENU MOBILE CENTRATO       */
/* ========================================== */

.menu-text {
    display: none;
}

@media (max-width: 768px) {

    /* Contenitore scritta MENU + burger */
    .menu-container {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        z-index: 1100;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        z-index: 1101;
    }

    .bar {
        height: 3px;
        width: 25px;
        background: white;
        margin: 4px 0;
        transition: 0.3s;
        box-shadow: 0 0 5px rgba(139,0,0,0.8), 0 0 10px rgba(139,0,0,0.8);
    }

    /* MENU MOBILE - CENTRATO VERTICALMENTE */
    .nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center; /* centra verticalmente */
        align-items: center;    /* centra orizzontalmente */
        position: fixed;
        top: 50%;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 100vh;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.9);
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    /* Quando il menu è aperto */
    .nav-list.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-list li {
        margin: 15px 0;
        position: relative;
    }

    .nav-list li::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background-color: rgb(139, 9, 9);
        margin-top: 10px;
    }

    .nav-list a {
        color: #ffffff;
        font-family: 'Main', sans-serif;
        font-size: 20px;
        text-decoration: none;
        padding: 5px 20px;
        text-shadow: 0 0 10px rgba(139,0,0,0.7);
        transition: color 0.3s;
    }

    .nav-list a:hover {
        color: #ff5555;
    }
}

/* ========================================== */
/*                 BACKGROUND HOME            */
/* ========================================== */

/* Sfondo generale home */
.background-home {
    background-color: rgba(0, 0, 0, 1);
    min-height: calc(100vh - 70px);
}

@media (max-width: 768px) {
    .background-home {
        min-height: calc(100vh - 60px);
    }
}

/* Contenitore immagini */
.image-container-home,
.image-container-second {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Prima immagine */
.background-image-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Seconda immagine */
.background-image-second {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay seconda immagine */
.image-container-second::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* ========================================== */
/*          PULSANTI LISTEN / WATCH NOW       */
/* ========================================== */
.action-btn {
    position: relative;
    z-index: 2;
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Main', sans-serif;
    font-size: 1.2rem;
    color: #000;
    text-decoration: none;
    background: #B2230F;
    border: none;
 /*   border-radius: 8px; */
    transition: all 0.3s ease-in-out;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

/* Pulsante della prima immagine – PRE-SAVE */
.image-container-home .listen-now-btn {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Pulsante della seconda immagine – WATCH NOW */
.image-container-second .watch-now-btn {
    position: absolute;
    top: 50%;   /* QUI il nuovo valore */
    left: 50%;
    transform: translate(-50%, -50%);
}


/* Hover effetto glow rosso */
.action-btn:hover {
    background: #c5301b;
    transform: translate(-50%, -50%) scale(1.05);
    color: #fff;
}

/* ========================================== */
/*           VERSIONE RESPONSIVE              */
/* ========================================== */

/* Tablet e schermi medi */
@media (max-width: 1024px) {
    .action-btn {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* Mobile (smartphone) */
@media (max-width: 600px) {
    .action-btn {
        font-size: 0.9rem;
        padding: 6px 14px;
  /*      border-radius: 6px; */
    }

    /* Se vuoi che si sposti un po’ più in basso per evitare sovrapposizioni */
    .image-container-home .action-btn,
    .image-container-second .action-btn {
    /*    top: 55%; */
    }  
}

/* Schermi molto piccoli */
@media (max-width: 400px) {
    .action-btn {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* ========================================== */
/*              MOBILE RESPONSIVE HOME          */
/* ========================================== */

/* Prima immagine mobile senza zoom */
@media (max-width: 768px) and (orientation: portrait) {
    .background-image-home {
        content: url("/images/anathem-mobile.png");
        width: 100%;
        height: auto;
        max-height: 100vh;
        object-fit: contain;
        object-position: center center;
        display: block;
    }

    .background-image-second {
        width: 100%;
        height: auto;
        max-height: 100vh;
        object-fit: contain;
        object-position: center center;
        display: block;
    }

    .action-btn {
        padding: 12px 30px;
        font-size: 16px;
        letter-spacing: 1px;
    }
}




/* ========================================== */ 
/*                  BIO                        */
/* ========================================== */

.background-bio {
    background-color: rgba(155, 155, 155, 0.5); /* sfondo chiaro */
    min-height: 100vh;
}

/* Sezione biografia */
.bio-section {
    position: relative;
    padding: 30px;
  /*  border-radius: 10px; */
 /*   box-shadow: 0 0 25px rgba(139, 0, 0, 0.7); /* glow rosso */ */
    background-color: #DBDBDB; /* bianco semitrasparente */ 
    max-width: 800px;
    margin: 40px auto;
    text-align: left;
    color: #111; /* testo scuro */
    font-family: 'MainWolf', sans-serif; /* nuovo font */
}

/* Effetto bagliore interno */
.bio-section::before {
    content: "";
    position: absolute;
    inset: 0;
  /*  border-radius: 10px; */
    background-color: #DBDBDB;
  /*  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);  */
    z-index: -1;
}

/* Titolo */
.bio-section h2 {
    color: #111;
    font-size: 32px;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(139, 0, 0, 0.3); /* leggero glow sul titolo */
}

/* Paragrafi */
.bio-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #111;
    margin-bottom: 15px;
    text-shadow: 0 0 4px rgba(139, 0, 0, 0.15); /* leggero bagliore */
}

/* Evidenzia nomi e parole chiave */
.bio-section p strong {
    color: #000000; /* nero */
  /*   text-shadow: 0 0 8px rgba(139, 0, 0, 0.6); /* glow attorno al rosso */ */
}

/* Responsive */
@media (max-width: 768px) {
    .bio-section {
        max-width: 95%;
        padding: 20px;
    }

    .bio-section h2 {
        font-size: 24px;
    }

    .bio-section p {
        font-size: 16px;
    }
}

/* Disattiva immagine di sfondo */
.image-container-bio {
    display: none;
}



/* Contenitore dei bottoni lingua */
.language-toggle {
    display: flex;
    gap: 8px;
    justify-content: flex-start; /* a sinistra */
    margin-bottom: 10px;
}

/* Stile base pulsanti */
.lang-btn {
    background-color: rgba(139, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 4px 10px; /* più piccoli */
    cursor: pointer;
    border-radius: 4px;
    font-family: 'Main', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

/* Hover: luce più intensa */
.lang-btn:hover {
    background-color: rgba(139, 0, 0, 1);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

/* Pulsante attivo / selezionato */
.lang-btn.active {
    background-color: #8B0000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 1);
    transform: scale(1.05);
}



/* ========================================== */
/*                 SOCIAL - HOME  - BIO          */
/* ========================================== */
.social-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    z-index: 10;
}

.social-text {
    color: white;
    font-family: 'Main', sans-serif;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.social-text-bio {
    color: black;
    font-family: 'Main', sans-serif;
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
}

.social-section {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
 /*   transition: transform 0.3s, box-shadow 0.3s; */
  /*  box-shadow: 0 0 10px 2px rgba(139, 0, 0, 0.6);  */
    border-radius: 50%;
}

.social-icon:hover img {
    transform: scale(1.5);
  /*   box-shadow: 0 0 20px 5px rgba(139, 0, 0, 1); */
    border-radius: 50%;
}

@media (max-width: 768px) {
    .social-wrapper {
        margin-top: 30px;
    }

    .social-section {
        flex-direction: row;
    }

    .social-icon img {
        width: 30px;
        height: 30px;
    }
}

/* ========================================== */
/*                  ALBUM PREVIEW             */
/* ========================================== */
.album-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 30px;
}

.album-preview img {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.album-preview .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 59, 59, 0.9);
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.3s;
}

.album-preview .play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.9;
}

/* ========================================== */
/*            SMARTLINK PLATFORMS             */
/* ========================================== */
.smartlink-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 40px 20px;
    background-color: #DBDBDB;
}

/* Contenitore singolo box */
.platform-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #181721;
    width: 100%;
    max-width: 400px;      /* larghezza massima */
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    margin: 0 auto;        /* centra il box */
}

.platform-box:hover {
    transform: scale(1.02);
}

/* Logo a sinistra */
.platform-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.platform-left img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Pulsante a destra */
.platform-right a {
    text-decoration: none;
    background-color: #454b5f;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.2s, opacity 0.3s;
}

/* Hover effetto */
.platform-right a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
    .platform-box {
        width: 90%;           /* box non pieno schermo */
        max-width: 400px;     /* mantiene max width */
        flex-direction: row;  /* logo a sinistra, pulsante a destra */
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        margin: 0 auto;       /* centra il box */
    }

    .platform-right a {
        width: auto;          /* pulsante adattabile, non 100% */
        font-size: 0.95rem;
        padding: 8px 16px;
    }
}






/* ============================= */
/*   LISTEN NOW PAGE COVER + ICONA PLAY OVERLAY  */
/* ============================= */
.album-preview {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

/* Solo la cover, escludendo l'icona */
.album-preview > img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px; /* opzionale */
  vertical-align: middle;
}

/* Overlay serve solo per centrare l'icona */
.album-preview .play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none; /* nessun cerchio */
  padding: 0;       /* niente padding */
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
}

/* Icona Play centrata e indipendente dalla cover */
.album-preview .play-overlay img.play-icon {
  width: 80px;
  height: 80px;
  transition: transform 0.25s ease;
  display: block;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

/* Hover: effetto ingrandimento */
.album-preview .play-overlay:hover img.play-icon {
  transform: scale(1.2);
}

/* Versione mobile mantiene dimensione */
@media (max-width: 768px) {
  .album-preview .play-overlay img.play-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .album-preview .play-overlay img.play-icon {
    width: 80px;
    height: 80px;
  }
}


/* ========================================== */
/*                  COOKIE BANNER             */
/* ========================================== */
.cookie-banner, .cookie-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    display: block;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

.cookie-settings {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    width: 90%;
    max-width: 300px;
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.cookie-settings h3 {
    margin-bottom: 10px;
}

.cookie-settings label {
    display: block;
    margin: 5px 0;
}

.cookie-buttons {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.cookie-button {
    background: #8b0000;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    transition: background 0.3s;
    white-space: nowrap;
}

.cookie-button:hover {
    background: #b22222;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 480px) {
    .cookie-banner {
        flex-direction: column;
        padding: 10px;
        width: auto;
    }

    .cookie-buttons {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .cookie-button {
        font-size: 12px;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .cookie-banner {
        padding: 10px;
        font-size: 12px;
    }

    .cookie-buttons {
        flex-wrap: nowrap;
        justify-content: center;
    }

    .cookie-button {
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* ========================================== */
/*                  PRIVACY                    */
/* ========================================== */
.background-privacy {
    background-color: #000;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
}

.privacy-policy-section {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-policy-header h2 {
    text-align: center;
    font-size: 36px;
}

.privacy-box {
    background-color: #222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.6);
}

.privacy-policy-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 10px;
}

/* ========================================== */
/*                  FOOTER                     */
/* ========================================== */
.footer {
    background-color: rgba(0,0,0,0.5);
    flex-shrink: 0;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer .footer-content p {
    margin: 0;
}

.footer .footer-content a {
    color: #fff;
    text-decoration: none;
}

.footer .footer-content a:hover {
    text-decoration: underline;
}



/* ========================================== */
/*                  FONT                       */
/* ========================================== */

/* Dichiarazione font Main */
@font-face {
    font-family: 'Main';
    src: url('/fonts/Main.woff2') format('woff2'),
         url('/fonts/Main.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Applica Main a tutto il sito */
body, h1, h2, h3, h4, h5, h6, p, li, a, span {
    font-family: 'Main', sans-serif;
}

/* Eventuali titoli speciali */
h2, h3 {
    font-family: 'Main', sans-serif;
}
