/* ======================================
   RESET / BASE
====================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background: transparent !important;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}


/* ======================================
   SFONDO PUNTINI ANIMATI
====================================== */
#particle-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5000 !important;
  background: #000;
  pointer-events: none;
  transition: opacity 1s ease;
}

#particle-bg.hide {
  opacity: 0;
}


/* ======================================
   SPLASH / LOGO
====================================== */
#splash {
  position: fixed;
  inset: 0;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}

.splash-logo {
  width: 800px;
}


/* ======================================
   HERO (STICKY)
====================================== */
.hero {
  background: linear-gradient(135deg, #000000, #000000);
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 200;
}

.brand-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 25px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: #ff6a00;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.15s ease;
}

.btn-primary:hover {
  background: #e05800;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}


/* ======================================
   SEZIONE 3D
====================================== */
.stand-3d {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

.stand-3d h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.stand-3d p {
  margin-bottom: 20px;
}

.stand-3d .note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
}


/* ======================================
   ABOUT
====================================== */
.about {
  padding: 60px 0;
  background: #f0f0f0;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
}


/* ======================================
   SERVIZI
====================================== */
.services {
  padding: 60px 0;
  background: #fff;
}

.services h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.service-card {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.05);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}


/* ======================================
   FORM MODERNO (PREMIUM)
====================================== */
.styled-form {
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 80px; /* SPAZIO PRIMA DEL FOOTER */
  margin-top: 35px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  color: #333;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.styled-form input:focus,
.styled-form textarea:focus {
  border-color: #ff6a00;
  box-shadow: 0 0 8px rgba(255,106,0,0.3);
  outline: none;
}

.styled-form input::placeholder,
.styled-form textarea::placeholder {
  color: #c8c8c8;
}

/* FILE UPLOAD */
.file-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.file-desc {
  font-size: 0.85rem;
  color: #555;
}

.file-upload-label {
  width: 180px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
}

.file-upload-label:hover {
  border-color: #ff6a00;
}

.file-upload-label input[type="file"] {
  display: none;
}

.file-upload-label span {
  font-weight: 600;
  color: #444;
}


/* TEXTAREA */
.styled-form textarea {
  resize: vertical;
  height: 160px;
}


/* SWITCH PRIVACY (iOS style) */
.switch-line {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.switch-line input {
  display: none;
}

.switch {
  width: 46px;
  height: 24px;
  border-radius: 30px;
  background: #cfcfcf;
  position: relative;
  transition: background 0.3s ease;
}

.switch::after {
  content: "";
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

.switch-line input:checked + .switch {
  background: #ff6a00;
}

.switch-line input:checked + .switch::after {
  transform: translateX(22px);
}

.switch-text {
  font-size: 0.85rem;
  color: #333;
}


/* BOTTONE INVIA */
.submit-btn {
  margin-top: 10px;
  background: #ff6a00;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  width: 160px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
  background: #e05800;
  transform: translateY(-2px);
}
.submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}


/* ======================================
   FOOTER
====================================== */
.footer {
  padding: 35px 0;
  background: #000000;
  color: #ddd;
  text-align: center;
  font-size: 0.95rem;
}

.footer-info p {
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-info i {
  color: #ff6a00;
  margin-right: 8px;
  font-size: 18px;
}
footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-row i {
  color: #ff6a00;
  font-size: 20px;
  min-width: 20px;
  text-align: center;
}

.footer-row span {
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: left;
  display: inline-block;
}
/* SOCIAL */
.footer .social {
  margin: 15px 0;
}

.footer .social a {
  color: #ffffff;
  margin: 0 12px;
  font-size: 22px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social a:hover {
  color: #ff6a00;
  transform: scale(1.2);
}

/* COPYRIGHT + PRIVACY */
.footer-bottom {
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: #aaa;
}

.footer-privacy a {
  color: #ff6a00;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 0.85rem;
}

.footer-privacy a:hover {
  color: #fff;
}


/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 600px) {

  .hero {
    position: static; /* disattiva sticky su mobile */
  }

  .form-row {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}


/* ======================================
   CAROSELLO MODERNO (3 FOTO VISIBILI)
====================================== */

.carousel-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.carousel-title {
  font-size: 2rem;
  margin-bottom: 25px;
}

.mySwiper {
  width: 100%;
  padding-bottom: 60px;
}

.swiper-slide {
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.swiper-slide {
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.swiper-slide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.caption {
  padding: 10px;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
}

/* Puntini */
.swiper-pagination-bullet {
  background: #333;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #ff6a00;
  opacity: 1;
}

/* Frecce */
.swiper-button-next,
.swiper-button-prev {
  color: #ff6a00;
  filter: drop-shadow(0 0 5px #000);
}


/* ======================================
   EFFETTO GLOW LOGO
====================================== */
.brand-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;

  text-shadow:
      0 0 4px  rgba(255,255,255,0.9),
      0 0 10px rgba(255,255,255,0.7),
      0 0 20px rgba(255,255,255,0.5),
      0 0 35px rgba(255,255,255,0.3);
}

/* CONTAINER PIÙ GRANDE SOLO NELLA SEZIONE 3D */
.stand-3d .container {
  max-width: 1600px;
}


/* ======================================
   LANGUAGE SWITCHER (NUOVO)
====================================== */

#lang-switcher {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 9990;
  display: flex;
  gap: 12px;
  opacity: 0;
  transition: 0.8s ease;
}

#lang-switcher.show {
  opacity: 1;
}

#lang-switcher img {
  width: 30px;
  height: 28px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
  object-fit: cover;
}

#lang-switcher img:hover {
  transform: scale(1.15);
}
.success-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-box {
  background: #f7a86c; /* arancione */
  color: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  font-size: 20px;
  max-width: 400px;
}

.close-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: white;
  color: #f7a86c;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}
