/* ¿¿¿¿ */

/* ¿¿¿¿¿¿¿¿¿ */
body {
  padding: 40px 20px;
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #6198CE;
  color: #ffffff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ¿¿¿¿¿¿¿ */
section {
  padding: 30px 20px;
  margin: 0 auto;
  max-width: 1000px;
  background-color: #ffffff;
  color: #6198CE;
  border-radius: 10px;
  margin-bottom: 40px;
  
}

section h1 {
  background-color: #6198CE;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}

/* Hero¿¿¿¿¿ */
.hero h1 {
  font-size: 4em;
  color: #ffffff;
  margin-bottom: 20px;
  margin: 0px;
}

.hero p {
  font-size: 1.2em;
  color: #6198CE;
  margin-bottom: 20px;
}

.hero {
  text-align: center;
  padding: auto 0;
  background-color: #ffffff;
}

.hero-slideshow {
  max-width: 1000px;
  position: relative;
  overflow: hidden;
}

.hero-slideshow img {
  width: 100%;
  border-radius: 5px;
  height: auto;
  display: none;
}

.hero-slideshow img.active {
  display: block;
}

/* ¿¿¿¿¿¿¿¿¿¿¿¿ */
.day-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1080px;
  margin: auto;
}

.day-slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.day-slide.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-controls {
  text-align: center;
  margin-bottom: 30px;
}

.slide-controls button {
  background-color: #ffffff;
  color: #6198CE;
  border: none;
  margin: 0 5px;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.slide-controls button.active {
  background-color: #FEC500;
  color: #ffffff;
}

/* ¿¿¿¿¿¿ */
.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.photo-grid img {
  width: 100%;
  max-width: 1080px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ¿¿¿¿¿ */
.gallery h2 {
  background-color: #92CF12;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.gallery-grid img {
  width: 100%;
  max-width: 1080px;
  height: auto;
  border-radius: 8px;
}

/* ¿¿¿ */
.contact h2 {
  font-size: 1.3em;
  background-color: #FEC500;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 20px;
}

.contact img {
  max-width: 200px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
  margin: 20px auto 0;
}

/* ¿¿¿¿ */
footer {
  padding: 30px 20px;
}

footer .language-switch {
  margin-top: 15px;
}

footer .language-switch button {
  background: #ffffff;
  color: #6198CE;
  border: none;
  margin: 0 5px;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
}

footer .language-switch button.active,
footer .language-switch button:hover {
  background-color: #FEC500;
  color: #ffffff;
}

/* ¿¿¿¿¿¿¿¿ */
@media screen and (max-width: 768px) {
  .photo-grid img,
  .gallery-grid img {
    max-width: 100%;
  }

  section {
    padding: 40px 16px;
  }

  .hero h1 {
    font-size: 2em;
  }
}

/* ¿¿¿¿¿¿ */
.legal {
  background-color: #ffffff;
  color: #6198CE;
  padding: 40px 20px;
  border-radius: 10px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.legal h2 {
  font-size: 1.3em;
  margin-bottom: 20px;
  background-color: #6198CE;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-block;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
}

.legal th,
.legal td {
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  width: 30%;
  background-color: #f0f8ff;
  color: #6198CE;
}

.legal td {
  background-color: #ffffff;
}

