/* ================= GENERAL STYLES ================= */
body {
  margin: 0;
  font-family: 'Lato', 'Montserrat', Arial, sans-serif;
  background-color: white;
  color: #333;
}
h2 {
  text-align: center;
  margin: 2rem 0 1rem;
}
section {
  padding: 2rem 5%;
}
/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between; /* logo left, menu right */
  align-items: center;
  padding: 1rem 5%;
  background: white;
  border-bottom: 1px solid #ddd;
}
.navbar .logo {
  font-weight: bold;
  font-size: 1.5rem;
  background: url('../images/logo.png') no-repeat ; 
  width: 100px;
  height: 70px ;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.navbar a {
  text-decoration: none;
  color: #333;
}
.navbar a:hover {
  color: blue;
}





/* ================= HERO ================= */
.hero {
  padding: 3rem 5%;
}

/* Top centered block */
.hero-center {
  position: relative; /* referencia para las absolutas */
  display: inline-block;
  text-align: center;
  margin-bottom: 3rem;
}



.hero-center h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero-center .blue {
  color: blue;
}
.hero-center .highlight {
  font-weight: bold;
}
.hero-center .hero-cta-button {
  margin: 1rem 0 2rem;
  padding: 0.8rem 2rem;
  background: blue;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.hero-center .hero-cta-button:hover {
  background: darkblue;
}



.hero-center .hero-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}


.hero-cta-button {
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  border-radius: 10px;
  background: blue;
  color: white;
  border: none;
  cursor: pointer;
}
.hero-cta-button:hover {
  background: darkblue;
}

.hero-image {
  max-width: 100%;
  width: 400px; /* tamaño fijo para probar */
  height: auto;
  display: block;
  margin: 0 auto;
}

.overlay {
  position: absolute;
  width: 200px; /* ajusta al tamaño que quieras */
  opacity: 0; /* inicia invisible para animación */
  transition: transform 3s ease-in, opacity 1s ease;
}

/* Coordenadas de cada overlay */
.overlay1 {
  right: 10%;
  bottom: 40%;
}

.overlay2 {
 right: 10%;
  bottom: 40%;
  
}

.overlay3 {
 right: 10%;
  bottom: 40%;
}



.hero-center.loaded .overlay1 {
  opacity: 1;
  transform: translate(-100px, 30px);
}


.hero-center.loaded .overlay2 {
  opacity: 1;
  transform: translate(-800px, 200px);
}

.hero-center.loaded .overlay3 {
  opacity: 1;
  transform: translate(-500px, 30px);
}






/* Bottom two-column layout */
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.hero-left {
  flex: 1;
}
.hero-left h1 {
  font-size: 1.5rem;
  line-height: 1.4;
}
.hero-left .highlight {
  color: blue;
  font-weight: bold;
}
.hero-right {
  flex: 1;
  text-align: center;
}
.video-container p {
  font-weight: bold;
  margin-bottom: 0.5rem;
}




/* ================= CUSTOMERS SECTION ================= */
.customers .customer-slider {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.customers img {
  width: 200px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s;
}
.customers img:hover {
  opacity: 1;
}




/* ================= INSTRUCTIONS SECTION ================= */
.instructions {
  padding: 3rem 5%;
  text-align: center;
}
.instructions .section-title {
  margin-bottom: 3rem;
  font-size: 2rem;
}
.instructions .highlight {
  color: blue;
  font-weight: bold;
}

/* Step container */
.instructions .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem; /* más pegados */
  margin: 2rem 0;
}

/* Alternate layout for even steps */
.instructions .step:nth-child(even) {
  flex-direction: row-reverse;
}

/* Image column */
.instructions .step-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.instructions .step-image img {
  max-width: 500px; /* un poco más pequeño */
  height: auto;
}
/* Text column */
.instructions .step-text {
  flex: 1;
  text-align: center;
  max-width: 400px;   /* limitar ancho del bloque */
  margin: 0 auto;     /* centrar dentro de la columna */
}
.instructions .step-text h2 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.instructions .step-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  text-align: justify; /* justificar texto */
}

/* CTA button */
.instructions .instructions-cta-button {
  display: block;
  margin: 3rem auto 0;
  padding: 0.8rem 2rem;
  background: blue;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.instructions .instructions-cta-button-:hover {
  background: darkblue;
}

.instructions-cta-button {
  display: block;
  margin: 2rem auto 0;
  padding: 0.8rem 2rem;
  border-radius: 15px;
  background: blue;
  color: white;
  border: none;
  cursor: pointer;
}
.instructions-cta-button:hover {
  background: darkblue;
}






/* ================= EXAMPLES / GALLERY ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.gallery img {
  width: 100%;
  display: block;
  border: 1px solid #ddd;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}
/* Pricing Section */
.pricing {
  text-align: center;
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.pricing-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.pricing-table {
  display: flex;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-column {
  flex: 1;
  display: flex;
  flex-direction: column; /* allows pushing footer to bottom */
  justify-content: space-between;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}


.pricing-column ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  flex-grow: 1; /* fill available space */
}

.pricing-column:hover {
  transform: translateY(-8px);
}

.pricing-column img {
  max-width: 200px;
  padding: 30px;
  margin: 0 auto 10px;
}

.price {
  font-size: 1.5rem;
  color: #333;
  margin: 1rem 0;
  font-weight: bold;
}

.features {
  list-style: none;
  padding: 0;
  margin: 10rem 0 2rem;
  text-align: center;
}

.features li {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.footer-plans {
  margin-top: auto; /* pushes footer to bottom */
  text-align: center;
}

.footer-plans button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: #007bff;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.footer-plans button:hover {
  background: #0056b3;
}

















/* ================= BLOG SECTION ================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.blog-grid article {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 5px;
  background: #fafafa;
}
.blog-grid h3 {
  margin-top: 0;
}

/* ================= FOOTER ================= */
.footer {
  background: blue;
  color: white;
  padding: 2rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-column p {
  margin: 0.3rem 0;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-newsletter input {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
  margin-bottom: 0.5rem;
  width: 80%;
}

.footer-newsletter button {
  padding: 0.5rem 1rem;
  border: none;
  background: white;
  color: blue;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: white;
  text-decoration: none;
  margin: 0.3rem 0;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: white;
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    gap: 2rem;
  }

  .footer-newsletter input {
    width: 100%;
  }
}