/* ===================
   Zigma Refacciones - styles.css
   =================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #000000;
  background-color: #ffffff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Container */
.sticky-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  height: 60px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.cyan {
  color: #009FE3;
}

.magenta {
  color: #EC008C;
}

/* Navigation */
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #EC008C;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #EC008C;
}

.nav-menu a:hover::after {
  width: 100%;
}


/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  font-size: 28px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}


/* Hero Section */
.hero-section {
  background: url('resources/hero.jpg') center center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 1rem;
  max-height: 1200px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Oscurece el fondo */
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 3rem 2rem;
  border-radius: 16px;
  max-width: 900px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.05); /* Suave fondo translúcido */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-overlay p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* CTA Button */
.cta-button {
  background-color: #EC008C;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(236, 0, 140, 0.3);
}

.cta-button:hover {
  background-color: #bf006e;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(236, 0, 140, 0.4);
}

.cta-button:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(236, 0, 140, 0.2);
}


/* About Section */
.about-section {
  padding: 6rem 2rem;
  background-color: #d4f1ff;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  
  margin: auto;
}

.about-image-wrapper {
  flex: 1;
  max-width: 500px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.about-image {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.8rem;
  color: #EC008C;
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.about-subtext {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
}

.about-list {
  list-style: none;
  padding: 0;
  font-size: 1.05rem;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.about-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.about-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #EC008C;
  font-weight: bold;
  font-size: 1.2rem;
}


/* Services Section */
.services-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #EC008C;
  font-family: 'Poppins', sans-serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 16px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* Icon circle */
.icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: #009FE3;
  color: #ffffff;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: background-color 0.3s;
}

.service-card:hover .icon-wrapper {
  background-color: #EC008C;
}

/* Headings and paragraph */
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.products-section {
  background-color: #ffffff;
  padding: 6rem 2rem;
}

/* Products*/

.products-section .slide-image {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 0;
  padding-bottom: 75%; /* 3/4 = 0.75 = 75% para mantener proporción 4:3 */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  background-color: #f0f0f0;
}

.products-section .slide-image:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.products-swiper {
  padding: 1rem 0;
}

.products-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Navegación Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: #ec008c;
  transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #009fe3;
}

/* Paginación Swiper */
.swiper-pagination-bullet {
  background: #ec008c;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}




/* Testimonials */
.testimonials-section {
  padding: 5rem 2rem;
  background-color: #d4f1ff;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #EC008C;
  margin-bottom: 2.5rem;
  font-family: 'Poppins', sans-serif;
}

.carousel {
  position: relative;
  max-width: 700px;
  margin: auto;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: opacity 0.5s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.stars {
  color: gold;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.testimonial-card h4 {
  font-weight: 600;
  color: #333;
}

/* Flechas carrusel */
.carousel-controls {
  margin-top: 1.5rem;
}

.carousel-controls button {
  background-color: #009FE3;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
  background-color: #EC008C;
}

/* Marcas */
.brands-section {
  margin-top: 4rem;
}

.brands-text {
  font-size: 1.1rem;
  color: #2b2b2b;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

.brands-logos img {
  max-height: 150px;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.brands-logos img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}



.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}


/* Sección de Contacto */
.contact-section {
  background-color: #ffffff;
  padding: 4rem 0;
}

/* Grid general de la sección */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  flex-wrap: wrap;
}


/* Estilo común para tarjetas (info, form y mapa) */
.card-style {
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Información de contacto */
.contact-info h2 {
  color: #EC008C;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  color: #1b1b1b;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info li {
  font-size: 1rem;
  color: #1d1d1d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #EC008C;
  margin-right: 0.6rem;
  font-size: 1.2rem;
}

/* Formulario */
.contact-form h3 {
  color: #EC008C;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #EC008C;
}

.contact-form button {
  align-self: flex-start;
  background-color: #EC008C;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #bf006e;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(236, 0, 140, 0.4);
}


/* Mapa dentro de la columna izquierda */
.map-inline {
  margin-top: 1.5rem;
}

.map-title {
  font-size: 1.5rem;
  color: #EC008C;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.map-inline iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/*Footer*/

.footer {
  background-color: #000;
  color: #fff;
  padding: 4rem 1rem 2rem;
  font-family: 'Poppins', sans-serif;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #EC008C;
  margin-bottom: 1rem;
}

.footer-logo {
  height: 50px;
  margin-bottom: 0.8rem;
}

.footer-brand-name {
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  max-width: 280px;
}

.cyan {
  color: #009FE3;
}

.magenta {
  color: #EC008C;
}


.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #EC008C;
}

.footer-contact i {
  color: #009FE3;
  margin-right: 0.5rem;
}

.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.brand-list li {
  margin-bottom: 0.5rem;
}


/* Redes sociales */
.social-icons {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
}

.social-icons a {
  color: #ffffff;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #009FE3;
}

/* Pie inferior */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #cccccc;
}

.footer-bottom a {
  color: #EC008C;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* RESPONSIVE GENERAL */

@media (max-width: 414px) {

  /* WhatsApp Button */
  .whatsapp-button {
    display: flex;
    width: 45px;
    height: 45px;
    font-size: 22px;
    bottom: 15px;
    right: 15px;
    z-index: 1100;
    opacity: 1;
    visibility: visible;
  }

  /* Header */
  .sticky-header .container {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .nav-menu {
    gap: 0.7rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hero Section */
  .hero-overlay {
    padding: 1rem;
    max-width: 95%;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.5rem 1.2rem;
  }

  /* About Section */
  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-subtext {
    font-size: 1rem;
  }

  .about-list li {
    font-size: 0.95rem;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonios */
  .testimonial-card {
    margin: 1rem auto;
    max-width: 90%;
  }

  .carousel-controls button {
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
  }

  /* Marcas */
  .brands-logos {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .brands-logos img {
    max-height: 90px;
  }

  /* Contact Section */
  .contact-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .contact-info,
  .contact-form {
    width: 100%;
  }

  .contact-info h2,
  .contact-form h3 {
    font-size: 1.6rem;
    text-align: center;
  }

  .contact-subtitle {
    text-align: center;
    font-size: 0.95rem;
  }

  .contact-info li {
    justify-content: center;
    font-size: 0.95rem;
  }

  .map-inline iframe {
    height: 220px;
  }

  .map-title {
    font-size: 1.3rem;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-col {
    text-align: center;
  }

  .footer-brand-name {
    font-size: 1.1rem;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
    font-size: 0.9rem;
  }

  .footer-links li,
  .footer-contact li {
    text-align: center;
    font-size: 0.9rem;
  }

  .brand-list {
    text-align: center;
    font-size: 0.9rem;
  }

  .social-icons {
    justify-content: center;
    gap: 0.6rem;
  }

  .social-icons a {
    font-size: 1rem;
  }

  .footer-bottom {
    padding-top: 1rem;
    font-size: 0.75rem;
  }

  /* Productos */
  .products-swiper img {
    height: 130px;
    object-fit: cover;
  }
}
