@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
}

body {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  color: #000000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Estilos del menú */
.menu {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
}

.menu-1 {
  margin-right: 180px;
}

.menu-2 {
  margin-left: 180px;
  display: flex;
  align-items: center;
}

.logo-1 {
  width: 0;
}

.logo-2 {
  width: 150px;
}

.menu .navbar ul li {
  position: relative;
  float: left;
}

.menu .navbar ul li a {
  font-size: 16px;
  padding: 20px;
  color: #000000;
  background-color: #FFFFFF;
  display: block;
  font-weight: 500;
}

.menu .navbar ul li a:hover {
  color: #b60000;
}

#menu {
  display: none;
}

.menu-icono {
  width: 25px;
}

.menu label {
  cursor: pointer;
  display: none;
}

/* Estilos de las secciones de productos */
.product-section {
  padding: 100px 0;
  border-bottom: 1px solid #333;
  border-radius: 60px;
}

/* Sección 1: Biblia de estudio Java Insight - Fondo naranja */
/* Sección 1: Biblia de estudio Java Insight - Fondo naranja y margen superior para evitar encimado */
.product-section:nth-of-type(1) {
  background: linear-gradient(135deg, #fb8b24 0%, #e36414 50%, #9a031e 100%);
  position: relative;
  margin-top: 180px;
}

/* Sección 2: PointQontrol - Fondo verde */
.product-section:nth-of-type(2) {
    background: linear-gradient(135deg, #00a800 0%, #14e336 50%, #165e00 100%);
    position: relative;
}

/* Sección 3: Chimpy for Java - Mantiene fondo negro */
.product-section:nth-of-type(3) {
    background: linear-gradient(135deg, #202020 0%, #1d1d1d 50%, #000000 100%);
    position: relative;
}

.product-section:last-child {
  border-bottom: none;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Títulos específicos para cada sección - BLANCOS PUROS */
.product-section:nth-of-type(1) .section-header h2 {
  font-size: 48px;
  color: #FFFFFF; /* Blanco puro */
  font-weight: 700;
  text-transform: uppercase;
}

.product-section:nth-of-type(2) .section-header h2 {
  font-size: 48px;
  color: #FFFFFF; /* Blanco puro */
  font-weight: 700;
  text-transform: uppercase;
}

.product-section:nth-of-type(3) .section-header h2 {
  font-size: 48px;
  color: #FFFFFF; /* Blanco puro */
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(90deg, #b60000, #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.content-image {
  position: relative;
  width: 50%;
  overflow: hidden;
  border-radius: 15px;
}

.content-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Gradientes específicos para cada sección */
.image-gradient1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #e36414 100%
  );
  pointer-events: none;
}

.image-gradient2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #14e336 100%
  );
  pointer-events: none;
}

.image-gradient3 {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #1f1f1f 100%
  );
  pointer-events: none;
}

.content-text {
  width: 50%;
  padding: 20px;
}

/* Subtítulos específicos para cada sección - BLANCOS PUROS */
.product-section:nth-of-type(1) .content-text h3 {
  font-size: 24px;
  color: #FFFFFF; /* Blanco puro */
  margin-bottom: 20px;
  font-weight: 600;
}

.product-section:nth-of-type(2) .content-text h3 {
  font-size: 24px;
  color: #FFFFFF; /* Blanco puro */
  margin-bottom: 20px;
  font-weight: 600;
}

.product-section:nth-of-type(3) .content-text h3 {
  font-size: 24px;
  color: #b60000;
  margin-bottom: 20px;
  font-weight: 600;
}

.content-text p {
  font-size: 18px;
  color: #FFFFFF; /* Blanco puro */
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Botones específicos para cada sección - BLANCOS PUROS */
.product-section:nth-of-type(1) .btn-1 {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #FFFFFF; /* Borde blanco */
  color: #FFFFFF; /* Texto blanco */
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: transparent; /* Fondo transparente */
}

.product-section:nth-of-type(1) .btn-1:hover {
  background: #FFFFFF; /* Fondo blanco al hover */
  color: #e36414; /* Texto naranja al hover */
  transform: translateY(-2px);
}

.product-section:nth-of-type(2) .btn-1 {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #FFFFFF; /* Borde blanco */
  color: #FFFFFF; /* Texto blanco */
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: transparent; /* Fondo transparente */
}

.product-section:nth-of-type(2) .btn-1:hover {
  background: #FFFFFF; /* Fondo blanco al hover */
  color: #14e336; /* Texto verde al hover */
  transform: translateY(-2px);
}

.product-section:nth-of-type(3) .btn-1 {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #b60000;
  color: #FFFFFF;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.product-section:nth-of-type(3) .btn-1:hover {
  background-color: #b60000;
  transform: translateY(-2px);
}

/* Estilos del footer */
.footer {
  padding: 80px 0 40px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #333;
  margin-top: 50px;
}

.links h4 {
  color: #000000;
  text-transform: uppercase;
  margin-bottom: 25px;
  font-size: 18px;
}

.links ul li {
  margin-bottom: 10px;
}

.links ul li a {
  color: #000000;
  font-size: 14px;
  transition: color 0.3s ease;
}

.links ul li a:hover {
  color: #b60000;
}

/* Responsive */
@media (max-width: 991px) {
  .menu {
    padding: 20px;
    justify-content: space-between;
  }
  
  .menu-2 {
    display: none;
  }
  
  .logo-1 {
    width: 100px;
  }
  
  .logo-2 {
    width: 0px;
  }

  .menu label {
    display: initial;
  }

  .menu .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #181818;
    display: none;
    flex-direction: column;
  }

  .menu .navbar ul li {
    width: 100%;
    text-align: center;
  }

  #menu:checked ~ .navbar {
    display: flex;
  }

  .product-section {
    padding: 60px 0;
  }

  .product-section:nth-of-type(1) .section-header h2,
  .product-section:nth-of-type(2) .section-header h2,
  .product-section:nth-of-type(3) .section-header h2 {
    font-size: 36px;
  }

  .section-content {
    flex-direction: column;
    gap: 30px;
  }

  .content-image, .content-text {
    width: 100%;
  }

  .content-image img {
    height: 250px;
  }

  .content-text {
    text-align: center;
    padding: 0;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .links {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .product-section:nth-of-type(1) .section-header h2,
  .product-section:nth-of-type(2) .section-header h2,
  .product-section:nth-of-type(3) .section-header h2 {
    font-size: 28px;
  }
  
  .product-section:nth-of-type(1) .content-text h3,
  .product-section:nth-of-type(2) .content-text h3,
  .product-section:nth-of-type(3) .content-text h3 {
    font-size: 20px;
  }
  
  .content-text p {
    font-size: 16px;
  }
  
  .btn-1 {
    padding: 10px 25px;
    font-size: 14px;
  }
}