/* styles.css */

/* [Todos los estilos anteriores se mantienen igual...] */
:root {
  --turquoise: #40E0D0;
  --dark-turquoise: #20B2AA;
  --black: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background-color: var(--black);
  color: white;
}

.header {
  background-color: rgba(0,0,0,0.9);
  padding: 1rem;
  position: fixed;
  width: 100%;
  z-index: 100;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  color: rgb(38, 218, 179);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgb(38, 218, 179);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: rgb(38, 218, 179);
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/api/placeholder/1920/1080');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: rgb(38, 218, 179);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: var(--turquoise);
  color: var(--black);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--dark-turquoise);
}

.services, .benefits {
  padding: 5rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services h2, .benefits h2 {
  text-align: center;
  color: rgb(38, 218, 179);
  margin-bottom: 3rem;
  font-size: 45px;  
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card h3 {
  color: rgb(38, 218, 179);
  margin: 1rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: rgb(38, 218, 179);
  margin-bottom: 1rem;
}

.benefit-card ul {
  list-style-position: inside;
  margin-top: 1rem;
}

.benefit-card li {
  margin-bottom: 0.5rem;
}

.contact {
  background-color: rgba(255,255,255,0.05);
  padding: 5rem 1rem;
}

.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  color: rgb(38, 218, 179);
  margin-bottom: 2rem;
}

.footer {
  background-color: var(--black);
  padding: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .nav {
      flex-direction: column;
      gap: 1rem;
  }

  .hero-content h1 {
      font-size: 2rem;
  }
}
.estilo-de-quienes-somos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  

  padding: 20px;
}

.estilo-de-quienes-somos .text {
  flex: 1;
  background-color: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s; 
  padding-right: 20px;
  
}

.estilo-de-quienes-somos .image {
  flex: 1;
  text-align: center;
}

.estilo-de-quienes-somos .image img {
  width: 100%;
  max-width: 500px; /* Ajusta el tamaño de la imagen como desees */
  height: auto;
  border-radius: 10px; /* Opcional: para darle un borde redondeado a la imagen */
}
.service-card-quienes-somos {
  background-color: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s;
}

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
}
/* Base styles */
:root {
  --turquoise: #40E0D0;
  --dark-turquoise: #20B2AA;
  --black: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Menú hamburguesa para móvil */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: rgb(38, 218, 179);
}

/* Media Queries */
@media (max-width: 1200px) {
  .services, .benefits {
    padding: 4rem 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .service-card, .benefit-card {
    padding: 1.5rem;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .estilo-de-quienes-somos {
    flex-direction: column;
    gap: 2rem;
  }
  
  .estilo-de-quienes-somos .image {
    order: -1;
  }
  
  .estilo-de-quienes-somos .image img {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav {
    padding: 1rem;
  }
  
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.95);
    padding: 1rem;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    padding: 0.5rem 0;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .services h2, .benefits h2 {
    font-size: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .service-card, .benefit-card {
    padding: 1rem;
  }
  
  .estilo-de-quienes-somos .image img {
    max-width: 100%;
  }
  
  .contact h2 {
    font-size: 1.5rem;
  }
  
  .contact p {
    font-size: 1rem !important;
  }
}

/* Mejoras para el video de fondo */
@media (max-aspect-ratio: 16/9) {
  #myVideo {
    width: auto;
    height: 100%;
  }
}

@media (max-aspect-ratio: 9/16) {
  #myVideo {
    width: 100%;
    height: auto;
  }
}

/* Ajustes para dispositivos táctiles */
@media (hover: none) {
  .service-card:hover,
  .benefit-card:hover {
    transform: none;
  }
  
  .nav-links a:hover {
    background-color: rgba(38, 218, 179, 0.1);
  }
}