html {
  scroll-behavior: smooth;
}

/* HERO */

.hero-content {
  animation: aparecerHero 1.5s ease;
}

@keyframes aparecerHero {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NAVBAR */

.navbar {
  transition: all 0.4s ease;
}

/* TARJETAS */

.service-card,
.location-card,
.testimonial {
  transition: all 0.4s ease;
}

.service-card:hover,
.location-card:hover,
.testimonial:hover {
  transform: translateY(-8px);
}

* {
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: #ffffff;
  color: #000000;
}

.navbar {
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgb(0, 0, 0);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1rem;
  color: #1565c0;
}

.nav-link {
  color: #000000;
  font-weight: 500;
}

.imagen-nosotros {
  max-width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto;
  border-radius: 25px;
  border: 20px solid rgb(0, 0, 0);
  box-shadow: 0 10px 30px rgba(0,0,0,.20);
}

.hero{
  position:relative;
  min-height:100vh;
  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:center;

  text-align:center;
  color:white;
}

/* IMÁGENES */
.hero-slide{
  position:absolute;
  top:0;
  left:0;

  width:100%;
  height:100%;

  background-size:cover;
  background-position:center center;

  opacity:0;

  transition:opacity 1.5s ease-in-out;
}

.hero-slide.active{
  opacity:1;
}

/* TUS 4 FOTOS */
.hero-slide:nth-child(1){
  background-image:url("../img/WhatsApp\ Image\ 2026-06-06\ at\ 12.41.01\ PM.jpeg");
  background-position:top center;
}

.hero-slide:nth-child(2){
  background-image:url("../img/Gemini_Generated_Image_fg2ybbfg2ybbfg2y.png");
  background-position:top center;
}

.hero-slide:nth-child(3){
  background-image:url("../img/Gemini_Generated_Image_kli4i2kli4i2kli4.png");
  background-position:top center;
}
.hero-slide:nth-child(4){
  background-image:url("../img/WhatsApp\ Image\ 2026-06-06\ at\ 18.13.20.jpeg");
  background-position:top center;
}
/* CAPA OSCURA */
.hero-overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.55)
  );

  z-index:1;
}

/* TEXTO */
.hero-content{
  position:relative;
  z-index:2;

  max-width:900px;

  animation:aparecerHero 1.5s ease;
}

.hero-content h1{
  color:white;
}

.hero-content p{
  color:white;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: auto;
}

.btn-premium {
  background: #1565c0;
  color: rgba(255, 253, 253, 0.63);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
}

.btn-premium:hover {
  background: #1565c0;
  color: rgb(255, 255, 255);
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 20px;
}

.service-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgb(0, 0, 0);
  background: rgba(163, 163, 163, 0.06);
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card img {
  height: 220px;
  object-fit: cover;
}

.gallery img {
  border-radius: 20px;
  height: 280px;
  object-fit: cover;
  transition: 0.3s;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.02);
}

.testimonial {
  background: rgba(221, 221, 221, 0.577);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 25px rgb(55, 54, 54);
  height: 100%;
}

.contact-section {
  background: #eef1eb;
  border-radius: 35px;
  padding: 60px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.contact-section form {
  background: white;
  border-radius: 30px;
}

.maps-container iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.location-card {
  background: white;
  padding: 20px;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.location-card iframe {
  width: 100%;
  height: 220px;
  border: none;
  border-radius: 20px;
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 0.9rem;
  }

  .contact-section {
    padding: 25px;
  }
}

.form-control {
  border-radius: 15px;
  padding: 14px;
  border: 1px solid #000000;
}

footer {
  background: #1565c0;
  color: rgb(255, 255, 255);
  padding: 30px 0;
}

.maps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 25px;
}

.maps-container iframe {
  width: 100%;
  height: 230px;
  border: none;
  border-radius: 20px;
}

.modal-galeria {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.91);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.imagen-modal {
  max-width: 90%;
  max-height: 90%;
  border-radius: 20px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.7rem;
  }

  .hero {
    min-height: 85vh;
  }

  .contact-section {
    padding: 30px;
  }
}

/* BURBUJAS REDES */

.social-float{
  position:fixed;
  right:20px;
  bottom:20px;
  display:flex;
  flex-direction:column;
  gap:15px;
  z-index:9999;
}


.social-btn img{
  width:34px;
  height:34px;
}

.social-btn {
   width:65px;
  height:65px;
  background:rgb(255, 255, 255);
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow:0 8px 25px rgba(0,0,0,.15);
  transition:.3s;

  animation: flotar 3s infinite ease-in-out;
}


.social-btn:hover img {
  transform: scale(1.25) rotate(8deg);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25));
}

@keyframes flotar {
  0% {
    transform: translateY(0);
  }

  10% {
    transform: translateY(-12px);
  }

  20% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

.whatsapp {
  animation-delay: 0s;
}

.facebook {
  animation-delay: 0.3s;
}

.instagram {
  animation-delay: 0.6s;
}

@media (max-width: 768px) {
  .social-float {
    right: 5px;
    bottom: 10px;
  }

  .social-btn {
    width: 55px;
    height: 55px;
    border-radius: 18px;
  }

  .social-btn img {
    width: 28px;
    height: 28px;
  }
}

/* MEJORA SECCIÓN NOSOTROS EN CELULAR */

@media (max-width: 768px) {
  .imagen-nosotros {
    max-width: 100%;
    width: 100%;
    border-radius: 20px;
  }

  #nosotros p {
    text-align: justify;
    font-size: 15px;
    line-height: 1.7;
  }

  #nosotros .section-title {
    font-size: 2.3rem;
    text-align: center;
    margin-top: 20px;
  }
}

/* SOLO CELULAR */
@media (max-width: 768px) {
  #imagenPrincipal {
    max-height: 65vh !important;
  }

  #miniaturas img {
    width: 70px !important;
    height: 55px !important;
  }
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

.container,
.container-fluid,
.row {
  max-width: 1200px;
}
body{
    background-color:transparent;
    background-image:url("../img/41448872-fcbc-4db4-9f65-3456e7fb12f0.png");
    background-repeat:repeat;
    background-size:90px;
    background-attachment:fixed;
}
#nosotros{
     background: #ffffff;
    border-radius: 30px;
    margin: 40px auto;
    max-width: 1400px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    overflow: hidden;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

#imagenPrincipal{
  width:100%;
  height:65vh;
  object-fit:cover;
  object-position:center;
  border-radius:20px;
}

@media (max-width:768px){

  #imagenPrincipal{
    height:50vh;
  }

}

/* SERVICIOS */
.service-card{
  background: #ffffff;
}

/* GALERÍA */
#galeria .service-card{
  background: #ffffff;
}

/* UBICACIONES */
.location-card{
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}

/* TESTIMONIOS */
.testimonial{
  background: #ffffff;
}

/* FORMULARIO DE CONTACTO */
.contact-section{
  background: #fffdfd;
}

#modalGaleria{
    overflow:hidden !important;
}

#miniaturas{
    scrollbar-width:none;
}

#miniaturas::-webkit-scrollbar{
    display:none;
}

/* CELULAR Y TABLET */
@media (max-width: 992px){

  #imagenPrincipal{
    width:100% !important;
    height:60vh !important;
    object-fit:contain !important;
    object-position:center center !important;
    display:block;
    margin:auto;
  }

  #miniaturas{
    justify-content:flex-start !important;
    flex-wrap:nowrap !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    padding-bottom:10px;
  }

  #miniaturas img{
    width:75px !important;
    height:55px !important;
    flex-shrink:0;
  }

}


/* =========================
   HERO RESPONSIVE
========================= */

/* TABLET */
@media (max-width: 992px){

  .hero{
    min-height: 80vh;
    background-size: cover;
    background-position: center center;
    padding: 100px 20px;
  }

  .hero h1{
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero p{
    font-size: 1.1rem;
    max-width: 90%;
  }

}

/* CELULAR */
@media (max-width: 768px){

  .hero{
    min-height: 100vh;
    padding: 120px 20px 80px;
    background-size: cover;
    background-position: center center;
  }

  .hero-content{
    width: 100%;
  }

  .hero h1{
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 20px;
  }

  .hero p{
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
  }

  .btn-premium{
    width: 100%;
    max-width: 300px;
  }

}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px){

  .hero h1{
    font-size: 1.8rem;
  }

  .hero p{
    font-size: 0.95rem;
  }

}