body {
  background: color #f9f9f9;;
  color: black;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

.header {
  background-color: #ffd54f;
  padding: 10px 20px;
  
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:10px 20px;
  position: relative;
  
}

.logo {
  height: 50px;
  max-width:150px;
  object-fit: contain;

}
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
}

.navbar {
  display:flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex: 1;
  top: 0;
  z-index: 0;
}

.navbar a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  padding: 10px;
  transition: background 0.3s;
  border-radius: 10px;
}

.navbar a:hover {
  background-color: #f19e18;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: row;

    justify-content: space-between;
    width: 100%;
  }

  .logo {
    height: 40px;
    max-width: 120px;
    order: 2;
    margin-bottom: 10px;
    object-fit: contain;
  }

  .menu-toggle {
    display: block;
    order: 1;
    margin-bottom: 10px;
  }

  .navbar {
    order: 3;
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffd54f;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
  }

  .navbar.show {
    display: flex;
  }

  .navbar a {
    width: 90%;
    text-align: center;
    background-color: #ffd54f;
    color: white;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
  }
}

.catalogo-btn {
  background-color: white;
  color: #ffd54f;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 10px rgba(255, 165, 0, 0.4);
  transition: all 0.3s ease;
  animation: none;
}

.catalogo-btn:hover {
  background-color: #ffd54f;
  color: white;
  animation: heartbeat 0.8s infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

.logo {
  height: 60px;
  max-width: 160px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.section {
  margin-top:30PX;
  padding: 30px;
  background-color: #ffd54f;
  color: black;
  border-radius: 10px;
  width: 90%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 6px 12px rgba(255, 165, 0, 0.3);
}


#quienes-somos {
  margin-top:30px;
 
}

.carrousel{
  max-width: 800px;
  aspect-ratio: 16/9;
  margin:  2rem auto;
  overflow: hidden;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.slides{
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 15s infinite;
}

.slide{
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img{
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 15px;
  
}

@keyframes slide {
  0%{transform: translateX(0%);}
  33%{transform: translateX(-100%);}
  66%{transform: translateX(-200%);}
  100%{transform: translateX(0%);}
}


#map {
  width: 100%;
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(255, 165, 0, 0.3);
}

.imagen {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 15px;
}

.imagen img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.imagen img:hover {
  transform: scale(1.05);
}

.map-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 0 15px;
}

.map-container iframe {
  width: 100%;
  max-width: 800px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

@media screen and (max-width: 768px) {
  .nav-container {
    flex-direction: column-reverse;
    align-items: center;
    padding: 15px;
    text-align: center;
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 10px;
  }

  .navbar a {
    width: 100%;
    padding: 12px 0;
  }

  .logo {
    margin-bottom: 10px;
  }

  .catalogo-btn {
    width: 100%;
    max-width: 250px;
  }

  .section {
    padding: 20px;
    width: 95%;
  }

  #quienes-somos {
    margin-top: 30px;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media screen and (max-width: 480px) {
  .catalogo-btn {
    font-size: 16px;
    padding: 10px 15px;
  }

  .navbar a {
    font-size: 15px;
  }

  .logo {
    height: 50px;
  }

  .map-container iframe {
    height: 250px;
  }
}
.footer {
  background-color: #ffd54f;
  color: white;
  text-align: center;
  padding: 15px 10px;
  margin-top: 40px;
  font-weight: bold;
}
 