/* ===== VisionTV - Stile principale ===== */

/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
}

.logo span {
  color: #e50914;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #e50914;
}

.auth {
  display: flex;
  gap: 15px;
}

.btn-login,
.btn-signup {
  background: transparent;
  border: 1px solid #e50914;
  color: #fff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-login:hover,
.btn-signup:hover {
  background-color: #e50914;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  background: url('../img/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #ddd;
}

.signup-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.signup-form input {
  padding: 15px;
  width: 300px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.signup-form button {
  padding: 15px 25px;
  border: none;
  border-radius: 4px;
  background-color: #e50914;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.signup-form button:hover {
  background-color: #b00610;
}

/* SLIDER SECTION */
.slider-section {
  padding: 100px 50px 60px;
  background-color: #000;
}

.slider-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

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

.slider-track {
  display: flex;
  gap: 15px;
  animation: scroll 20s linear infinite;
}

.slider-track img {
  width: 250px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.slider-track img:hover {
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* FOOTER */
.footer {
  background-color: #111;
  color: #999;
  text-align: center;
  padding: 40px 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #999;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #e50914;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .signup-form input {
    width: 80%;
  }

  .slider-track img {
    width: 180px;
    height: 100px;
  }
}

/* ===== CENTRO ASSISTENZA ===== */
.help-hero {
  position: relative;
  background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.5)), url('../img/hero.jpg') center/cover no-repeat;
  color: #fff;
  padding: 150px 20px 100px;
  text-align: center;
}

.help-hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.help-hero p {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
}

.help-search {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.help-search input {
  padding: 14px 20px;
  width: 350px;
  max-width: 80%;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
}

.help-search button {
  background-color: #e50914;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 14px 25px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.help-search button:hover {
  background: #b00610;
}

.help-content {
  background: #000;
  color: #fff;
  padding: 80px 20px;
}

.help-container {
  max-width: 1000px;
  margin: 0 auto;
}

.category {
  margin-bottom: 50px;
}

.category h2 {
  font-size: 1.8rem;
  color: #e50914;
  margin-bottom: 20px;
  border-left: 4px solid #e50914;
  padding-left: 10px;
}

.faq-item {
  background: #111;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #1c1c1c;
}

.faq-question {
  width: 100%;
  background: #111;
  color: #fff;
  text-align: left;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #1a1a1a;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 768px) {
  .help-hero h1 {
    font-size: 2.2rem;
  }

  .help-hero p {
    font-size: 1rem;
  }

  .help-search input {
    width: 90%;
  }
}

/* ===== CREA CONTENUTO ===== */
.upload-section {
  background: radial-gradient(circle at top, #141414 0%, #000 100%);
  min-height: 100vh;
  padding: 140px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.upload-card {
  background: rgba(20, 20, 20, 0.85);
  border-radius: 16px;
  padding: 50px 40px;
  width: 100%;
  max-width: 650px;
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.2);
  border: 1px solid #1c1c1c;
}

.upload-card h1 {
  font-size: 2rem;
  color: #e50914;
  margin-bottom: 10px;
  text-align: center;
}

.upload-card .upload-subtitle {
  color: #aaa;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 30px;
}

.upload-msg {
  background: #1a1a1a;
  color: #ff4c4c;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
}

.upload-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}

.input-group input,
.input-group select {
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: all 0.2s ease;
}

.input-group input:focus,
.input-group select:focus {
  background: #2a2a2a;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
}

.row {
  display: flex;
  gap: 15px;
}

.half {
  flex: 1;
}

.btn-submit {
  background: linear-gradient(90deg, #e50914, #b00610);
  border: none;
  padding: 15px;
  font-weight: bold;
  color: #fff;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: linear-gradient(90deg, #b00610, #e50914);
  transform: translateY(-2px);
}

/* ===== PAGINA REVISIONE ===== */
.review-section {
  background: linear-gradient(180deg, #000, #111);
  color: #fff;
  min-height: 100vh;
  padding: 140px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.review-card {
  background: rgba(25, 25, 25, 0.85);
  border-radius: 16px;
  padding: 50px 40px;
  width: 100%;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.2);
}

.review-card h1 {
  color: #e50914;
  margin-bottom: 15px;
}

.review-card p {
  color: #bbb;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin: 60px 0 40px;
  position: relative;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 4px;
  background: #333;
  transform: translateY(-50%);
  z-index: 0;
}

.progress-step {
  z-index: 1;
  text-align: center;
  flex: 1;
  position: relative;
}

.progress-step .circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #222;
  border: 2px solid #333;
  margin: 0 auto 10px;
  transition: all 0.3s;
}

.progress-step.active .circle {
  background: #e50914;
  box-shadow: 0 0 12px #e50914;
  border-color: #e50914;
}

.progress-step span {
  font-size: 0.95rem;
  color: #ccc;
}

.progress-step.rejected .circle {
  background: #b00610;
  border-color: #b00610;
  box-shadow: 0 0 10px #b00610;
}

.review-status .status {
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 20px;
}

.review-status .rejected {
  color: #ff4c4c;
}

.review-status .approved {
  color: #4ee44e;
}

/* Mobile */
@media (max-width: 768px) {
  .upload-card,
  .review-card {
    padding: 30px 20px;
  }

  .progress-bar::before {
    left: 5%;
    width: 90%;
  }

  .progress-step span {
    font-size: 0.8rem;
  }
}
