body {
  font-family: Arial, sans-serif;
  background-color: #141414;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden; /* Evita scroll horizontal */
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden; /* Evita scroll horizontal */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #e50914;
}

.navbar-logo {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.navbar-menu li a {
  text-decoration: none;
  color: white;
  font-size: 1.3rem;
  transition: color 0.3s;
  margin-left: 1rem;
  padding: 1.2rem;
  border-radius: 15px;
}

.navbar-menu li a:hover {
  background-color: #fff;
  color: black;
}

/* Menú lateral (off-canvas) */
.offcanvas-menu {
  position: fixed;
  top: 0;
  left: -100%; /* Oculto fuera de la pantalla */
  width: 250px;
  height: 100%;
  background-color: #181818;
  padding: 2rem;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  z-index: 1000;
}

.offcanvas-menu.active {
  left: 0; /* Se desliza a la vista */
}

.offcanvas-menu ul {
  list-style: none;
}

.offcanvas-menu li {
  margin: 1.5rem 0;
}

.offcanvas-menu li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.offcanvas-menu li a:hover {
  color: #e50914;
}

/* Overlay (fondo oscuro) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
  .navbar-menu {
      display: none; /* Oculta el menú principal */
  }
  .navbar-toggle {
      display: flex;
      flex-direction: column;
      cursor: pointer;
  }
  .navbar-toggle .bar {
      height: 3px;
      width: 25px;
      background-color: #ffffff;
      margin: 4px 0;
  }
}

/* Responsividad para dispositivos pequeños */
@media screen and (max-width: 768px) {
  .navbar-menu {
    display: none; /* Oculta el menú principal */
  }

  .navbar-toggle {
    display: flex; /* Muestra el ícono del menú */
  }

  .navbar-logo {
    font-size: 1.5rem; /* Ajusta el tamaño del logo en pantallas pequeñas */
  }

  .hero {
    height: auto; /* Permite que se ajuste el contenido automáticamente */
    padding: 2rem;
  }
  .review-form-container {
    padding: 1.5rem;
  }

  .reviews-container {
    padding: 1.5rem;
  }

  .review-item {
    padding: 1rem;
  }

  .review-form-container h2,
  .reviews-container h2 {
    font-size: 1.5rem;
  }

  .review-form-container button {
    font-size: 1rem;
  }
}

.review-form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #181818;
  border-radius: 10px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  animation: fadeIn 1.5s ease-in-out;
}

.review-form-container h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.review-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.review-form-container label {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.review-form-container input[type="text"] { /* Estilo específico para inputs de texto */
  width: 100%;
  padding: 1rem;
  border: 2px solid #e50914;
  background-color: #141414;
  color: #ffffff;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.review-form-container input[type="text"]:focus {
  border-color: #ffffff;
  outline: none;
}

.review-form-container textarea {
  resize: none;
  width: 100%;
  padding: 1rem;
  border: 2px solid #e50914;
  background-color: #141414;
  color: #ffffff;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.review-form-container textarea:focus {
  border-color: #ffffff;
  outline: none;
}

.review-form-container button {
  background-color: #e50914;
  color: #ffffff;
  font-size: 1.2rem;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.review-form-container button:hover {
  background-color: #b20710;
}

h1 {
    text-align: center;
    color: white;
    margin-top: 80px;
}

form {
    background-color: #181818;
    max-width: 500px;
    width: 90%;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    text-align: center;
    margin: 20px auto;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: #222;
    border: 1px solid #555;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
}

.input-group i {
    color: #FFFFFF;
    margin-right: 10px;
}

.input-group input, .input-group select {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
}

.toggle-password {
    cursor: pointer;
    margin-left: auto;
}

button {
    background-color: #e50914;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #b00610;
}

select {
    background-color: #424242;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    width: 100%;
    outline: none;
}

select:hover {
    background-color: #3D3D3D;
}

select:focus {
    border-color: #999;
    background-color: #292929;
}

.login-text {
    text-align: center;
    margin-top: 20px;
}

.login-text a {
    color: #e50914;
    text-decoration: none;
    font-weight: bold;
}

