@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Story+Script&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Crimson Text", serif;
}

body {
  background-image: url(../assets/fondo2.png);
  background-size: cover;
  background-attachment: fixed;
  color: #111;
}

h1 {
  color: black;
}

p {
  color: black;
  font-size: 1.15rem;
  font-family: "Story Script", sans-serif;
  line-height: 1.4;
}

li {
  list-style: none;
}

a {
  color: rgb(255, 167, 3);
  text-decoration: none;
  transition: color 0.3s ease;
}

.intro-card, .feature-card {
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.logo {
  width: clamp(130px, 18vw, 220px);
  height: auto;
}

.img {
  width: clamp(30px, 3vw, 48px);
  height: auto;
}

.nav-pills .nav-link {
  color: #1f1f1f;
  border: 1px solid #c7b999;
  background-color: rgba(255, 255, 255, 0.6);
  transition: background-color 0.25s ease;
}
.nav-pills .nav-link.active, .nav-pills .nav-link:hover {
  background-color: #ffc107;
  color: #212529;
}

.hero-grid,
.about-grid,
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  transition: transform box-shadow 0.35s ease;
}

.intro-card {
  transition: transform box-shadow 0.35s ease;
}

.benefits-list {
  padding-left: 1rem;
}
.benefits-list li {
  list-style: disc;
  font-family: "Story Script", sans-serif;
  font-size: 1.1rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  grid-template-areas: "datos formulario" "mapa  mapa";
}
.contact-layout .datos-contacto {
  grid-area: datos;
}
.contact-layout .formulario-contacto {
  grid-area: formulario;
}
.contact-layout .mapa {
  grid-area: mapa;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}
.gallery-image:hover {
  transform: scale(1.08);
}

.carousel-galeria {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}
.carousel-galeria .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-galeria .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.carousel-galeria .carousel-slide .carousel-caption-custom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  border-radius: 0 0 12px 12px;
}
.carousel-galeria .carousel-slide .carousel-caption-custom p {
  color: white;
  font-size: 0.95rem;
  margin: 0;
  animation: none;
}
.carousel-galeria .carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-galeria .carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color transform 0.3s ease;
  cursor: pointer;
}

.team-container {
  display: flex;
  justify-content: center;
}

.team-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
}

@keyframes slide1 {
  0% {
    opacity: 1;
  }
  17.7777777778% {
    opacity: 1;
  }
  20% {
    opacity: 0;
  }
  97.7777777778% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slide2 {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  22.2222222222% {
    opacity: 1;
  }
  40% {
    opacity: 1;
  }
  42.2222222222% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slide3 {
  0% {
    opacity: 0;
  }
  40% {
    opacity: 0;
  }
  42.2222222222% {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  62.2222222222% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slide4 {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 0;
  }
  62.2222222222% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  82.2222222222% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slide5 {
  0% {
    opacity: 0;
  }
  80% {
    opacity: 0;
  }
  82.2222222222% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes dotActive {
  0%, 100% {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1);
  }
  50% {
    background-color: rgb(255, 167, 3);
    transform: scale(1.3);
  }
}
.carousel-slide:nth-child(1) {
  animation: slide1 22.5s ease-in-out infinite;
  animation-delay: 0s;
}

.carousel-slide:nth-child(2) {
  animation: slide2 22.5s ease-in-out infinite;
  animation-delay: 0s;
}

.carousel-slide:nth-child(3) {
  animation: slide3 22.5s ease-in-out infinite;
  animation-delay: 0s;
}

.carousel-slide:nth-child(4) {
  animation: slide4 22.5s ease-in-out infinite;
  animation-delay: 0s;
}

.carousel-slide:nth-child(5) {
  animation: slide5 22.5s ease-in-out infinite;
  animation-delay: 0s;
}

@media (max-width: 576px) {
  .carousel-galeria {
    height: 320px;
    max-width: 100%;
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}
@keyframes cardGlow {
  from {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  to {
    box-shadow: 0 8px 32px rgba(255, 167, 3, 0.35);
  }
}
h1 {
  animation: fadeInDown 0.7s ease both;
}

p {
  animation: fadeInUp 0.7s ease both;
}

.feature-card,
.intro-card {
  animation: fadeInUp 0.6s ease both;
  transition: transform box-shadow 0.35s ease;
  cursor: default;
}
.feature-card:hover,
.intro-card:hover {
  transform: translateY(-6px) scale(1.02);
  animation: cardGlow 0.35s ease forwards;
}

.gallery-image {
  animation: fadeInUp 0.5s ease both;
}

.logo {
  animation: pulse 2s ease-in-out infinite;
}

.btn {
  position: relative;
  overflow: hidden;
  transition: transform box-shadow 0.25s ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.btn:active {
  transform: translateY(0px) scale(0.97);
}

.nav-pills .nav-link {
  position: relative;
  overflow: hidden;
}
.nav-pills .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: rgb(255, 167, 3);
  transition: width left 0.3s ease;
}
.nav-pills .nav-link:hover::after, .nav-pills .nav-link.active::after {
  width: 100%;
  left: 0;
}

/* CONTENEDOR DE EQUIPO */
.team-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap; /* responsive */
  margin-top: 20px;
}

/* CARD DE CADA PERSONA */
.team-container {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 15px;
  max-width: 260px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* EFECTO HOVER */
.team-container:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255, 167, 3, 0.35);
}

/* IMAGEN */
.team-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.4s ease;
}

/* ZOOM SUAVE */
.team-container:hover .team-image {
  transform: scale(1.05);
}

/* TEXTO */
.team-container p {
  font-size: 1rem;
  margin-top: 5px;
}

@keyframes socialBounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-8px) scale(1.15);
  }
  60% {
    transform: translateY(-4px) scale(1.1);
  }
}
@keyframes socialSpin {
  from {
    transform: rotate(0deg) scale(1);
  }
  to {
    transform: rotate(360deg) scale(1.2);
  }
}
footer .img {
  transition: transform filter 0.3s ease;
  display: block;
}
footer a[href*=instagram] .img:hover {
  animation: socialBounce 0.6s ease;
  filter: drop-shadow(0 0 8px rgba(225, 48, 108, 0.6));
}
footer a[href*=facebook] .img:hover {
  animation: socialSpin 0.5s ease forwards;
  filter: drop-shadow(0 0 8px rgba(24, 119, 242, 0.6));
}
footer a[href*=whatsapp] .img:hover {
  animation: socialBounce 0.6s ease;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.6));
}

@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .timeline-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "datos" "formulario" "mapa";
  }
  p {
    font-size: 1.05rem;
  }
}
@media (max-width: 576px) {
  body {
    background-size: auto;
  }
  .nav {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-pills .nav-link {
    text-align: center;
  }
  .gallery-image {
    height: 210px;
  }
}

/*# sourceMappingURL=styles.css.map */
