/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

/* HERO */
.hero {
  background-image: url("../img/004.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 20px;
}

.titulo {
  font-family: 'Great Vibes', cursive;
  font-size: 80px;
  font-weight: normal;
  color: #ffffe3;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.3rem;
  margin-top: 15px;
  text-shadow: 4px 4px 5px rgba(0, 0, 0, 0.6);
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #df5e55;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #c44f47;
  transform: scale(1.03);
}

.btn.secondary {
  background-color: #fff;
  color: #df5e55;
  border: 2px solid #df5e55;
}

.btn.secondary:hover {
  background-color: #df5e55;
  color: #fff;
}

/* SECTIONS */
.section {
  padding: 20px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.section.alt {
  background-color: #fff8f6;
}

.section h2 {
  font-size: 2.2rem;
  color: #df5e55;
  margin-bottom: 20px;
}

.section p {
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 16px 16px 12px;
  font-size: 1.2em;
  color: #df5e55;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content {
  background: white;
  padding: 30px 20px;
  border-radius: 10px;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  animation: slideUp 0.4s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.modal-content h2 {
  color: #df5e55;
  margin-bottom: 10px;
}

.modal-content p {
  color: #444;
  line-height: 1.6;
}

.close-btn {
  font-size: 24px;
  font-weight: bold;
  color: #df5e55;
  position: absolute;
  right: 20px;
  top: 15px;
  cursor: pointer;
}
/*galeria*/
/* Galería */
.gallery-section {
  text-align: center;
  margin: 40px auto;
  padding: 0 16px; /* margen lateral para pantallas chicas */
}

.gallery-toggle {
  background-color: #df5e55;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.gallery-toggle:hover {
  background-color: #c84f47;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.3); /* efecto hover */
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }

  .gallery img {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    aspect-ratio: 4 / 3;
  }

  .gallery-toggle {
    width: 100%;
    font-size: 1em;
  }
}


/* SCROLL */
.section-scroll {
  padding: 1px 20px;
  background-color: #f9f7f3;
  color: #333;
}

.section-scroll .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 40px;
}

.section-scroll .oferta h3 {
  margin-top: 30px;
  font-size: 1.5em;
  color: #df5e55;
}

.section-scroll ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.section-scroll ul li {
  margin: 15px 0;
  line-height: 1.6;
  background: #fff;
  border-left: 5px solid #df5e55;
  padding: 10px 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/*contacto*/
.formulario.mostrar {
  display: block !important;
}


/* FOOTER */
/* FOOTER */
footer {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  background-color: #2b2b2b; /* gris más elegante que #333 */
  color: #eee;
  margin-top: 20px;
}

.footer-texto p {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #aaa;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-item a {
  color: #2b2b2b;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.footer-item a:hover {
  color: #df5e55;
}

.footer-item i {
  font-size: 30px;
}

/* Colores de marca */
.footer-item a[href*="instagram"] i {
  color: #E1306C;
}

.footer-item a[href*="mailto"] i {
  color: #EA4335;
}

.footer-item a[href*="wa.me"] i {
  color: #25D366;
}


