/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  color: white;
  background-color: #000;
  overflow-x: hidden;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.logo {
  background-image: url('Pictures/APLOGOV2.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 180px;    /* Ajusta el ancho */
  height: 50px;    /* Ajusta el alto */
}

.nav a {
  color: white;
  text-decoration: none;
  margin-left: 30px;
  font-family: "Big Shoulders Text", sans-serif;
  font-weight: bold;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #ccc;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* Slides (carrusel) */
.slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  display: flex;
  animation: slide 15s infinite;
}

.slide {
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
}

/* Efecto de movimiento automático 
@keyframes slide {
  0%   { transform: translateX(0%); }
  30%  { transform: translateX(0%); }
  33%  { transform: translateX(-100%); }
  63%  { transform: translateX(-100%); }
  66%  { transform: translateX(-200%); }
  96%  { transform: translateX(-200%); }
  100% { transform: translateX(0%); }
}*/

/* Capa oscura sobre las imágenes */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Contenido centrado */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  font-family: "Big Shoulders Text", sans-serif;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-content p {
  font-family: "Big Shoulders Text", sans-serif;
  font-size: 28px;
  font-weight: 200;
  margin-bottom: 25px;
  letter-spacing: 1.5px;
}

.btn {
  background: black;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  font-family: "Big Shoulders Text", sans-serif;
  font-weight: bold;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* Dots (indicadores) */
.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #999;
  border-radius: 50%;
  display: block;
  animation: dots 15s infinite;
}

.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 5s; }
.dots span:nth-child(3) { animation-delay: 10s; }

@keyframes dots {
  0%, 30% { background: white; }
  33%, 100% { background: #666; }
}

/* SECCIÓN ABOUT - CONTENEDOR */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background-color: #ffffff;
  gap: 40px;
}

/* IMAGEN DEL SOLDADO */
.about-image {
  width: 45%;
  height: 350px; /* Ajusta según tu imagen real */
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
}

/* CONTENIDO DE TEXTO */
.about-content {
  width: 50%;
}

/* TÍTULO */
.about-content h2 {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #000000;
}

/* PÁRRAFO */
.about-content p {
  font-family: "Big Shoulders Text", sans-serif;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.6px;
  color: #666666;
  max-width: 520px;
}

/* CONTENEDOR GENERAL */
.catalogo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #5D6532;
  padding: 60px 40px;
  gap: 40px;
  color: #FFFFFF;
}

/* COLUMNA DE TEXTO */
.catalogo-content {
  width: 50%;
}

/* TÍTULO */
.catalogo-content h2 {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 38px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 2px;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}

/* CONTENEDOR DE BOTONES */
.marketplaces {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

/* BOTONES CON BORDE REDONDEADO */
.marketplaces a {
  display: block;
  width: 260px;
  padding: 10px 20px;
  border: 2px solid #FFFFFF;
  border-radius: 40px;
  text-align: center;
  transition: 0.3s ease-in-out;
}

/* IMÁGENES DENTRO DE LOS BOTONES */
.marketplaces img {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1); /* Para que quede blanco */
}

/* EFECTO HOVER (OPCIONAL PERO QUEDA BIEN) */
.marketplaces a:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* TEXTO INFERIOR */
.catalogo-content p {
  font-family: "Big Shoulders Text", sans-serif;
  font-size: 20px;
  justify-self: center;
  letter-spacing: 0.6px;
  margin-top: 10px;
}

/* IMAGEN A LA DERECHA */
.catalogo-image {
  width: 45%;
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
}

/* CONTENEDOR GENERAL */
.brands {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #A69A74;
  padding: 50px 40px;
  gap: 40px;
}

/* IMAGEN DE LAS MARCAS */
.brands-image {
  width: 55%;
  height: 350px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
}

/* TEXTO A LA DERECHA */
.brands h2 {
  width: 40%;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000000;
  line-height: 1.2;
}

/* CONTENEDOR GENERAL */
.ubicacion {
  text-align: center;
  padding: 50px 40px;
  background-color: #FFFFFF;
}

/* TÍTULO */
.ubicacion h2 {
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #000;
}

/* DIRECCIÓN */
.ubicacion p {
  font-family: "Big Shoulders Text", sans-serif;
  font-size: 20px;
  color: #666;
  letter-spacing: 1.5px;
  margin-bottom: 35px;
}

/* MAPA */
.ubicacion iframe {
  width: 600px;
  height: 320px;
  border: 0;
  border-radius: 8px;
}

/* ===== FOOTER ===== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 50px 20px 30px;
  font-family: 'Big Shoulders Text', sans-serif;
}

.footer-content {
  max-width: 1200px;
  margin: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

/* ===== LEFT SIDE: CONTACTO ===== */
.footer-left p {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  margin: 14px 0;
  letter-spacing: 1px;
}

.footer-left img {
  width: 26px;
  margin-right: 12px;
}

.footer-left p a {
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
}

.footer-left p a:hover {
  text-decoration: underline;
}

/* ===== CENTER LOGO ===== */
.footer-logo {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 80px;
}

/* ===== SOCIAL ICONS ===== */
.social-media-links {
  display: flex;
  gap: 20px;
}

.social-media-links img {
  width: 42px;
  transition: 0.3s;
}

.social-media-links img:hover {
  transform: scale(1.15);
}

/* ===== COPYRIGHT ===== */
.copy {
  text-align: center;
  margin-top: 35px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #ccc;
}

/* ============================
   RESPONSIVE - MOVIL
   ============================ */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    height: auto;
    padding: 15px 20px;
  }

  .logo {
    width: 140px;
    height: 40px;
  }

  /* Mostrar el nav pero ocultar los otros enlaces */
  .nav {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  /* Oculta enlaces excepto el último (Contáctanos) */
  .nav a {
    display: none;
  }

  .nav a:last-child {
    display: inline-block;
  }

  /* Ajustes visuales */
  .nav a:last-child {
    font-size: 16px;
    margin-left: 0;
    letter-spacing: 1px;
  }



  /* HERO */
  .hero {
    height: 100vh;
  }

  .hero-content {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .hero-content p {
    font-size: 16px;
    margin-bottom: 18px;
    letter-spacing: 1px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 16px;
  }

  /* Ajuste del slide para móviles */
  .slide {
    background-position: 60% center; /* Para que se vea la carpa como tu diseño */
  }

   /* Contenedor principal */
  .about {
    position: relative;      /* necesario para la capa detrás */
    flex-direction: column;
    padding: 50px 25px;
    text-align: center;
    overflow: hidden;
  }

  /* Imagen del soldado como fondo detrás del texto */
  .about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.20;            /* transparencia como en el mockup */
    pointer-events: none;     /* evita bloqueos del contenido */
    z-index: 1;               /* detrás del texto */
  }

  /* Texto arriba del fondo */
  .about-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
  }

  .about-content h2 {
    font-size: 28px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }

  .about-content p {
    font-size: 16px;
    line-height: 1.45;
    color: #555;
    max-width: none;
  }

  /* Contenedor general: pasa a columna */
  .catalogo {
    flex-direction: column-reverse; /* Texto abajo, imagen arriba */
    padding: 40px 20px;
    text-align: center;
    gap: 20px;
  }

  /* Imagen arriba y más grande */
  .catalogo-image {
    width: 100%;
    height: 250px;
    background-size: contain;
    background-position: center;
  }

  /* Contenido ocupa todo el ancho */
  .catalogo-content {
    width: 100%;
  }

  /* Título más pequeño y centrado como en la maqueta */
  .catalogo-content h2 {
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  /* Botones de marketplaces */
  .marketplaces {
    flex-direction: row;
    width: 100%;
    gap: 15px;
  }

  .marketplaces a {
    width: 80%;
    max-width: 260px;
    padding: 7px 12px;
    border-width: 1.5px;
    margin: auto;
  }

  .marketplaces img {
    width: 100px;
    height: auto;
  }

  /* Texto inferior */
  .catalogo-content p {
    font-size: 12px;
    margin-top: 5px;
    padding: 0 10px;
  }

  /* Marcas */
  .brands {
    flex-direction: column-reverse;
    padding: 40px 20px;
    gap: 25px;
    text-align: center;
  }

  .brands-image {
    width: 100%;
    height: 250px;
    background-size: contain;
    background-position: center;
  }

  .brands h2 {
    width: 100%;
    font-size: 24px;
    letter-spacing: 1.5px;
  }

  /* Ubicación */
  .ubicacion {
    padding: 40px 20px;
  }
  .ubicacion h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }
  .ubicacion p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .ubicacion iframe {
    width: 100%;
    height: 220px;
  }

  /* Footer */

  .footer-content {
    margin: 0 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
}


