@font-face{
    font-family: MyFont;
    src: url(./fonts/quiny.ttf);
    
}

/* Texte général */
body {
    margin: 0;
    font-family: Poppins, sans-serif;
    font-size: 20px;
    background-color: black;
    color: white;
}

.logo {
    font-size: 20px; /* Taille plus grande pour le texte */
    font-weight: bold;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.566);
    color: white;
    z-index: 1000;
}

.navbar a {
    text-decoration: none;
    color: white;
    margin: 0 25px;
    font-size: 18px;
    position: relative;
    margin-right: 60px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #ffa353ec;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

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

/* --------------------------------- 

/* Section vidéo d'intro */
.videointro {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw; /* Prend toute la largeur de la fenêtre */
    height: 100vh; /* Prend toute la hauteur de la fenêtre */
    background-color: black; /* Assure que le fond est noir */
    overflow: hidden; /* Empêche les débordements de contenu */
    position: relative;
}

.videointro video {
    width: 100vw; /* La vidéo prend toute la largeur de la fenêtre */
    height: 100vh; /* La vidéo prend toute la hauteur de la fenêtre */
    object-fit: contain; /* La vidéo s'adapte sans être coupée */
}

/*--------------Hook-------------------*/

.text-block {
    width: 60%; /* Ajustable pour le centrage */
    max-width: 800px;
    margin: 50px auto; /* Centre le bloc */
    padding: 30px;
    
    color: white;
    text-align: center;
    border-radius: 20px; /* Angles arrondis */
    font-size: 18px;
    line-height: 1.6;
}

.text-block .section-title {
    font-size: 50px;  /* Taille du titre plus grande */
    margin-bottom: 20px;  /* Espace sous le titre */
    font-weight: n; /* Met le titre en gras */
}

/*---------------------Stickers---------*/

/* Contenitore principale per il layout */
.sticker-container {
    display: flex;
    width: 100%;
    height: 100vh; /* Altezza fissa al 100% della finestra */
    margin: 0; /* Rimuove i margini per evitare scorrimenti */
    padding-left: 50px; /* Sposta il contenuto a destra */
    justify-content: flex-end; /* Allinea gli oggetti a destra */
    box-sizing: border-box; /* Assicura che padding e margin non influenzino le dimensioni */
}

/* Wrapper per l'immagine */
.sticker-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Imposta l'altezza del wrapper al 100% della finestra */
    margin: 0; /* Rimuove margini */
}

/* Stile per l'immagine */
.sticker {
    width: 80%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.2s;
}

/* Effetto hover per lo sticker */
.sticker:hover {
    transform: scale(1.1);
}



/* -----------------Sezioni fotografiche----------------------- */

/* Descrizione foto */
.description {
    flex: 1;
    padding: 20px;
    min-width: 300px;
    margin-top: -40px;
}

.gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: left;
}

img {
    width: 90%;
    max-width: 100%;
    border-radius: 10px;
}

.foto-sezione h1 {
    text-align: center;
    font-size: 60px;
    margin-bottom: 30px;
    font-family: MyFont;
}

.foto-sezione {
    padding: 40px;
}

.photo-section {
    padding: 40px;
    color:#111111;
    margin-bottom: 30px;
}

.photo-section .description p {
    font-size: 18px; /* Ajustez cette valeur selon vos préférences */
}

/* Vyzo - Giallo */
.vyzo {
    background-color: #ffcc00;
}


/* Vans - Rosa */
.vans {
    background-color: #ff66b2;
}

/* Parfum - Grigio chiaro */
.parfum {
    background-color: #d3d3d3;
    color: #111111;
}

/* Wrapper per la griglia */
.wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 980px;
    margin: auto;
    padding: 10px;
}

/* Style du paragraphe piano */
.intro-text {
    font-size: 20px;/* Taille de la police du même ordre que le titre */
    line-height: 1.4;
    text-align: center;  /* Assure que le texte commence au même endroit que le titre */
    margin: 0 0 20px 20px;  /* Supprime les marges en haut et à gauche, espace seulement en bas */
    color: #111111;
    max-width: 80%;
}

/* Titolo della sezione Piano */
.piano h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

/* Paragrafo della sezione Piano */
.piano p {
    font-size: 18px;
    max-width: 800px; /* Imposta una larghezza massima per non allargare troppo il testo */
    margin: 0 auto 30px auto; /* Centra il paragrafo */
    line-height: 1.6;
    color: #111111;
}

.piano {
    background-color: #e2d39cca;
}

.altern-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.altern-gallery-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.altern-gallery-item img {
    width: 45%;
    display: block;
    border-radius: 8px;
}
.altern-gallery-item p {
    width: 45%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
}
.altern-gallery-item:nth-child(even) {
    flex-direction: row-reverse;
}
@media (max-width: 768px) {
    .altern-gallery-item {
        flex-direction: column !important;
        text-align: center;
    }
    .altern-gallery-item img, .altern-gallery-item p {
        width: 100%;
    }
}






/* -----------------Sezione Video------------------ */
.video-section {
    padding: 40px;
    text-align: center;
}

.video-section h1 {
    font-size: 60px;
    margin-bottom: 30px;
}

/*  Grille vidéos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-item {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* Style du bouton "Voir plus" en overlay */
.video-item a {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center; /* Centre le texte */
    color: white;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    opacity: 0;  /* Caché par défaut */
    transition: opacity 0.3s ease-in-out;
    z-index: 2; /* Assure que le texte est bien au-dessus */
}

/* Ajout d'un overlay sombre pour améliorer la lisibilité */
.video-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Assombrissement renforcé */
    opacity: 0;
}

/* Effet au survol : affichage du bouton et de l'overlay */
.video-item:hover a,
.video-item:hover::after {
    opacity: 1;
}

/* Optionnel : léger zoom de l’image au survol */
.video-item:hover .video-thumbnail {
    transform: scale(1.05);
}



/*----------------2 pagina video------------------*/

/* Conteneur principal */
.video-detail {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
    gap: 40px; /* Espace entre les éléments */
}

/* Bloc de description */
.video-info {
    flex: 1;
    padding: 30px;
    background: #ff932e;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Titre qui sort du cadre orange */
.video-section h1 {
    text-align: center;
    font-size: 60px;
    margin-bottom: 30px;
    font-family: MyFont;
}

/* Sous-titre et description */
.video-info h3 {
    font-size: 22px;
    font-style: italic;
    color: #000000;
    margin-bottom: 15px;
}

.video-info p {
    font-size: 18px;
    color: #000000;
    line-height: 1.6;
}

/* Bloc vidéo */
.video-player {
    flex: 1;
    height: 400px;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: #000;
}

/* Vidéo en iframe */
.video-player iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.pdf-container {
    text-align: center;
}

.pdf-link {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    background-color:#0b0b0bec;
    color: rgb(255, 255, 255);
    border-radius: 5px;
    transition: background 0.3s ease;
}

.pdf-link:hover {
    background-color: #ab6111b3;
    ;
}


/* Responsive */
@media (max-width: 900px) {
    .video-detail {
        flex-direction: column;
        text-align: center;
    }

    .video-info h1 {
        font-size: 36px;
    }

    .video-info {
        padding: 20px;
    }

    .video-player {
        height: 300px;
        max-width: 100%;
    }
}



/*----------------------Affiches-----------------------*/
.poster-section {
    margin: 20px;
}

.poster-section h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
}

.poster-title {
    text-align: left;
    font-size: 28px;
    margin: 60px 0 15px; /* Plus d'espace autour des titres */
}

.poster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Trois colonnes */
    gap: 20px;
    justify-items: center;
}

/* Centrer et occuper toute la largeur de la page */
.logo-grid {
    display: flex;
    justify-content: space-between; /* Espacement égal entre les logos */
    align-items: center;
    width: 100%; /* Prend toute la largeur de la page */
    margin-top: 60px; /* Augmente l'espace au-dessus */
    padding: 0 30px 0 20px; /* Ajoute plus d'espace à droite */
}

/* Agrandir les logos et les répartir sur toute la largeur */
.logo-item {
    display: flex;
    justify-content: center;
    flex: 1; /* Chaque logo prend une largeur égale */
    padding: 0 10px; /* Espacement entre les logos */
}

.logo-item img {
    width: 100%; /* Chaque logo occupe 100% de la largeur de son conteneur */
    max-width: 400px; /* Augmente la taille des logos (maximum) */
    height: auto;
    object-fit: contain; /* Maintient les proportions des logos */
}

.logo-grid {
    display: flex;
    justify-content: center; /* Centre les logos horizontalement */
    gap: 20px; /* Espace entre chaque logo */
    flex-wrap: wrap; /* Permet aux logos de passer à la ligne suivante si nécessaire */
}

.logo-item {
    display: flex;
    flex-direction: column; /* Aligne l'image et le titre verticalement */
    align-items: center; /* Centre les éléments horizontalement */
    justify-content: space-between; /* Répartit l'espace de manière égale pour que tout soit à la même hauteur */
    height: 400px; /* Hauteur uniforme pour chaque logo */
    text-align: center; /* Centre le texte du titre */
    width: 300px; /* Largeur des logos, ajustable selon ton besoin */
}

.logo-item img {
    width: 100%; /* Chaque image prend toute la largeur du conteneur */
    height: 60%; /* Hauteur fixe pour toutes les images */
    object-fit: contain; /* Garantit que l'image est bien proportionnée */
}

.logo-title {
    margin-top: 10px; /* Ajoute de l'espace entre le logo et le titre */
    font-size: 1.2em; /* Taille du titre */
    color: white; /* Couleur du titre (tu peux ajuster selon ton besoin) */
}







/*cuciniamo*/
.video-cuciniamo {
    display: flex;
    justify-content: center; /* Centre horizontalement le contenu */
    align-items: center; /* Centre verticalement le contenu */
    height: 100vh; /* Utilise toute la hauteur de la page */
    width: 100%; /* Utilise toute la largeur de la page */
}

.video-cuciniamo-container {
    display: flex;
    justify-content: center; /* Centre les éléments à l'intérieur du conteneur */
    align-items: center; /* Centre verticalement la vidéo et le texte */
    gap: 20px; /* Un petit espace entre le vidéo et le texte */
    max-width: 1200px; /* Limite la largeur du conteneur */
    width: 90%; /* Largeur du conteneur */
}

.media-video {
    width: 25%; /* Largeur de la vidéo */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.media-description {
    width: 50%; /* Largeur du texte */
    color: white;
    text-align: left; /* Aligne le texte à gauche */
}

.media-description h3 {
    margin: 0;
    font-size: 1.5em;
}

.media-description p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-top: 10px;
    color: white;
}

@media (max-width: 768px) {
    .poster-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur petits écrans */
    }
}







/*---------------------Qui suis je?-------------------*/
.about-me-container {
    display: flex;
    background: white;
    width: 100%;
    height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.about-me-image {
    flex: 1;
    display: flex;
    justify-content: flex-start; /* Align image to the left */
    align-items: center;
    padding-left: 0; /* Ensure no padding on the left */
}

.about-me-image img {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    margin-top: 60px;
    margin-bottom: 43px;
    margin-left: -45px;
}

.about-me-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.about-me-container h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #fd8b39;
    font-family: MyFont;
}
p {
    font-size: 1rem;
    color: #000000;
    line-height: 1.5;
}


















/*-------Footer-------------------*/
/* Stile del footer */
.site-footer {
    background-color: rgb(0, 0, 0); /* Stesso stile del navbar */
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-content p{
    color:white ;
    font-size: 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-content a {
    color: #ffa353; /* Stesso colore dell'hover del navbar */
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: white;
}















  