@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: url(../img/intalaci2.png) center/cover no-repeat;
  color: #343434;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}

.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === HEADER === */
header {
  background: #eee;
  padding: 1px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  position: relative;
}

.logo img {
  height: 75px;
  width: auto;
}

.menu_hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Menú principal */
.menu {
  display: flex;
  list-style: none;
  gap: 25px;
}

.menu li {
  position: relative;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  line-height: 65px;
  text-decoration: none;
  color: #1f1f1f;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.menu a:hover {
  background: #133392;
  color: #fff;
}

/* Submenú */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  padding: 15px 0;
  list-style: none;
  border-radius: 5px;
  min-width: 200px;
  box-shadow: 3px 10px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #2c2c2c;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: #133392;
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* === CONTENIDO PRINCIPAL === */
.texto-principal {
  position: relative;
  text-align: center;
  color: white;
  max-width: 900px;
  margin: 60px auto 30px;
  padding: 30px 20px;
  z-index: 1;
}

.texto-principal h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.texto-principal p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.info-box {
  display: flex;
  background: rgba(10, 30, 100, 0.8);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 850px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
  border: 2px solid #1c2d5e;
  z-index: 1;
  position: relative;
}

.carousel {
  position: relative;
  width: 40%;
  overflow: hidden;
  background-color: #000;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  justify-content: end;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.info-texto {
  width: 60%;
  padding: 25px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.info-texto h3 {
  font-size: 1.7rem;
  margin-bottom: 15px;
  text-align: center;
}

.info-texto ul {
  padding-left: 20px;
}

.info-texto ul li {
  font-size: 1.4rem;
  margin-bottom: 8px;
  list-style-type: disc;
}

/* === BOTÓN === */
.btn-cotizar {
  background-color: #0066cc;
  color: white;
  text-decoration: none;
  padding: 8px 24px;           
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background-color 0.3s ease;

  display: block;               
  width: 100px;           
  margin: 30px auto;            
  text-align: center;
}

.btn-cotizar:hover {
  background-color: #004a99;
}

/* === REDES SOCIALES === */
.contenedor {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.redes {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.redes a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.redes a:hover {
  transform: scale(1.1) translateY(-5px);
}

.redes a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.apptiktok { background: #000000; }
.appgmail { background: #D44638; }
.appinstagram { background: #E1306C; }
.appfacebook { background: #3b5998; }

/* === FOOTER === */
footer {
  text-align: center;
  padding: 20px;
  font-size: 16px;
  color: #000000;
  font-weight: bolder;
  background-color: #ffffff;
  margin-top: auto;
  z-index: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu_hamburger {
    display: flex;
    margin-left: auto;
    align-items: center;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 10px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    border-radius: 8px;
  }

  .menu.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #fff;
    box-shadow: none;
    padding: 0;
    display: none;
  }

  .dropdown-menu.active {
    display: block;
  }

  .dropdown-toggle {
    width: 100%;
    text-align: center;
  }

  .btn-cotizar {
    width: 70%;
    text-align: center;
    padding: 15px 0;
  }

  .info-box {
    flex-direction: column;      
    align-items: center;
  }

 .carousel {
  width: 100%;
  overflow-x: auto;
  display: flex;
  gap: 10px;
  padding: 10px 0;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 80%;
  max-width: 300px;
  opacity: 1;
  position: static;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.info-texto {
    width: 100%;
    padding: 20px;
  }
}



