* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #3b3b3b;
    color: #ffff;
}

.hero {
    background: linear-gradient(to bottom right, #000, #333);
    background-image: url(src/10cut.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 0rem 1rem;
    color: #bd8c1b;
    padding-top: 15rem;
    align-items: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    align-items: center;
}
.hero p {
    font-size: 1.4rem;
    padding-top: 3rem;
    margin-bottom: 0;
    font-weight: 700;
    color: white;
}
.logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 10px;
    position: relative;
    left: 25%;
    
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.btn-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    background-color: transparent;
    color: #bd8c1b;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border:1px solid #bd8c1b;
}
.btn-cta:hover {
    background-color: #bd8c1b;
    color: #000;
    transition: background-color 0.3s ease;
}
.btn-cta-wsp {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    margin: 0.5rem;
    background-color: #127537;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border:1px solid #127537;
    text-align: center;
}
.btn-cta-wsp:hover {
    background-color: #1ebe5d;
    color: white;
    transition: background-color 0.3s ease;
}

.btn-center {
    text-align: center;
    margin-top: 1rem;
}
/* Menu hamburguesa */

/* Botón hamburguesa */
.hamburger {
    font-size: 34px;
    background: #3b3b3b;
    border: 1px solid black;
    border-radius: 10%;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 20px;
    left: 0px;
    z-index: 1001;
}

/* Menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #272626;
    padding: 60px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: left 0.3s ease;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.side-menu ul li {
    margin-bottom: 20px;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid white;
}

.side-menu ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
}
.side-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
    transition: opacity 0.3s ease;
}

/* Clases activas */
.side-menu.active {
    left: 0;
}

.overlay.active {
    display: block;
}

/* Boton volver arriba */

#scrollToTopBtn {
    position: fixed;
  bottom: 25px;         /* mismo nivel que el de WhatsApp */
  right: 90px;          /* desplazado a la izquierda del de WhatsApp */
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background-color: #333;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
}


main {
    padding: 2rem 1rem;
    padding-top: 0.5rem;
}

.servicio {
    background-color: #111;
    border: 1px solid #444;
    padding: 1.5rem;
    margin: 1rem auto;
    width: 90%;
    border-radius: 10px;
    text-align: center;
}

.servicio h2 {
    color: #bd8c1b;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #3b3b3b;
    border-top: 1px solid white;
}
footer p {
    color: #ffffff;
    font-size: 0.9rem;
}

footer h1 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.divisor {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 2rem 0;
}

.service-title {
    font-size: 1.5rem;
    color: #bd8c1b;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: bold;
}
.service h1 {
    font-size: 2rem;
    color: #fdfdfd;
    margin-bottom: 1rem;
    text-align: center;
}
span {
    color: red;
}

.guarantees p {
    font-size: 1.2rem;
    color: #fff;
    text-align: start;
    margin-top: 0.5rem;
}
.guarantees h2 {
    font-size: 2rem;
    color: #bd8c1b;
    margin-bottom: 0.5rem;
    text-align: center;
}
.service-image{
    width: 400px;
    height: 400px;
    border-radius: 10px;
    margin-bottom: 1rem;
    object-fit: cover;

}
.service-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}
/* Mas servicios section */
.dropdown-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    font-family: 'Segoe UI', sans-serif;
}

.dropdown-toggle {
    width: 100%;
    padding: 14px 20px;
    background-color: #bd8c1b;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: background-color 0.3s ease;
}

.dropdown-toggle::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
}

.dropdown-toggle.open::after {
    content: "▲";
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
    text-align: center;
}

.dropdown-menu li {
    padding: 12px 20px;
    border-bottom: 1px solid black;
    color: white;
    background: #534e06;
    cursor: pointer;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu.show {
    max-height: 500px;
    opacity: 1;
}



.contact {
    background-color: #3b3b3b;
    border: 1px solid #3b3b3b;
    padding: 1.5rem;
    margin: 1rem auto;
    width: 90%;
    border-radius: 10px;
    text-align: center;
}
.contact h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

#whatsapp-form {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Segoe UI', sans-serif;
}

#whatsapp-form label {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

#whatsapp-form input,
#whatsapp-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

#whatsapp-form input:focus,
#whatsapp-form textarea:focus {
    border-color: #127537;
    outline: none;
}
.btn-cta-form {
    background-color: #127537; /* Verde WhatsApp */
    color: white;
    padding: 14px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-cta-form:hover {
    background-color: #1ebe5d;
}
.gallery-item {
    width: auto;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.gallery h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}
.about-us h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}
.about-us p {
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
}
.about-us h2 {
    font-size: 1.5rem;
    color: #bd8c1b;
    margin-bottom: 0.5rem;
    text-align: center;
}
.about-image {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    object-fit: cover;
}
.testimonials h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}
.testimonial {
    background-color: #111;
    border: 1px solid #444;
    padding: 1.5rem;
    margin: 1rem auto;
    width: 90%;
    border-radius: 10px;
    text-align: center;
}
/* Reseñas */

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-slide {
    background: rgb(253, 253, 251);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 300px;
    text-align: center;
}

.swiper-slide-noreview {
    background: rgb(46, 46, 46);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 300px;
    text-align: center;
}

.stars {
    color: #f39c12;
    margin-bottom: 0;
}
.review-text {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
    align-items: center;
    justify-content: center;
}
.review-user-name {
    font-weight: bold;
    color: black;
    text-align: center;
    font-size: 1.2rem;
}
.swiper-slide small{
    font-size: 0.9rem;
    color: #00000085;
}
.btn-reviews {
    display: flex;
    flex-direction: column;
    background-color: #fbbc04; /* color Google amarillo */
    color: #000;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.btn-reviews:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}
/* Carrusel img */
.carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #bd8c1b;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.carousel-image{
    min-width: 100%;
    max-height: 600px;
    display: block;
    object-fit: cover;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 1;
}

.prev:disabled,
.next:disabled {
    opacity: 0.3;
    cursor: default;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

@media (max-width: 600px) {
    .prev,
    .next {
    font-size: 1.5rem;
    padding: 6px 10px;
    }
}

/* Whatsapp button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.2s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}
/* social footer */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: #3b3b3b;
}

.social-footer a img {
    width: 30px;
    height: 30px;

}
.footer a:hover img {
    transform: scale(1.2);
    filter: invert(60%) sepia(100%) saturate(500%) hue-rotate(120deg);
}

.guarantees-carousel {
  padding: 4rem 1rem;
  background-color: #3b3b3b;
}

.guarantees-carousel h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.guarantee {
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.guarantee-icon {
  width: 60px;
  height: auto;
  margin-bottom: 1rem;
}

.guarantee h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.guarantee p {
  font-size: 0.95rem;
  color: #555;
}

/* servicio slider */

/* Estilo general del carrusel */
.swiper {
  width: 100%;
  padding: 2rem 0;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.swiper-slide-noreview {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
/* Estilo de cada tarjeta */
.guarantee {
  background-color: #ffffff;
  padding: 1.5rem;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.guarantee:hover {
  transform: translateY(-5px);
}

/* Imagen de la tarjeta */
.guarantee-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-bottom: 1rem;
}
.guarantee-icon-service {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 50%;
}
/* Título */
.guarantee h2 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #222;
}

/* Descripción */
.guarantee p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
  
}

/* Marca destacada */
.guarantee span {
  color: #d7263d;
  font-weight: bold;
}

/* Responsive Swiper */
@media (min-width: 768px) {
  .swiper {
    padding: 3rem 0;
  }
  .guarantee {
    max-width: 350px;
  }
}
@media (min-width: 1024px) {
  /* HERO ajustado */
  .hero {
    padding: 10rem 2rem;
    background-position: center;
    background-size: cover;
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .logo {
    width: 240px;
    margin: 0 auto 2rem auto;
    left: unset;
    display: block;
  }

  /* SERVICIOS */
  .service-img {
    justify-content: center;
    align-items: center;
  }

  .service-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
  }

  /* GALERÍA de imágenes */
  .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem;
  }

  .gallery-item {
    width: 250px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    overflow: hidden;
  }

  .gallery h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  /* GARANTÍAS CARRUSEL */
  .guarantee {
    max-width: 320px;
  }

  .guarantee-icon {
    width: 70px;
    height: 70px;
  }

  /* FORMULARIO y CONTACTO */
  .contact, #whatsapp-form {
    max-width: 700px;
    margin: 0 auto;
  }

  /* ABOUT */
  .about-image {
    height: 350px;
    object-fit: cover;
  }

  .about-us p {
    max-width: 800px;
    margin: 0 auto;
  }
}
