body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('img/logo.jpg');
  background-size: 150px 150px;
  background-repeat: repeat;
  background-attachment: fixed;
  color: #f5f5f5;
  text-align: center;
  /* Fixed FTP_HOST secret - retry deployment */
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(17, 17, 17, 0.75);
  z-index: 0;
  pointer-events: none;
}

body > * {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

body > section:not(.carousel-section) {
  margin-top: 30px;
}

.logo {
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  display: none;
}

header {
  padding: 20px;
  background-color: transparent;
}

.tagline {
  font-size: 1.2em;
  color: #d4af37;
}

.contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section {
  margin: 30px 20px;
  text-align: center;
}

h2 {
  color: #d4af37;
}

h1 {
  color: #d4af37;
  font-size: 2.5em;
  margin: 10px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

a {
  color: #d4af37;
  text-decoration: none;
  font-weight: bold;
}

.social-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.whatsapp-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  transform: translateY(0);
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  z-index: 999;
  transition: background-color 0.3s, transform 0.3s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-floating:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

.whatsapp-btn-contacto {
  display: inline-block;
  padding: 6px 12px;
  background-color: #25d366;
  color: white;
  border-radius: 6px;
  font-size: 0.85em;
  margin-top: 10px;
  transition: background-color 0.3s;
  text-decoration: none;
  font-weight: bold;
  width: auto;
  max-width: fit-content;
}

.whatsapp-btn-contacto:hover {
  background-color: #20ba5a;
}

.proximamente {
  padding: 30px 20px;
  margin: 30px 20px;
}

.proximamente h2 {
  color: #d4af37;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.proximamente p {
  font-size: 1.1em;
  margin: 10px 0;
  color: #f5f5f5;
}

.carousel-section {
  margin: 0;
  padding: 0;
  position: relative;
  order: -1;
  width: 100%;
}

.carousel-container {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  display: flex;
}

.carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 0;
  width: 200%;
  align-items: center;
}

.carousel-slide {
  min-width: 20%;
  max-width: 20%;
  height: 500px;
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  display: block;
}

/* Media Queries para Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 1.8em;
    margin: 10px 0 5px 0;
  }

  .tagline {
    font-size: 1em;
  }

  section {
    margin: 20px 15px;
  }

  h2 {
    font-size: 1.4em;
  }

  .carousel-section {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .carousel-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
  }

  .carousel-slide {
    min-width: 50%;
    max-width: 50%;
    height: 400px;
  }

  .carousel-track {
    width: auto;
    display: flex;
    animation: none;
  }

  .proximamente h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .proximamente p {
    font-size: 0.95em;
    margin: 8px 0;
  }

  .whatsapp-btn-contacto {
    padding: 6px 12px;
    font-size: 0.8em;
  }

  .social-icon {
    width: 20px;
    height: 20px;
    margin-right: 3px;
    display: inline-block;
  }

  .redes-links a {
    display: inline-block;
    margin: 8px 5px;
  }

  .whatsapp-floating {
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    right: 15px;
    bottom: 15px;
  }

  footer {
    font-size: 0.85em;
    padding: 15px;
  }

  body > section:not(.carousel-section) {
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
    margin: 8px 0 3px 0;
  }

  .tagline {
    font-size: 0.9em;
  }

  section {
    margin: 15px 10px;
  }

  h2 {
    font-size: 1.2em;
  }

  .carousel-section {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .carousel-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
  }

  .carousel-slide {
    min-width: 33.33%;
    max-width: 33.33%;
    height: 350px;
  }

  .carousel-track {
    width: auto;
    display: flex;
    animation: none;
  }

  .whatsapp-btn-contacto {
    padding: 5px 10px;
    font-size: 0.75em;
  }

  .proximamente h2 {
    font-size: 1.2em;
  }

  .proximamente p {
    font-size: 0.9em;
  }

  .social-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
  }

  .redes-links a {
    display: block;
    margin: 8px 0;
  }

  footer {
    font-size: 0.8em;
    padding: 10px;
  }
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes scrollMobile {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

footer {
  padding: 20px;
  background-color: transparent;
  font-size: 0.9em;
}