
    /*
    Theme Name: AntoineZucconi
    Theme URI: https://miosito.com
    Author: Francesca Guagliardo
    Author URI: https://bit.ly/guagliardobook
    Description: Our fantastic base theme
    Version: 1.0
    Requires at least: 5.0
    Tested up to: 5.4
    Requires PHP: 7.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: antoinezucconi
    This theme, like WordPress, is licensed under the GPL.
    Use it to make something cool, have fun, and share what you've learned with others.
    */

/* ! ------------------------------- GENERALI -----------------------------------  */
/* Nasconde le scrollbar su tutti gli elementi e browser */
html, body {
  overflow-y: auto; /* permette lo scorrimento */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

@media screen and (max-width: 768px) {
  .scroll-container {
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
  }

  .scroll-container::-webkit-scrollbar {
    display: none;             /* Chrome, Safari */
  }
}

img {
  -webkit-touch-callout: none; /* Prevents opening the image in the iOS image viewer */
  -webkit-user-select: none; /* Disables text selection on images */
  -moz-user-select: none; /* Firefox support */
  -ms-user-select: none; /* Internet Explorer support */
  user-select: none; /* Prevents text selection on images */
  -webkit-user-drag: none; /* Disables image dragging on WebKit-based browsers */
  user-drag: none; /* General image dragging prevention */
} 

/* Nasconde le scrollbar WebKit */
*::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
}

*{font-family: "Larken", serif; letter-spacing: 0.4px;}
a{text-decoration: none; color: white;}
p{line-height: 1.3;}

  body, html {box-sizing: border-box; margin:0; padding:0; background-color: black;}
  *,*:before, *:after {box-sizing: border-box;}
  h1, h2, h3, h4, h5, h6, p, ol, ul {margin: 0; padding: 0;}
  ol, ul {list-style: none;}

/* ! ------------------------------- CURSORI -----------------------------------  */
   /* ! ---- graphisme ------  */
  .page-id-8 {
    cursor: url('http://antoinezucconi.fr/wp-content/uploads/2025/02/cursorStudio.png') 8 8, auto;
  }

  /* ! ----- home ---------  */
  .page-id-17 {
    cursor: url('http://antoinezucconi.fr/wp-content/uploads/2025/02/cursorHome.png') 8 8, auto;
  }

  /* ! -----  atelier ----  */
  .page-id-2 {
    cursor: url('http://antoinezucconi.fr/wp-content/uploads/2025/02/cursorAtelier.png') 8 8, auto;
  }


/* ! ------------------------------- BANDE -----------------------------------  */

.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.banda {
  text-decoration: none;
  font-weight: 400;
  padding: 10px 15px 10px;
  border-left-color: white;
  border-left-style: solid;
  border-left-width: 1.5px;
  text-align: left;
  display: inline-block;
  /*background: black;*/
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 17px;
}


.banda.small {
  flex: 1 1 auto;
}

.banda.medium {
  flex: 2 1 auto;
}

.banda.large {
  flex: 3 1 auto;
}

/* Hover effects */
.banda:hover {
  font-style: italic;
  background: rgb(238, 238, 229); 
  color: black !important;
}

.italic {
  font-style: italic;
}

/* ! ------------------------------- GENERALI GALLERIA -----------------------------------  */

.container-galleria {
  position: relative;
  display: flex;
  align-items: flex-start !important;
  left: 0;
  width: 100vw;  
  overflow-x: hidden;
  padding: 20px;
}

.galleria {
  display: flex;
  overflow-x: hidden;
  position: relative;
  align-items: flex-start;
  /* background-color: rgb(212, 144, 26);*/
  margin: 0 auto;
  padding-top: 60px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  gap: 50px;
}

.griglia {
    overflow-x: hidden;
    position: relative;
    max-width: 100%;    
    padding-bottom: 40px;
    padding-top: 60px;
    padding-left: 15px;
    padding-right: 20px;
    gap: 10px;
  }

  .griglia > * {
    max-width: 100%;
    min-width: 0;
  }

.trio, .quattro {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start; 
  gap: 20px;
  margin-bottom: 300px;
  width: 100%;
  flex: 1;
}

.trio:last-of-type,
.quattro:last-of-type {
  margin-bottom: 0;
}

.trio img, .quattro img {
  margin: 0 auto;
  display: block;
  object-fit: contain;
  flex-grow: 1 !important;
  height: auto;
  opacity: 0; 
  max-width: 100%;
  overflow-x: hidden;
  justify-content: center;
  align-items: center;
  will-change: transform, opacity; 
  transition: opacity 3s ease-out;
}

/* Larghezza fissa per elementi specifici */
.h0  { flex: 0 0 0% !important; }
.h5  { flex: 0 0 5% !important; }
.h10 { flex: 0 0 10% !important; }
.h15 { flex: 0 0 15% !important; }
.h20 { flex: 0 0 20% !important; }
.h25 { flex: 0 0 25% !important; }
.h30 { flex: 0 0 30% !important; }
.h35 { flex: 0 0 35% !important; }
.h40 { flex: 0 0 40% !important; }
.h45 { flex: 0 0 45% !important; }
.h50 { flex: 0 0 50% !important; }
.h55 { flex: 0 0 55% !important; }
.h60 { flex: 0 0 60% !important; }
.h65 { flex: 0 0 65% !important; }
.h70 { flex: 0 0 70% !important; }
.h75 { flex: 0 0 75% !important; }
.h80 { flex: 0 0 80% !important; }
.h85 { flex: 0 0 85% !important; }
.h90 { flex: 0 0 90% !important; }
.h95 { flex: 0 0 95% !important; }
.h100 { flex: 0 0 100% !important; }

/* Gli elementi che devono occupare lo spazio rimanente */
.hauto { flex: 1 !important; } /* Occupa tutto lo spazio disponibile */


.baseline {
  align-items: end !important;
}


/* ! ---------------------------------- BOTTONI FILTRI -----------------------------------  */
.filters-mobile {
  display: none;
}
.filters {
  display: flex;
  position: fixed;
  top: 5px;
  left: 5px;
  width: 100%;
  align-items: center; 
  justify-content: space-between;
  z-index: 1000;
  color: white;
}


.filters button {
background-color: transparent;
cursor: pointer;
border: none;
color: white;
padding-left: 0px !important;
font-size: 17px;
white-space: nowrap;
padding: 5px 10px;
flex-shrink: 1;
}

.container-buttons {
  display: flex;
  gap: 10px;
  width: 50%;
  flex-shrink: 1;
}

.container-icons img {
  top: 0px;
  width: auto;
  height: 20px;
}

.filters button:hover {
background-color: transparent;
cursor: pointer;
border: none;
font-weight: bold;
text-underline-offset: 8px;
color: white;
}

#reset {
  color: grey;
}

#reset:hover {
text-decoration-line: line-through;
color: grey;
}

.filter-active {
text-decoration-line: underline;
text-underline-offset: 8px;
}


/* ! ---------------------------------- hover filtri -----------------------------------  */
.filter {
      font-size: 2rem;
      position: relative;
      z-index: 2;
      transition: color 0.3s ease;
    }

.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  /*background-color: rgba(0,0,0,1.0);*/
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;   
  flex-direction: column;
  align-items: flex-start;   
  justify-content: flex-start; 
  padding: 100px 500px 0 150px;   
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  white-space: pre-line;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-text {
  font-size: 2rem;
  max-width: 90vw;
  line-height: 1.4;
  width: 60px;
}


/* ! ---------------------------------- GENERALI TITOLETTI -----------------------------------  */
.titoletti {
margin-top: 10px !important;
color: white;
font-size: clamp(14px, 1.5vw, 17px);
font-weight: bold;
}

.titoletti-container {
margin-left: 4px; 
}
      
/* ! ------------------------------  GENERALI ANIMAZIONI IN CSS----------------------------------*/
.filters button span {
opacity: 0; 
}

.testo-blur {
opacity: 0; 
filter: blur(6px); 
transition: opacity 5s ease-in-out, filter 4s ease-in-out; /* Transizioni per opacity e filter */
}

.testo-blur.attivo {
opacity: 1; 
filter: blur(0px); 
}

.titoletti {
opacity: 0; 
transition: opacity 1s ease;
}

.titoletti.visibile {
opacity: 1;
}

.scrittura {
opacity: 1; 
display: inline;
transition: opacity 0.4s ease; 
}

.tableau tbody tr {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s ease, transform 0.5s ease;
}

.tableau tbody tr.visibile {
opacity: 1;
transform: translateY(0);
}

.testo-blur, .tableau tbody tr, .titoletti {
  will-change: opacity, transform;
}
/* ! ---------------  HOVER BLUR FILTRI ?!-------------------*/

#hover-text {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-weight: bold;
text-align: center;
background: rgba(0, 0, 0, 0.5);
padding: 20px;
border-radius: 10px;
-webkit-backdrop-filter: blur(15px);
backdrop-filter: blur(15px);
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease-in-out;
z-index: 1000;
}
/* Nascondi il testo inizialmente */
.hidden {
opacity: 0;
}
/* Mostra il testo */
.visible {
opacity: 1;
}
/* ! -----------------------------------  HOVER PER INGRANDIRE IMMAGINI -------------------------------------*/
.trio img:hover {
animation: scaleUp 0.1s ease-in forwards;
}

.quattro img:hover {
animation: scaleUp 0.1s ease-in forwards;
}

@keyframes scaleUp {
from {
  transform: scale(1); 
}
to {
  transform: scale(1.02); 
}
}

/* ! -----------------------------------  BR (retours ò la ligne specifique) -------------------------------------*/
.mobile-only {
  display: none;
  visibility: hidden;
}
@media screen and (max-width: 600px) {
  .mobile-only {
    display: block;
    visibility: visible;
  }
  .desktop-only {
    display: none;
    visibility: hidden;
  }
}

@media (max-width: 860px) {
/* ! ----------------------------------- FILTRES A SCOMPARSA SU MOBILE -------------------------------------*/
.container-buttons {
  max-height: 20px;
  overflow: hidden;
  padding-top: 0;
  transition: max-height 0.5s ease, padding 0.5s ease;
  width: 85%;
  font-size: 17px !important;
  z-index: 9999;
}
.container-buttons.expanded {
  max-height: 500px;
  z-index: 99;
}
.container-buttons:not(.expanded)::before {
  transition-delay: 0.5s;
}
.container-icons img {
  width: auto;
  visibility: visible;
  top: 0px;
}
body.filters-backdrop-visible::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0, 0, 0, 0.9);*/
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 9;
}


/* ! ----------------------------------- GRAND TELEPHONE OU PETIT IPAD -------------------------------------*/

.filters {
    flex-direction: column;
    width: 95%;
    justify-content: space-between;
    top: 20px;
    padding-left: 15px;
  }
.filters-mobile {
  display: block;
  padding: 0px !important;
}
.filters button {
    width: 100%;
    padding: 0px !important;
    text-align: left;
    font-size: 18px;
    line-height: 1;
    padding: 0px;
  }
.container-buttons {
    margin-right: auto; 
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    width: fit-content;
  }
.trio, .quattro {
    margin-bottom: 100px;
    flex-direction: column;
}
}

/* ! -----------------------------------  SMARTPHONE STANDARD -------------------------------------*/
  @media (max-width: 777px) {


.trio, .quattro {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    margin-bottom: 50px !important;
}

.trio img, .quattro img {
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  flex: 1;
 }

 .banda {
  font-size: 15px;
  padding: 10px 7px 15px;
 }
/* ! -----------------------------------  MASQUE LES BUTONS DES PAGES SPECIFIQUES -------------------------------------*/
.page-id-17 .home {
  display: none;
}
.page-id-8 .graphisme {
  display: none;
}
.page-id-2 .gravure {
  display: none;
}
}

/* ! ----------------------------------- PETIT SMARTPHONE -------------------------------------*/
  @media (max-width: 450px) {
.trio img, .quattro img {
      max-height: 700px;
      object-fit: contain;
     }
  
    }