/* Reset general */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #DAA520;
  --secondary-color: rgba(50, 50, 50, 0.9);
  --hover-color: rgba(255, 204, 0, 0.8);
  --background-color: #f8f8f8;
  --text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: var(--background-color);
}

/* Encabezado y video de fondo */
header {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: var(--text-shadow);
}

#video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* Contenedor de texto sobre el video */
.header-container {
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}

.header-container h1 {
  font-size: 3rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.header-container h2, 
.header-container h3 {
  margin-top: 10px;
}

.header-container h2 {
  font-size: 2rem;
}

.header-container h3 {
  font-size: 1.5rem;
}

h3 {
  line-height: 1.5; /* Aumenta el espacio entre líneas */
}

.social-share {
  text-align: center;
  margin-top: 15px;
}

.social-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}

.social-link:hover {
  background-color: #f39c12; /* Un amarillo elegante */
  color: black;
}

/* Logo */
.logo {
  width: 150px;
  margin-bottom: 20px;
}

/* Menú de navegación */
.navbar {
  margin-top: 25px;
  display: flex;
  justify-content: center;
}

.navbar ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
}

.navbar ul li {
  background-color: var(--secondary-color);
  padding: 12px 18px;
  border-radius: 8px;
  margin: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
}

.navbar ul li:hover {
  background: var(--hover-color);
  color: black;
}

.highlight {
  color: #E74C3C; /* Un rojo atractivo */
  font-weight: bold;
}

/* Laptops */
@media screen and (min-width: 1024px) and (max-width: 1366px) {
  .header-container h1 {
      font-size: 2rem;
  }

  .header-container h2 {
      font-size: 1.4rem;
  }

  .header-container h3 {
      font-size: 1.2rem;
  }

  .btn {
      font-size: 1rem;
      padding: 12px 24px;
  }
}

/* Tabletas */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .header-container h1 {
      font-size: 1.8rem;
  }

  .header-container h2 {
      font-size: 1.3rem;
  }

  .header-container h3 {
      font-size: 1.1rem;
  }

  .btn {
      font-size: 0.95rem;
      padding: 10px 20px;
      width: 90%;
  }

  .header-container {
      padding: 1.5rem;
  }
}

/* Móviles */
@media screen and (max-width: 768px) {
  .header-container h1 {
      font-size: 1.6rem;
  }

  .header-container h2 {
      font-size: 1.2rem;
  }

  .header-container h3 {
      font-size: 1rem;
  }

  .header-container p {
      font-size: 0.95rem;
  }

  .btn {
      margin: 10px auto;
      width: 90%;
      display: block;
  }

  header {
      height: auto;
      padding-top: 120px;
      padding-bottom: 120px;
  }

  #video-background {
      height: 100%;
  }
}
