* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
/* ===== NAVBAR RESPONSIVE ===== */

#desarrollador{
    color:#007bff;
    font-style: none;
    text-decoration: none;
}
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  z-index: 1000;
}
a{
  text-decoration: none
}
.navbar .logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}


.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
}

.logo .linea1 {
  font-size: 1.2em;
  color: #0099cc; /* color para DECO */
}

.logo .linea2 {
  font-size: 0.9em;
  color: #333; /* color para minipiscinas */
}
/* Menú (escritorio) */
.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #00c9a7;
}

/* Botón hamburguesa */
.hamburger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}


/* Espacio para el header */
header {
  padding-top: 60px;
}
/* Espaciado del header para que no quede tapado */
header {
  padding-top: 60px;
}

/* ===== HEADER CON CARRUSEL DE FONDO ===== */
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.fondo-carrusel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 300%;
  display: flex;
  animation: fondoAnimado 15s linear infinite;
}

.fondo-carrusel img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

@keyframes fondoAnimado {
  0% { transform: translateX(0); }
  100% { transform: translateX(-200vw); }
}

.contenido-header {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.contenido-header h1 {
  font-size: 2.5rem;
}

/* ===== SECCIONES ===== */
section {
  padding: 40px 20px;
  text-align: center;
}

/* ===== CARRUSEL INFINITO ===== */
.carrusel-infinito {
  overflow: hidden;
  background-color: #f5f5f5;
}

.carrusel-infinito h2 {
  margin-bottom: 20px;
}

.carrusel-track {
  display: flex;
  width: max-content;
  animation: scrollPiscinas 25s linear infinite;
}

.piscina {
  flex: 0 0 auto;
  width: 250px;
  margin: 0 15px;
}

.piscina img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

@keyframes scrollPiscinas {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECCIÓN CTA MINIPISCINA ===== */
.cta-minipiscina {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  background: linear-gradient(135deg, #00c9a7, #007bff);
  color: white;
  padding: 60px 20px;
}

.cta-contenido {
  flex: 1 1 300px;
  max-width: 600px;
}

.cta-contenido h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-contenido p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn-comprar {
  display: inline-block;
  padding: 12px 24px;
  background-color: white;
  color: #007bff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-comprar:hover {
  background-color: #f2f2f2;
  transform: scale(1.05);
}

.cta-imagen {
  flex: 1 1 300px;
  text-align: center;
}

.cta-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* sobre nosotros*/

.mini-about {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fff, #fff);
}

.mini-about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 40px;
}

.mini-about-text {
  flex: 1;
  min-width: 280px;
}

.mini-about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #007bff;
  position: relative;
}

.mini-about-text h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 60px;
  height: 4px;
  background: #007bff;
  border-radius: 2px;
}

.mini-about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 15px;
}

.mini-about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.mini-about-list li {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #004d40;
}

.mini-about-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 121, 107, 0.3);
  transition: all 0.3s ease;
}

.mini-about-btn:hover {
  background: #007bfe;
  box-shadow: 0 6px 20px rgba(0, 121, 107, 0.5);
}

.mini-about-image {
  flex: 1;
  min-width: 280px;
  display: flex;
  justify-content: center;
}

.mini-about-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.mini-about-image img:hover {
  transform: scale(1.03);
}



/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-minipiscina {
    flex-direction: column-reverse;
    text-align: center;
  }
}


/* ===== FOOTER PROFESIONAL ===== */
.footer {
  background-color: #111;
  color: #eee;
  padding: 40px 20px 20px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo h3 {
  font-size: 1.4rem;
  color: #00c9a7;
  margin-bottom: 10px;
}

.footer-logo p {
  color: #aaa;
  max-width: 250px;
}

.footer-contacto h4,
.footer-redes h4 {
  color: #00c9a7;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer-contacto p,
.footer-redes a {
  color: #ccc;
  text-decoration: none;
}

.footer-redes .redes-iconos {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-redes .redes-iconos img {
  width: 24px;
  height: 24px;
  filter: invert(1);
  transition: transform 0.3s;
}

.footer-redes .redes-iconos img:hover {
  transform: scale(1.2);
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  color: #777;
  font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo,
  .footer-contacto,
  .footer-redes {
    max-width: 100%;
  }
}
/* ===== SECCIÓN DE RESEÑAS ===== */
.reseñas {
  padding: 60px 20px;
  background-color: #f0f0f0;
  text-align: center;
}

.reseñas h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}

/* CARRUSEL DE RESEÑAS */
.mini-carousel-wrapper {
  --color-bg: #0b1220;
  --color-card: rgba(255,255,255,0.08);
  --color-text: #eaf6ff;
  --color-muted: #b9d4e7;
  --color-accent1: #66d1ff;
  --color-accent2: #2de2c9;
  --radius: 25px;
  --gap: 20px;
}

.mini-carousel-wrapper .mini-carousel {
  position: relative;
  background: linear-gradient(180deg, #0a0f1a, #0b1220);
  padding: 40px 20px;
  border-radius: 0px;
  color: var(--color-text);
  overflow: hidden;
}

.mini-carousel-wrapper .mini-carousel__title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--color-accent1), var(--color-accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mini-carousel-wrapper .mini-carousel__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}
.mini-carousel-wrapper .mini-carousel__track::-webkit-scrollbar {
  display: none;
}

.mini-carousel-wrapper .mini-card {
  flex: 0 0 300px;
  background: var(--color-card);
  border-radius: var(--radius);
  padding: 15px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform 0.3s;
}
.mini-carousel-wrapper .mini-card:hover {
  transform: translateY(-5px);
}
.mini-carousel-wrapper .mini-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mini-carousel-wrapper .mini-card__top img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
}
.mini-carousel-wrapper .stars {
  color: #ffd166;
  font-size: 0.9rem;
}
.mini-carousel-wrapper .mini-card p {
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.mini-carousel-wrapper .mini-card small {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.mini-carousel-wrapper .mini-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.mini-carousel-wrapper .mini-carousel__btn:hover {
  background: rgba(0,0,0,0.8);
}
.mini-carousel-wrapper .mini-carousel__btn--prev {
  left: 10px;
}
.mini-carousel-wrapper .mini-carousel__btn--next {
  right: 10px;
}

.btn-wsp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  z-index: 9999;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-wsp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.22);
}

.btn-wsp svg {
  color: white;
  display: block;
}

.iconos-redes {
  display: flex;
  gap: 15px;
  color: #fff;
}

.iconos-redes a {
  color: #fff; /* Cambia el color */
  font-size: 28px;
  text-decoration: none;
  transition: color 0.3s;
}

.iconos-redes a:hover {
  color: #25d366; /* Verde WhatsApp al pasar el mouse */
}

.iconos-redes a:nth-child(1):hover { color: #E4405F; } /* Instagram */
.iconos-redes a:nth-child(2):hover { color: #25D366; } /* WhatsApp */
.iconos-redes a:nth-child(3):hover { color: #1877F2; } /* Facebook */

@media (max-width: 480px) {
  .btn-wsp {
    right: 12px;
    bottom: 12px;
    width: 56px;
    height: 56px;
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  
  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none; /* Oculto por defecto */
  }

  .menu li {
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu li a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: block;
  }

  .menu.show {
    display: flex;
  }
  
  .contenido-header h1 {
    font-size: 1.8rem;
  }

  .piscina {
    width: 180px;
    margin: 0 10px;
  }
}