/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* HEADER */
header {
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  height: 60px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* BOTÓN HAMBURGUESA */
.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  background: #333;
  display: block;
  height: 3px;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* HERO SECTION */
.hero {
  height: 90vh;
  background: url(images/mainbannerimage2.jpg) no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn {
  background: #eab308;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

/* PRODUCTOS */
.productos {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
}

.productos h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card img {
  width: 100%;
  height: 325px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card p {
  font-size: 1rem;
  color: #555;
}

/* FORMULARIO */
.cotizacion {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.cotizacion h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  resize: vertical;
}

form button {
  padding: 1rem;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

form button:hover {
  background: #444;
}

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* BOTÓN WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 36px;      /* tamaño del ícono/texto */
  width: 60px;          /* tamaño del botón cuadrado */
  height: 60px;
  border-radius: 50%;   /* botón redondo */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
  z-index: 10000;
}

.whatsapp:hover {
  background-color: #1ebe57;
}

/* --- Responsive y menú hamburguesa --- */

@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  .nav {
  flex-direction: column;
  align-items: center;
}

  /* Menú hamburguesa */
  .menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 1rem;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 5px;
    z-index: 1001;
  }

  .menu.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  header .nav {
    position: relative;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .cotizacion h2,
  .productos h2 {
    font-size: 2rem;
  }
}

footer {
  background: #222;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.contact-info p,
.contact-info a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
}

.footer-icon {
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-icon:hover {
  transform: scale(1.1);
}

.footer-btn {
  margin: 0 auto;
}

.btn-footer {
  background: #eab308;
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-footer:hover {
  background: #c29704;
}

.copyright {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
  width: 100%;
  
}

/* Responsive Footer */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }
}

.steps{
                display: flex;
                font-family: Montserrat;
                color: black;
                justify-content: center;
                flex-wrap: wrap;
                padding-bottom: 20px;
            }
            .step-component{
                width: 250px;
               
            }
            .step-container{
                margin-top: 20px;
                width: 250px;
                display: flex;
                flex-direction: column;
                gap: 15px;
                text-align: center;
                margin-left: 15px;
                margin-right: 15px;
                
            }
            .step-icon{
                width: 60px;
                background-color: rgb(231, 204, 154);
                border-radius: 50%;
                padding: 5px;
            }
            .step-name{
                font-weight: 700;
            }


            .carousel {
  position: relative;
  width: 100%;
  height: 325px;
  overflow: hidden;
  border-radius: 5px;
}

.carousel img {
  width: 100%;
  height: 325px;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel img.active {
  opacity: 1;
  position: relative;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel button:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.1);
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}
