
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-image: url('../img/background.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: #fff;
  text-align: center;
}
header .logo {
  width: 380px;
  margin: 20px auto;
  display: block;
  z-index: 1;
  position: relative;
  animation: fadeInBounce 1.5s ease-out;
}
.deco-left{
  position: fixed;
  top: -3px;
  left: -10px;
  width: 30%;
  z-index: -1;
}
.deco-left img, .deco-right img, .date img{ width:100%; }

.deco-right{
  position: fixed;
  top: -3px;
  right: -10px;
  width: 20%;
  z-index: -1;
}
.date{ position: absolute; width: 20%; z-index:2; top: 120px !important; right: 30px !important; opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 1s ease-out forwards;  }



.hero{  
  transform: rotate(0deg);
  animation: girarIzquierda 1.5s ease-out forwards;
}
.clone-title{
  -webkit-text-stroke: 0px #d93030 !important;
  position: absolute;
  z-index: 1;
  top: -110px;
}
.hero h1 {
  position: relative;
  font-family: 'AmsiProCond', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 3.8em;
  margin: 0.5em 0 0.2em;
  -webkit-text-stroke: 20px #d93030; /* grosor y color del borde */
}
.hero p {

  margin: -120px 0 0 0;
  font-size: 1.1em;
  font-style: italic;
  font-weight: 600;
}
.info-cards {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  padding: 2em 1em;
}
.card {
  background-color: rgba(0,0,0,0.7);
  border-radius: 15px;
  padding: 1.5em;
  width: 300px;
  margin: 50px 0 0 0;
}
.card h2{ font-family: 'AmsiProCond', sans-serif; font-size:1.9em; padding:0; margin:0; }
.card ul{ list-style: none; margin: 0; padding: 0; }
.card img{ width: 90px; margin:-70px 0 0 0; }

.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 1em;
  scroll-snap-type: x mandatory;
}
.carousel-container img {
  height: 180px;
  scroll-snap-align: center;
  border-radius: 10px;
}
.reserve {
  margin: 2em 0;
  text-align: center;
}
.reserve a{ width:30% !important; }
.reserve a img{ width:100%; }

footer{
  background: rgba(0, 0, 0, 0.5);
  padding: 1em 0;
}

/* Animación combinada */
@keyframes fadeInBounce {
  0% {
    opacity: 0;
    transform: scale(0.6) translateY(-30px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(5px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}



@font-face {
  font-family: 'AmsiProCond';
  src: url('../fonts/amsiprocond-ultraitalic.otf') format('opentype');
  font-style: italic;
  font-weight: 900;
}

@keyframes girarIzquierda {
  to {
    transform: rotate(-2deg);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* === RESERVE BUTTON CORREGIDO === */
.reserve {
  margin: 2em auto;
  text-align: center;
}
.reserve a {
  width: 25%;
  display: inline-block;
}
.reserve a img {
  width: 100%;
  border-radius: 10px;
}

/* === CARRUSEL CONTROLES Y DOTS === */
.carousel {
  position: relative;
  width: 100%;
  margin: 2em 0;
  overflow: hidden;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.5);
  border: none;
  font-size: 2em;
  padding: 0 0.3em;
  cursor: pointer;
  z-index: 10;
}
.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1em;
  gap: 0.5em;
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.4;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.carousel-dots .dot.active {
  opacity: 1;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2em; -webkit-text-stroke: 4px #d93030; }
  .hero p { font-size: 1em; margin-top: -50px; }
  .info-cards { flex-direction: column; align-items: center; }
  .card { width: 90%; margin-bottom: 2em; }
  .reserve a { width: 90%; }
  .carousel-container img { height: 140px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6em; }
  .card h2 { font-size: 1.4em; }
  .carousel-container img { height: 120px; }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5em;
    -webkit-text-stroke: 3px #d93030;
    line-height: 1.2em;
  }
  .hero p {
    font-size: 1em;
    margin-top: -40px;
  }
}

.carousel-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 1em;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.carousel-container img {
  flex: 0 0 auto;
  width: calc(25% - 10px);
  scroll-snap-align: center;
  border-radius: 10px;
  object-fit: cover;
}

/* RESPONSIVE: En mobile se muestra 1 imagen a la vez */
@media (max-width: 768px) {
  .carousel-container img {
    width: 100%;
    height: auto;
  }
}

.map-section {
  margin: 2em auto;
  width: 100% !important;
  /*max-width: 1000px;*/
  border-radius: 12px;
  overflow: hidden;
}
.map-section iframe { width:100% !important; }

.map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
  overflow: hidden;
  text-align: center;
}
.map-section h2 {
  margin: 1em 0 0.5em;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1em;
  gap: 0.5em;
}
.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: #fff;
  opacity: 0.3;
  border-radius: 50%;
  border: 2px solid #d93030;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dots .dot.active {
  background: #d93030;
  opacity: 1;
  transform: scale(1.2);
}

.contact-form {
  background: rgba(0,0,0,0.5);
  padding: 2em 1em;
  margin: 2em 1em;
  border-radius: 12px;
}
.contact-form h2 {
  font-family: 'AmsiProCond', sans-serif;
  font-size: 2em;
  margin-bottom: 1em;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 90%;
  margin: 0.5em auto;
  padding: 0.8em;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}
.contact-form button {
  padding: 0.8em 2em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: #d93030;
  color: #fff;
  cursor: pointer;
}
.contact-form button:hover {
  background-color: #a62020;
}

.contact-map-wrapper {
  background: rgba(0,0,0,0.5);
  padding: 2em 1em;
  margin: 2em 1em;
  border-radius: 12px;
}
.map-form-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1em;
}
.map-box, .form-box {
  flex: 1 1 48%;
}
.form-box h2 {
  font-family: 'AmsiProCond', sans-serif;
  font-size: 2em;
  margin-bottom: 1em;
}
.form-box input,
.form-box textarea,
.form-box select {
  display: block;
  width: 95%;
  margin: 0.5em auto;
  padding: 0.8em;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}
.form-box button {
  padding: 0.8em 2em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: #d93030;
  color: #fff;
  cursor: pointer;
}
.form-box button:hover {
  background-color: #a62020;
}

@media screen and (max-width: 768px) {
  .map-form-container {
    flex-direction: column;
  }
}

.form-box select {
  appearance: none;
  background-color: #fff;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  padding: 0.8em;
  width: 95%;
  margin: 0.5em auto;
  border-radius: 8px;
  border: none;
  font-size: 1em;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 95%;
  background-position-y: 50%;
}

.form-box input[name="emprendimiento"] {
  display: block;
  width: 95%;
  margin: 0.5em auto;
  padding: 0.8em;
  border: none;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}

@media (max-width: 768px) {
  
  .clone-title {
    display: none !important;
  }
  .date {
    width: 60% !important;
    margin: 10px auto !important;
    top: 40px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center;
  }
}

