/* ---------------------------- */
/* Intro fullscreen */
.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease;
}

.intro-logo {
  width: 200px;
  opacity: 0;
  transform: scale(0.5);
  animation: logoIn 1s forwards;
}

@keyframes logoIn {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ---------------------------- */
/* Body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
}

/* ---------------------------- */
/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

#logo {
  height: 70px;
}

/* Hamburger */
.hamburger {
  display: flex;
  position: absolute;
  top: 50%;
  right: 60px;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger div {
  background-color: #fff;
  height: 3px;
  border-radius: 2px;
}

/* Overlay menu */
.dropdown {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  z-index: 100;
}

.dropdown.active {
  display: flex;
  animation: dropdownFade 0.5s ease forwards;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-black {
  background: #000;
  height: 20%;
  width: 100%;
}

.dropdown-white {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  padding: 40px 50px;
  flex: 1;
  overflow-y: auto;
}

.left a {
  position: relative;
  display: block;
  margin-bottom: 15px;
  text-decoration: none;
  font-size: 100px;
  font-weight: bold;
}

.left .text-base {
  color: #000;
  display: block;
  font-size: 90px;
}

.left .text-hover {
  position: absolute;
  top: 0;
  left: 0;
  color: #e50914;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  font-size: 80px;
  font-family: 'Courier New', monospace; /* font diverso, come volevi */
}

.left a:hover .text-hover {
  opacity: 1;
}

/* Menu destra */
.right p {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 80px;
}

.right a {
  display: block;
  color: #000;
  text-decoration: none;
  margin-bottom: 30px;
  font-size: 20px;
}

.right .social a {
  margin-right: 15px;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 30px;
}

.right .email:hover,
.social a:hover {
  color: #e50914;
}

/* ---------------------------- */
/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title .line1 {
  font-family: 'Arial', sans-serif;
  font-size: 50px;
}

.hero-title .line2 {
  font-family: 'Courier New', monospace;
  font-size: 60px;
  color: #e50914;
  margin-top: 10px;
}

/* Bottone hero */
.hero-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 15px 40px;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.hero-button .button-icon {
  display: inline-block;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.4s ease;
}

.hero-button:hover {
  background: transparent;
  color: #fff;
  padding-left: 70px;
}

.hero-button:hover .button-icon {
  opacity: 1;
  transform: translateX(0);
  color: #e50914;
}

/* ---------------------------- */
/* Works section */
.works {
  padding: 80px 40px;
  text-align: center;
  background: #000;
}

.works-title {
  font-size: 40px;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Slider */
.works-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.works-slider::-webkit-scrollbar {
  display: none;
}

.work-card {
  min-width: 300px;
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-10px);
}

.work-image {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid #81b9c8;
}

.work-image img {
  width: auto;
  height: 300px;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 20px 20px 0 0;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.overlay i {
  color: #fff;
  font-size: 40px;
}

.work-card:hover .overlay {
  opacity: 1;
}

.work-title {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 0 5px;
}

.work-desc {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 20px;
}

/* ---------------------------- */
/* About section */
.about, .team, .contact {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding: 80px 60px;
}

.about-image {
  width: 135%;
  height: auto;          /* mantiene le proporzioni originali */
  display: block; 
  margin: 20px auto;     /* centra l'immagine */
  border-radius: 12px;
}

.team-image {
  width: 200%;
  height: auto;          /* mantiene le proporzioni originali */
  display: block; 
  margin: 20px auto;     /* centra l'immagine */
  border-radius: 12px;
} 

 .team-button {
  display: inline-block;
  padding: 15px 30px;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
	margin-top: 120%;
	 margin-left: -15%;
}

.about-left, .about-right, .team-left, .team-right, .contact-left, .contact-right {
  flex: 1;
}

.about-title, .team-title, .contact-title {
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-subtitle, .team-subtitle {
  font-size: 40px;
  color: #e50914;
  margin-bottom: 30px;
}

.about-text, .team-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-button {
  display: inline-block;
  padding: 15px 30px;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  margin-left: 35%;

}

.team-button, .contact-button {
  display: inline-block;
  padding: 15px 30px;
  background: #fff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.about-button:hover, .team-button:hover, .contact-button:hover {
  background: #e50914;
  color: #000;
}

/* ---------------------------- */
/* Contact section */
.contact {
  background: #000;
  color: #fff;
}

.contact-title span:first-child { color: #fff; }
.contact-title span:last-child { color: #e50914; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #111;
  color: #fff;
}

.contact-form textarea { resize: none; min-height: 150px; }

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #aaa; }

.contact-email {
  display: block;
  color: #fff;
  font-weight: bold;
  margin-bottom: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-email:hover { color: #e50914; }

.contact-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  margin-bottom: 15px;
}

.contact-social a:hover { color: #e50914; }

/* ---------------------------- */
/* Media queries */
@media (max-width: 900px) {
  .about, .team, .contact {
    flex-direction: column;
    text-align: center;
  }
  .about-left, .about-right,
  .team-left, .team-right,
  .contact-left, .contact-right {
    flex: none;
    width: 100%;
  }
}

/* ---------------------------- */
/* Footer */
.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* centra verticalmente il contenuto */
  align-items: center;      /* centra orizzontalmente il contenuto */
  width: 100%;
  background: #111;
  color: #fff;
  padding: 40px 20px;
  font-size: 16px;
  border-top: 2px solid #81b9c8;
  box-sizing: border-box;   /* importante per padding */
  text-align: center;       /* fallback */
}

.site-footer .footer-content p {
  margin: 5px 0;
}

.site-footer .footer-links {
  margin: 10px 0;
}

.site-footer .footer-links a {
  color: #e50914;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}

.site-footer .footer-links a:hover {
  color: #fff;
}

/* Responsive footer */
@media (max-width: 900px) {
  .site-footer {
    font-size: 14px;
    padding: 30px 20px;
  }

  .site-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .site-footer .footer-links a {
    margin: 0;
  }
}

/* Chi siamo */
.about-container {
  max-width: 1000px;
  margin: 120px auto 80px auto;
  text-align: left;
  color: #fff;
  padding: 0 20px;
}

.about-small {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 20px;
}

.about-main-title {
  font-family: 'Roboto Slab', serif;
  font-size: 60px;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.about-subtitle {
  font-size: 90px;
  color: #e50914;
  margin-bottom: 100px;
}

.about-photo img {
  width: 100%;
  max-width: 900px;
  border-radius: 20px;
  margin-bottom: 50px;
}

/* Slider automatico */
.word-slider {
  font-size: 40px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  gap: 50px;
  overflow: hidden;
  height: 50px;
}

.slider-word {
  display: inline-block;
  transition: transform 0.1s;
}

.about-text {
  text-align: right;        /* testo allineato a destra */
  font-size: 20px;
  color: #ccc;
  margin-top: 30px;
  max-width: 400px;         /* larghezza massima per forzare il testo su più righe */
  margin-left: auto;         /* spinge il blocco a destra */
  margin-right: 10%;       /* piccolo margine dalla destra */
  line-height: 1.6;         /* maggiore leggibilità */
}

.about-photos {
  display: flex;
  justify-content: center;   /* centra le immagini orizzontalmente */
  gap: 20px;                 /* spazio tra le immagini */
  margin-top: 40px;           /* distanza dal testo sopra */
}

.about-photos img {
  width: 45%;                /* entrambe occupano circa metà contenitore */
  height: auto;              /* mantiene proporzioni */
  border-radius: 10px;       /* angoli arrotondati, opzionale */
  object-fit: cover;         /* ritaglio proporzionato */
}

/* Responsive per schermi piccoli */
@media (max-width: 768px) {
  .about-photos {
    flex-direction: column;  /* le immagini vanno una sotto l'altra */
    gap: 20px;
  }
  .about-photos img {
    width: 100%;
  }
}
.about-next-section {
  display: flex;
  gap: 50px;             /* spazio tra sinistra e centro */
  margin-top: 60px;
  align-items: flex-start;
  padding: 0 40px;       /* spazio a sinistra e a destra dell'intera sezione */
}

/* Blocco sinistra */
.about-left {
  padding-left: 20px;     /* margine interno a sinistra */
}

.about-left-top {
  font-size: 30px;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.about-left-bottom {
  font-size: 50px;
  color: #e50914;
  font-family: 'Courier New', monospace; 
  margin-top: 2px;
}

.about-main-title {
	font-size: 30px;
}

.about-subtitle {
	font-size: 80px;
}

.about-text {
	font-size: 25px;
}

/* Blocco centro (quello di destra) */
.about-center {
  flex: 1;
  padding-right: 20px;   /* margine interno a destra */
}

.about-center-top {
  font-size: 15px;
  font-weight: bold;
  text-align: left;
  line-height: 1;
  margin-bottom: 10px;
}

.about-center-bottom p {
  font-size: 20px;
  line-height: 2;
  margin: 5px 0;
  background-color: #e50914;
  color: #000000;
}

.about-photo {
  width: 100%;
  text-align: center;      /* centra l'immagine */
  margin-top: 40px;        /* spazio dalla sezione superiore */
}

.about-photo img {
  max-width: 80%;         /* scala l'immagine al contenitore */
  height: auto;
  border-radius: 10px;     /* angoli arrotondati se vuoi */
}

.about-center-text {
  width: 60%;               /* limita la larghezza per creare linee più corte */
  max-width: 1000px;        /* non troppo larga su schermi grandi */
  text-align: center;        /* centra la frase */
  margin: 40px auto;         /* spazio sopra e sotto, centrato */
  padding: 0 20px;           /* padding laterale */
}

.about-center-text p {
  font-size: 30px;           /* dimensione grande */
  font-weight: bold;
  background-color: #e50914; 
  color: #000000;               /* colore della frase */
  line-height: 1.;          /* distanza tra le righe */
  word-wrap: break-word;     /* spezza parole se necessario */
}

.mission-left {
  margin-left: 60px; /* spazio dal bordo sinistro */
  color: #fff;
  max-width: 500px; /* larghezza massima per linee leggibili */
}

.mission-small {
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
  color: #ccc;
}

.mission-large {
  font-size: 36px;
  font-weight: bold;
  margin: 5px 0;
  color: #fff; /* colore diverso per evidenziare */
}

.mission-xlarge {
  font-size: 48px;
  font-weight: bold;
  margin: 5px 0;
  color: #fff;
}

.mission-xxlarge {
  font-size: 70px;
  font-weight: bold;
  margin: 5px 0;
  color: #e50914; /* puoi scegliere un altro colore */
}

.mission-small-bottom {
  font-size: 20px;
  margin-top: 15px;
  line-height: 1.5;
  color: #ccc;
}

.mission-photos {
  display: flex;
  justify-content: flex-start; /* allinea a sinistra */
  gap: 20px; /* spazio tra le foto */
  margin-left: 60px; /* margine dal bordo sinistro */
  margin-top: 30px;
}

.mission-photo {
  width: 48%; /* due foto affiancate con spazio */
  height: auto;
  border-radius: 10px; /* opzionale: angoli arrotondati */
  object-fit: cover;
}

.team-container {
  max-width: 1200px;
  margin: 120px auto 80px auto;
  padding: 0 20px;
  color: #fff;
  text-align: center;
}

.team-container h2 {
  font-size: 60px;
  margin-bottom: 60px;
  color: #e50914;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.team-card {
  background: #111;
  border-radius: 20px;
  overflow: hidden;
  width: 250px;
  padding-bottom: 20px;
}

.team-card img {
  width: 100%;
  height: auto;
  display: block;
}

.team-card h3 {
  font-size: 24px;
  margin: 15px 0 5px 0;
  color: #fff;
}

.team-card p {
  font-size: 18px;
  color: #e50914;
}

/* Base globali per evitare overflow */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden; /* blocca scroll orizzontale */
}

/* Responsive ultra compatto */
@media (max-width: 480px) {

  body, html, .privacy-container, .about-container, .team-container, .contact {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 10px;
  }

  /* Header */
  .header {
    padding: 5px 10px;
  }

  #logo {
    height: 40px;
  }

  .hamburger {
    right: 15px;
    top: 50%;
  }

  /* Overlay menu */
  .dropdown-white {
    flex-direction: column;
    padding: 15px;
  }

  .left a {
    font-size: 22px;
    white-space: normal; /* evita che il testo esca dallo schermo */
    word-wrap: break-word;
  }

  .left .text-base { font-size: 20px; }
  .left .text-hover { font-size: 18px; }

  .right p { font-size: 16px; }
  .right a, .right .social a { font-size: 14px; }

  /* Hero */
  .hero-title .line1 { font-size: 18px; }
  .hero-title .line2 { font-size: 20px; }

  .hero-button {
    padding: 8px 12px;
    font-size: 12px;
  }

  /* About / Team / Mission / Contact */
  .about, .team, .contact, .about-next-section, .mission-photos {
    flex-direction: column !important;
    gap: 10px;
    padding: 10px 5px !important;
  }

  .about-title, .team-title, .contact-title { font-size: 22px; }
  .about-subtitle, .team-subtitle { font-size: 16px; }

  .about-text, .team-text, .mission-left, .mission-small, .mission-large,
  .mission-xlarge, .mission-xxlarge {
    font-size: 12px !important;
    line-height: 1.2;
  }

  .about-photos img, .mission-photo, .about-photo img {
    width: 100% !important;
    height: auto;
    border-radius: 8px;
  }

  .team-card { width: 100%; padding: 10px 0; }

  .team-card h3 { font-size: 14px; }
  .team-card p { font-size: 12px; }

  /* Contact form */
  .contact-form input, .contact-form textarea { font-size: 12px; }
  .contact-button { font-size: 12px; padding: 8px 10px; }

  /* Footer */
  .site-footer {
    font-size: 10px;
    padding: 10px 5px;
    width: 100%;
  }

  .site-footer .footer-links {
    flex-direction: column;
    gap: 3px;
  }

  .site-footer .footer-links a { font-size: 10px; margin: 0; }

  /* Slider parole */
  .word-slider { font-size: 14px; height: 20px; }

  /* Forza tutto a stare dentro lo schermo */
  img, video, iframe, .work-card, .team-card, .about-photo, .mission-photo {
    max-width: 100%;
    height: auto;
  }

  h2, h3, p, span {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* TALENT PAGE */
.talent-container {
  text-align: center;
  padding: 120px 20px;
}

.talent-container h2 {
  font-size: 50px;
  margin-bottom: 50px;
  color: #e50914;
}

.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  width: 90%;
  margin: auto;
}

.talent-card {
  text-align: center;
}

.talent-card img {
  width: 70%;
  object-fit: cover;
  border-radius: 12px;
}

.talent-card h3 {
  margin-top: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #e50914
}

.talent-social {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.talent-social a {
  font-size: 24px;
  color: white;
  transition: .3s;
}

.talent-social a:hover {
  transform: scale(1.2);
}
