
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20;
    background-color: #fff;
}

header {
    background-color: #fff;
    padding: 20px 20px;
	vertical-align: top;
	height: 60px;
}

.logo {
    height: 120px;
    vertical-align: center;
}

.isologo {
    height: 60px;
    vertical-align: top;
}


.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-links {
    list-style: none;
    padding: 10;
    margin: 10;
    display: flex;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #000;
    text-decoration: none;
    padding: 10px 10px;
    display: block;
    transition: color 0.3s ease;
}

.nav-links .dropdown:hover > a {
    color: #E30613; /* rojo */
}

.nav-links .dropdown:hover .dropdown-content {
    display: none; /*aqui es donde se activa el dropdown valor activo= block*/
}

.dropdown-content {
    display: none;
    position: relative;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #000;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover {
    color: #E30613;
}

.hamburger {
    display: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        display: none;
        width: 100%;
    }

    #menu-toggle:checked + .hamburger + .nav-links {
        display: flex;
    }

    .hamburger {
        display: block;
    }
}

footer {
    background-color: #fff;
    text-align: center;
    padding: 20px;
}

.social-icons {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-icons a {
    background-color: transparent;
    display: inline-block;
    width: 40x;
    height: 40px;
}

.social-icons img {
    width: 100%;
    height: 100%;
    border-radius: 0%;
}

/* HOME Section */

.home-section {
  text-align: center;
  padding: 80px 20px;
  background-image: url('../img/wallpaper-oscuro.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  z-index: 1;
}

.home-section h1 {
    font-size: 2.4em;
    color: #fff;
    margin-bottom: 20px;
}
.home-section p {
    font-size: 1.2em;
    color: #CCCCCC;
	line-height: 1.8;
    margin-bottom: 40px;
	text-align: center;
	max-width: 1024px;
	margin: 0 auto;
}
.home-logo {
	width: 80px;
    opacity: 0.4;
}

/* Servicios Section */

.services-section {
    background-color: #FFF;
	color: #000;
    padding: 60px 20px;
    text-align: center;
	background-image: url('../img/wallpaper-red.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: white;
	position: relative;
	z-index: 1;
}
.services-section h2 {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #FFF;
}
.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 100px;
}
.card {
    background-color: #000;
    border: 1px solid #ddd;
    width: 240px;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.05);
}
.card img {
    width: 90%;
    height: auto;
}
.card h3 {
	font-size: 1.0em;
    margin-top: 10px;
    color: #FFF;
}

/* Modales */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 90%;
  max-width: 640px;
}

.modal iframe {
  width: 100%;
  height: 360px;
  border: none;
}

.modal video {
  position: center-left;		
  width: 60vw;
  height: auto;
  max-height: 60vh;
  border-radius: 8px;
  outline: none;
}
 
.modal.active {
  display: flex;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10000;
}

.close-btn:hover {
  color: #ccc;
}
/* CONTACTO */
.contacto {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1;
  gap: 20px;
  padding:20px 20px;
  background-color: #999999;
}
.contacto-col1, .contacto-col2 {
  flex: 1 1 45%;
  margin: 0;
  max-width: 500px;
}
.contacto h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.contacto h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.contacto a {
  color: #fff;
  text-decoration: none;
}
.contacto a:hover {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  color: #fff;
  margin-top: 0px;
  margin-bottom: 0px;

}
.footer a {
  color: #fff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ==== RESPONSIVE STYLES ==== */

/* Ocultar menú en móviles */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #E30613;
  padding: 10px;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 200px;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
  }

  nav ul.show {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  nav ul li {
    margin: 10px 0;
    text-align: right;
  }

  header img {
    max-width: 150px;
    height: auto;
  }

  .nosotros,
  .servicios,
  .contacto {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }

  .contacto-col1, .contacto-col2 {
    width: 100% !important;
    margin: 10px 0;
  }

  .floating-icons {
    right: 10px;
    bottom: 10px;
    flex-direction: column;
  }

  .floating-icons img {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }
}


@media (max-width: 768px) {
  .home {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
  }

  .floating-icons {
    position: fixed;
    right: 10px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 1000;
  }

  .floating-icons img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    max-width: 90%;
  }
}


@media (max-width: 768px) {
  .home {
    padding: 20px;
    overflow-x: hidden;
    word-wrap: break-word;
  }

  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .floating-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
    background: transparent !important;
  }

  .floating-icons img {
    width: 40px !important;
    height: 40px !important;
  }

  body {
    overflow-x: hidden;
  }
}


/* CLIENTES */
.clientes {
  padding: 20px 20px;
  background-color: #f2f2f2;
  text-align: center;
  line-height: 1;
}
.clientes h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  margin-bottom: 30px;
  color: #000;
}
.clientes-carrusel {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.clientes-track {
  display: flex;
  width: max-content;
  animation: scrollClientes 75s linear infinite;
}
.clientes-track img {
  height: 100px;
  margin: 0 20px;
  flex-shrink: 0;
}
@keyframes scrollClientes {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .clientes-track img {
    height: 60px;
    margin: 0 10px;
  }
}


#intro-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: black;
}
#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.loaded #intro-video-container {
    display: none;
}
