/*
Theme Name: Nextawards Child
Template: nextawards
*/


/* General */
:root { --site-bg: #282828; --site-text-color: #f3f3f3; --link-color: #db2b39; --link-color-hover: #6d0202; }
*,*:before,*:after{ box-sizing: border-box; }


h1, h3, .text-3 {
  font-family: 'Syne', -apple-system, sans-serif !important;
  font-size: 2rem;
  font-weight: 800;
  margin: 0; }

  .wp-block-heading {margin-bottom: 0;}
  @media (max-width: 768px) {h3, .text-3 {font-size: 1.5rem;}}

h2, .text-2 {
  font-family: 'SkratchPunk', 'Syne', -apple-system, sans-serif !important;
	font-weight: 500;
  letter-spacing: 1px;
  font-size: 4rem;
-webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {h2, .text-2 {font-size: 3rem;}}

h4, .text-4 {
  font-size: 1.4rem;
  font-weight: 800;
  font-family: 'Syne', -apple-system, sans-serif !important;
}

h5 a, 
.text-5 a {text-decoration: none; color: var(--site-text-color);}
h5 a:hover, 
.text-5 a:hover {color:var(--link-color);}
.red h5,
.red .text-5 {color: var(--link-color); font-size: 1.7rem; padding: 20px;}


h6, .text-6 {
  font-family: 'Syne', -apple-system, sans-serif !important;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;}



  @media (max-width: 768px) {h6, .text-6 {font-size: 1.8rem;}}

  @media (min-width: 768px) { .wrapper {padding:0;}}

/* ------------------------------------------------------------------------- *
/* 2.1 Menu */
/* ------------------------------------------------------------------------- */

.header__logo {width: 200px;}
.header__logo-img {width: 70%;}

@media (max-width: 1190px) {
  .menu li {border-bottom: 1px solid var(--link-color);}
}

@media (max-width: 768px) {
  .header__logo-img {width: 40%;}
}



/* ------------------------------------------------------------------------- *
/* Hero section */
/* ------------------------------------------------------------------------- */



.hero-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center; /* Centra orizzontalmente il logo */
  align-items: center;     /* Centra verticalmente il logo */
  overflow: hidden;
  background-color: #282828;  /* Sfondo di emergenza se il video non carica */
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Riempie lo spazio senza deformarsi */
  z-index: 1;
}

/* overlay scuro per far risaltare il logo */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); 
  z-index: 2;
}

.logo-container {
  position: relative;
  z-index: 3; /* Sopra a tutto */
  width: 100%; /* Regola la grandezza del logo */
}

.main-logo {
  width: 100%;
  height: auto;
  display: block;
  /* Effetto "Blending" opzionale per far interagire il logo col video */
  /* mix-blend-mode: multiply; */ 
}

.grid--full {width: 100%; margin:0;}
.content, .social {background-color: var(--link-color); padding: 40px;}
@media (max-width: 768px) {
  .content h3 {font-size: 1.3rem;}
  .content {padding: 30px;}
}



/* ------------------------------------------------------------------------- *
/* Blocco canzoni - Page album */
/* ------------------------------------------------------------------------- */

.grid-track .col-33 {
    height: 380px;
    width: 380px;
    margin: 0 auto 2% auto;
    padding: 0;
}

.track-card {
    position: relative;
    overflow: hidden;
}

.track-card__top {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    text-align: center;
}

.track-card__top h3 {
    color: var(--site-text-color);
    margin: 0;
    padding: 0;
}

.track-card__middle {
    padding: 15px;
    text-align: center;
}

.track-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
}

.track-card__overlay {
    position: absolute;
    inset: 0;
    opacity: 1;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .15),
            rgba(0, 0, 0, .55));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background .4s ease;
    /* Aggiungi qui la transizione */
}

.track-card__overlay:hover {
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, .35),
            rgba(0, 0, 0, .85));
}

.track-card__bottom {
    text-align: center;
    padding: 5%;
}

.track-card__label {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
}

/* Icons cards e social home */
.track-card__icons,
.social__icons {
    display: flex;
    justify-content: center;
    gap: 22px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease;
}

/* pagina single canzone */
.track__icons {
    border-top: 1px solid var(--link-color);
    opacity: 1;
    padding: 20px;
    gap: 32px;
    justify-content: left;
}

/* Hover solo su desktop */
@media (hover: hover) and (pointer: fine) {
    .track-card:hover .track-card__label {
        opacity: 0;
        transform: translateY(-10px);
    }

    .track-card:hover .track-card__icons {
        opacity: 1;
        transform: translateY(-12px);
    }
}

/* Mobile - mostra sempre le icone senza offset */
@media (hover: none) {
    .track-card__label {
        opacity: 0;
    }

    .track-card__icons {
        opacity: 1;
        transform: translateY(0);
        /* CAMBIATO DA -12px A 0 */
    }
}

.track-card__icons img,
.social__icons img,
.link__icons img {
    width: 34px;
    height: 34px;
    transition: transform .2s ease;
}

.track-card__icons a:hover img,
.social__icons a:hover img,
.link__icons a:hover img {
    transform: scale(1.2);
}

.social__icons {
    gap: 40px;
}

.link__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 15px 30px;
}

.link__icons a {
    color: var(--site-text-color);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 10px;
}

.link__icons {
    border-bottom: 1px solid var(--site-text-color);
}

.link__icons span {
    margin: 20px;
}
 


/* ------------------------------------------------------------------------- *
/* Griglia band */
/* ------------------------------------------------------------------------- */



.cover--band {height: 900px; margin: 0;}

.grid-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(6, 1fr);
  gap: 40px;
  height: 1600px;
  padding: 1%;
}

.band__card:nth-child(4) { grid-column: 1; grid-row: 1 / 4; }
.band__card:nth-child(2) { grid-column: 2; grid-row: 1 / 3; }
.band__card:nth-child(3) { grid-column: 2; grid-row: 3 / 5; }
.band__card:nth-child(1) { grid-column: 1; grid-row: 4 / 7; }
.band__card:nth-child(5) { grid-column: 2; grid-row: 5 / 7; }


.band__card {
  overflow: hidden;
  position: relative; 
}

.band__card a {
  display: block;
  text-decoration: none;
  height: 100%; 
}

.band__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.band__card:hover img {
  transform: scale(1.1);
}

.band__card h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: var(--site-text-color);
  padding: 15px;
  margin: 0;
  transition: font-size 0.3s ease;
}

.band__card:hover h3 {
  font-size: 1.5rem;
}

.band__card p {
  font-family: 'Syne', -apple-system, sans-serif !important;
  color: var(--link-color);
  font-size: 1.5rem;
  position: absolute;
  top: 25px;
  right: 0;
  transform: rotate(-90deg);
  padding: 15px 0;
}

@media (max-width: 768px) {
  .cover--band { height: 50vh; margin: 0; }

  .grid-band {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 15px;
    height: auto;
  }

  .band__card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .band__card { aspect-ratio: 4/3; }
  .band__card:nth-child(1) { aspect-ratio: 3/4; }
  .band__card:nth-child(4) { aspect-ratio: 3/4; }
}



/* ------------------------------------------------------------------------- *
/* New album page */
/* ------------------------------------------------------------------------- */

.album {max-width: 900px;
display: flex;
justify-content: space-between;
}

.album__text {
  background-color: var(--link-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 380px;
  width: 380px;
  padding: 40px;
}

.album .track-card {width: 380px; height: 380px;  display: flex;padding: 0;}

.album__text p {font-size: 2rem;}

.album .track-card__top { padding:0;}


.album .track-card__overlay { background: none;}



@media (max-width: 768px) {
	.album {justify-content: center;}	
	.album__text {margin-bottom: 40px; height:auto;}
	.album__text h3{font-size: 2rem;}
	.link__icons {display: flex; flex-direction: column; gap:0;}
	
}


/* ------------------------------------------------------------------------- *
/* Griglia concerti */
/* ------------------------------------------------------------------------- */

.grid-concerti {
  background: var(--site-text-color);
  color: var(--site-bg);
  width: 100%;
  position: relative;
  padding: 0;
}

.lista-concerti {
  display: flex;
  align-items: center;
  max-width: 800px;
  border-top: 1px solid var(--site-bg);
}

.lista-concerti .col-20 {
  padding: 0;
  flex-shrink: 0; /* Impedisce al box data di rimpicciolirsi */
}

.lista-concerti .col-65 {
  flex: 1; /* Permette alla colonna centrale di ridursi */
  padding: 0 15px;
}

.lista-concerti .col-15 {
  flex-shrink: 0; /* Impedisce al box orario di rimpicciolirsi */
}

.show-date {
  background: var(--link-color);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 5px;
}

.show-date p {
  font-family: 'Syne', -apple-system, sans-serif !important;
  font-weight: 700;
}

.day { font-size: 4rem;  margin: 0;line-height: 1;}

.month {font-size: 1.5rem; margin: 0;}

.time {background: var(--site-bg); font-size: 1rem; padding: 10px; white-space: nowrap; color: var(--site-text-color)} 

.lista-concerti {
  transition: all 0.3s ease;
}

.lista-concerti:hover {
  transform: translateX(20px);
}

/* Responsive */
@media (max-width: 768px) {
  .lista-concerti {
    max-width: 100%;
  }
  
  .day {
    font-size: 3rem;
  }
  
  .month {
    font-size: 1.2rem;
  }
  
  .lista-concerti .col-65 h3 {
    font-size: 1rem;
  }
  
  .time {
    font-size: 0.9rem;
    padding: 8px 5px;
  }
}

@media (max-width: 480px) {
  .day {
    font-size: 2.5rem;
  }
  
  .month {
    font-size: 1rem;
  }
  
  .lista-concerti {margin-bottom: 50px;}
  .lista-concerti .col-65 h3 {
    font-size: 0.9rem;
  }
  
  .lista-concerti .col-65 {
    padding: 0 10px;
  }
}


/* ------------------------------------------------------------------------- *
/* Grafiche sovrapposte varie sezioni */
/* ------------------------------------------------------------------------- */


.graph {
    position: absolute;
    width: 200px;
    height: 200px;
    z-index: 1;
}
@media (max-width: 768px) {.graph {width: 100px; height: 100px;}}

.graph-top-dx {
    top: 0;
    right: 0;
}

.graph-bottom-sx {
    bottom: 0px;
    left: -2%;
}


.graph-bottom-sx-white {
    bottom: -2%;
    left: -3%;
    transform: rotate(100deg);
    filter: brightness(0) invert(1); /* bianco */
}

.graph-bottom-dx-white {
    top: -2%;
    right: -7%;
    transform: rotate(0deg);
    filter: brightness(0) invert(1); /* bianco */
}


/* ------------------------------------------------------------------------- *
/* Footer Menu */
/* ------------------------------------------------------------------------- */

.footer-container {
  background-color: var(--link-color)!important;
  padding: 0;
  margin-top: 0;
}

.footer-container .col-100 {
  background-color: var(--link-color)!important; 
  padding-top: 50px;
} 

.footer__social {
  justify-content: center;
  position: relative;
  max-width: none;
}

.footer__social__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer__social .social-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.footer__social .icons-bump {
  flex-shrink: 0;
}

.footer__social a {
  color: var(--site-text-color);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.8;
}

.footer__social a:hover {
  opacity: 1;
}

.footer__menu {
  position: relative;
  background-color: var(--site-text-color);
  color: var(--link-color);
  align-items: center;
  max-width: none;
}

.footer__menu a {
  color: var(--link-color)!important;
}


.footer__menu p {
  padding: 16px; 
  margin: 0;
}

.item-footer-menu {list-style-type: none;}


.footer__menu .footer__icons img {
	display: inline; 
	width: 15px; 
	height: 15px; 
	vertical-align: middle;
	margin:3px;
    transition: transform .2s ease;
} 

.footer__menu .footer__icons a:hover img
{transform: scale(1.2);}


@media (max-width: 768px) {
    .footer__menu {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__social .col-33 {
        flex-direction: column;
        gap: 15px;
    }
}



/* ------------------------------------------------------------------------- *
/* Single page custom canzone e custom band */
/* ------------------------------------------------------------------------- */

.canzone-layout,
.band-layout {
    display: flex;
    min-height: 100vh;
    align-items: stretch;
}


.canzone-image-wrapper,
.band-image-wrapper {
    position: relative;
    overflow: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
}

.canzone-image-parallax,
.band-image-parallax {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.canzone-content,
.band-content {
    padding: 0px 0 0 40px!important;
    overflow-y: auto;
}

.canzone-image, 
.band-image {width: 100%;}

.canzone-title,
.band-title {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.canzone-album a,
.band-instrument {
    font-size: 1.2rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 700;
}

.canzone-text {min-height:1200px;}
.band-text {min-height:700px;}

.band-instrument {border-bottom: 1px solid var(--link-color);}

.canzone-loop h3, .band-loop h3{color: var(--site-text-color)}
.canzone-loop .text-2  {color: var(--link-color)}

.band-loop .img-16-9 {
    object-fit: cover;
    object-position: center center;
}

/* Effetto Parallax con JavaScript */
.parallax-active {
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}



@media (max-width: 768px) {
    .canzone-layout,
    .band-layout {
        flex-direction: column;
        min-height: auto;
    }
    
    .canzone-image-wrapper,
    .band-image-wrapper {
        position: relative;
        height: 60vh;
        position: relative;
        top: auto;
    }
    
    .canzone-content, 
    .band-content {
        padding: 30px 20px;
    }
    
    .canzone-text, .band-text, .canzone-image, .band-image {margin-top: 30px;}
    .canzone-title, .band-title {font-size: 2rem;}

    .canzone-text,
    .band-text {min-height:0;}
  }



/* ------------------------------------------------------------------------- *
/* Helpers */
/* ------------------------------------------------------------------------- */

.wrapper .spacer {height: 50px;}
.mt-6 {margin-top: 60px;}
.pt-5 {padding-top: 7%;}

.text-glow,
.text-glow p{
  text-shadow: 
   -1px -1px 0 rgba(255,255,255,.6),
    1px -1px 0 rgba(255,255,255,.6),
   -1px  1px 0 rgba(255,255,255,.6),
    1px  1px 0 rgba(255,255,255,.6);
}


.grey {color: var(--site-bg);}

.social-item img { width: 34px; height: 34px;}
.social-item a { display: inline-block; transition: transform .2s ease;}
.social-item a:hover {transform: scale(1.3);}


.col-65{ width: 65%; }
.col-15{ width: 15%; }

.relative {position: relative;}

.item-footer-menu li a {
  display: block;
  padding: 12px 16px;
  min-height: 44px;
}


