@font-face {
  font-family: Golgols;
  src: url("../fonts/Golgols-Minimal-Logo-Font/Fonts/Golgols.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: Golgols, sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: #171717;
  overflow-x: hidden;
}

header {
  background-color: #171717;
  padding: 0.15rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0.125rem;
  position: relative;
  border-bottom: 1px solid #F0F0F0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Open Sans', sans-serif; 
}

.logo-container {
  flex: 1;
  display: flex;
  align-items: center;
}

.logo-container .logo-image {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

/* Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 1rem;
  z-index: 11;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background-color: #ffffff;
  margin: 4px 0;
  transition: 0.4s;
}

.header-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  position: absolute;
  top: 35%;
  right: 1%;
  font-size: 1.2rem;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0 1.5rem;
  padding: 0;
  align-items: center;
}

header nav ul li {
  position: relative;
  display: flex;
  align-items: center;
}

header nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 400;
  transition: color 0.3s ease;
  display: inline-block;
}

header nav ul li a:hover {
  color: #007BFF;
}

header nav ul li a.nav-contacto {
  background-color: #FFD700 !important;
  color: #000 !important;
  padding: 8px 16px !important;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.25);
}

header nav ul li a.nav-contacto:hover {
  background-color: #FFC700 !important;
  color: #000 !important;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
  transform: translateY(-1px);
}

header nav ul li:hover > ul.dropdown {
  display: block;
}

header nav ul .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 25%;
  transform: translateX(-50%);
  background-color: rgb(85, 84, 84);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  list-style: none;
  border-radius: 0.5rem;
  overflow: hidden;
  z-index: 10;
  min-width: 160px;
}

header nav ul .dropdown li {
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

header nav ul .dropdown li:hover {
  background-color: #505050;
}

.column ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.column li {
  color: rgb(98, 98, 98);
  font-family: Italic_Raleway, sans-serif;
  font-style: italic;
}

.container {
  display: flex;
  flex-direction: column;
  padding: 0.2rem;
}

.container h2 {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  letter-spacing: 0.25rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  .header-container {
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .header-container ul {
    display: none;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #171717;
    border-top: 1px solid #333;
  }

  .header-container ul.show {
    display: flex;
  }

  .header-container ul li {
    width: 100%;
  }

  .header-container ul li a {
    padding: 1rem;
    display: block;
    width: 100%;
  }

  .header-container ul .dropdown {
    position: static;
    transform: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #2c2c2c;
    padding: 0;
  }

  .header-container ul li:hover > .dropdown {
    display: block;
  }

  .header-container ul .dropdown li a {
    padding-left: 2rem;
  }
}

/* Seccion de texto */

.solutions-section {
  position: relative;
  background-image: url('images/Plumas%20-%20Banners/55.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 4rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
  overflow: hidden;
  z-index: 0; /* base layer */
}

.solutions-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/Plumas%20-%20Banners/55.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2; /* ajusta la opacidad para que no opaque el texto */
  z-index: -1; /* detrás del contenido */
  pointer-events: none;
}

.solutions-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  max-width: 1000px;
  width: 100%;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  z-index: 1; /* contenido encima de fondo */
}

.solutions-image {
  flex: 0 0 auto;
  max-width: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  z-index: 2;
}

.solutions-image img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.solutions-content {
  flex: 1;
  min-width: 300px;
  z-index: 2;
}

.solutions-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
  font-family: 'Golgols', sans-serif;
}

.solutions-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.solutions-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.solutions-content li {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.cta-button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  display: block;
  margin: 0 auto;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
  z-index: 2;
}

.cta-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .solutions-container {
    flex-direction: column;
    text-align: center;
  }

  .solutions-content {
    text-align: center;
  }
}



/* Estilo para el footer */

/* Footer */

footer {
  background-color: #2c2c2c;
  padding: 2rem 1rem;
  color: #bbb;
  font-family: 'Segoe UI', sans-serif;
}

.main-footer {
  background-color: #121212;
  color: #ffffff;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
}

.footer-brand {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-brand img {
  height: 90px;
  margin-bottom: 0.3rem;
}

.company-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #f0f0f0;
  margin: 0;
}

.footer-links,
.footer-contact {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #ffcc00;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.3rem;
}

.footer-links ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #007bff;
}

.footer-contact p {
  margin: 0.3rem 0;
  line-height: 1.4;
  color: #ddd;
  font-size: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #888;
}

.footer-links ul li a,
.footer-contact a {
  color: #f9c74f; /* Un amarillo cálido y amigable */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover,
.footer-contact a:hover {
  color: #f9844a; /* Naranja suave para el hover */
  text-decoration: underline;
}


/* Responsive */

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand,
  .footer-links,
  .footer-contact {
    flex: none;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}


/* Seccion de las plumas */

.features-section {
  padding: 60px 20px;
  background-color: #171717;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  flex: 1 1 300px;
  max-width: 350px;
  padding: 20px;
  background-color: #2a2a2a; /* Más oscuro, en armonía con el fondo */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature img {
  width: 120px; /* Aumentado */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}


.feature h3 {
  position: relative;
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #ffffff;
  padding-bottom: 10px;
}

.feature h3::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: currentColor;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Colores personalizados por categoría */
.feature.vision h3::after {
  background-color: #f1c40f; /* Amarillo */
}

.feature.estabilidad h3::after {
  background-color: #3498db; /* Azul */
}

.feature.precision h3::after {
  background-color: #e74c3c; /* Rojo */
}

.feature p {
  font-size: 0.9rem; /* Letra más pequeña */
  color: #dddddd;
  line-height: 1.6;
  margin-bottom: 12px;
}

.feature ul {
  text-align: left;
  color: #dddddd;
  font-size: 0.85rem;
  padding-left: 20px;
  margin-bottom: 12px;
}

.feature ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.feature p {
  font-size: 0.85rem;
  color: #dddddd;
  line-height: 1.6;
  text-align: left;
}



/* Burbuja flotante de WhatsApp */

.whatsapp-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  background-image: url('../images/whatsapp.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 1000;
  animation: bubble-float 4s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
}


@keyframes bubble-float {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-15px, -10px); }
  50%  { transform: translate(15px, -20px); }
  75%  { transform: translate(-10px, 10px); }
  100% { transform: translate(0, 0); }
}

/* ============ BANNER STYLES ============ */
.banner {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 140px;
  max-height: 36vh;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.banner img {
  width: 100%;
  height: 100%;
  max-height: inherit;
  object-fit: cover;
  object-position: center;
  object-position: center 45%;
  display: block;
  cursor: pointer;
}

.banner a {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.banner h3 {
  display: none;
}

.banner-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.banner-close:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}

/* Banner type colors (only visible if no image) */
.banner-banner { background: linear-gradient(135deg, #8B0000 0%, #1e3a8a 100%); }
.banner-popup { background: linear-gradient(135deg, #8B0000 0%, #1e40af 100%); }
.banner-carousel { background: linear-gradient(135deg, #8B0000 0%, #1e3a8a 100%); }
.banner-info { background: #0284c7; }
.banner-success { background: #16a34a; }
.banner-warning { background: #ea580c; }
.banner-danger { background: #dc2626; }

/* ============ POP-UP STYLES ============ */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.popup-modal {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.popup-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.popup-modal h2 {
  margin-top: 0;
  text-align: center;
  font-size: 1.5rem;
  color: #1f2937;
}

.popup-modal a {
  display: inline-block;
  width: 100%;
}

.popup-modal a img {
  width: 100%;
  height: auto;
}

.popup-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #6b7280;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #1f2937;
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    padding: 0.75rem;
    min-height: 120px;
    max-height: 24vh;
    aspect-ratio: 16 / 5;
  }

  .banner img {
    height: 100%;
    max-height: inherit;
  }

  .popup-modal {
    padding: 1.5rem;
  }

  .popup-modal h2 {
    font-size: 1.25rem;
  }
}

/* ============ CAROUSEL STYLES ============ */
.carousel-container {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  overflow: hidden;
  min-height: 240px;
  max-height: 60vh;
  aspect-ratio: 16 / 6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.carousel-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.carousel-slide.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  font-weight: bold;
  border-radius: 0.5rem;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 1.5rem;
}

.carousel-next {
  right: 1.5rem;
}

.carousel-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.2s ease;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
}

.carousel-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  /* Responsive banner */
  .banner {
    min-height: 90px;
    max-height: 18vh;
    aspect-ratio: 16 / 4;
  }

  .banner-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.4rem;
  }

  .banner-description {
    padding: 1.5rem 1rem;
  }

  .banner-description p {
    font-size: 1rem;
  }

  /* Responsive carousel */
  .carousel-container {
    min-height: 180px;
    max-height: 50vh;
    aspect-ratio: 16 / 9;
  }

  .carousel-content {
    min-height: inherit;
  }

  .carousel-nav {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }

  .carousel-prev {
    left: 0.75rem;
  }

  .carousel-next {
    right: 0.75rem;
  }

  .carousel-dot {
    width: 10px;
    height: 10px;
  }

  .carousel-dots {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .carousel-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2rem;
    height: 2rem;
    font-size: 1.4rem;
  }
}
