
/* Estilos generales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #fdfdfd;
  color: #333;
}

/* Navbar */
nav {
  background: #0097a7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}
nav .logo {
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
}
nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
nav ul li { margin-left: 20px; }
nav ul li a {
  color: white;
  text-decoration: none;
}

/* Hero */
.hero {
  background: url("img/tetakawi.png") no-repeat center center;
  background-size: cover;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}
.hero-overlay h1 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.hero-overlay p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.btn-hero {
  display: inline-block;
  padding: 12px 25px;
  background: #0097a7;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-hero:hover { background: #007f8a; }

/* Responsivo Hero */
@media (max-width:600px) {
  .hero { height: 350px; }
  .hero-overlay h1 { font-size: 1.6em; }
  .hero-overlay p { font-size: 1em; }
}

/* Contenedor general */
.container {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

/* Listado */
.listado { list-style: none; padding: 0; text-align: center; }
.listado li { margin: 8px 0; }
.listado a {
  text-decoration: none;
  color: #0097a7;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav .logo img {
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

.listado a:hover { color: #006f80; }

/* Apartamentos/Villas */
.apartamentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
}
.card h3 {
  margin: 10px;
  color: #0097a7;
  cursor: pointer;
}
.card p { margin: 0 10px 10px; font-size: 0.9em; }
.btn-reservar {
  display: block;
  margin: 10px;
  padding: 10px;
  background: #0097a7;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
}
.btn-reservar:hover { background: #0080a7; }
.btn-maps {
  display: block;
  margin: 10px;
  padding: 10px;
  background: #34a853;
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.btn-maps:hover { background: #2c8c46; }

/* Responsivo Cards */
@media (max-width:1024px) {
  .apartamentos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width:768px) {
  .apartamentos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:600px) {
  .apartamentos { grid-template-columns: 1fr; }
  .card img { height: 250px; }
}

/* Footer */
footer {
  background: #0097a7;
  color: #fdfdfd;
  text-align: center;
  padding: 30px 20px;      /* más aire */
  margin-top: 50px;
  font-size: 1em;
  border-top: 4px solid #007f8a;
}

footer p {
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.5px;
}




/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  overflow-y: auto;
}
.modal-content {
  background: white;
  margin: 5% auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.close {
  align-self: flex-end;
  font-size: 1.5em;
  cursor: pointer;
}

/* Bloque de imágenes dentro del modal */
.modal-images {
  display: flex;
  overflow-x: hidden;
  position: relative; /* clave para botones */
}
.modal-images img {
  flex: 0 0 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 5px;
}

/* Botones dentro del modal */
.modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.3);
  color: #0097a7;
  border: none;
  font-size: 2em;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.modal-btn.left { left: 10px; }
.modal-btn.right { right: 10px; }
.modal-btn:hover {
  background: rgba(0,151,167,0.7);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Texto dentro del modal */
.modal-content p,
.modal-content ul {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Calendario dentro del modal */
.modal-calendar {
  margin-top: 20px;
  text-align: center;
}
.modal-calendar h3 {
  margin-bottom: 10px;
  color: #0097a7;
  font-size: 1.2em;
}
.modal-calendar iframe {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Responsivo Modal */
@media (max-width:600px) {
  .card { flex: 1 1 100%; }
  .card img { height: 250px; }
  .modal-content { width: 95%; }
  .modal-images {
    overflow-x: auto;
    scroll-behavior: smooth;
  }
  .modal-images img {
    flex: 0 0 100%;
    max-height: 200px;
  }
  .modal-btn { display: none; }
}

/* Sección Mis Servicios */
.servicios {
  background: #f0f8f9;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}
.servicios-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.servicio {
  flex: 1 1 250px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}
.servicio h3 { color: #0097a7; margin-bottom: 10px; }
.servicio p { font-size: 0.95em; color: #555; }
.experiencias {
  background: #f0f8f9;
  padding: 40px 20px;
  border-radius: 10px;
  margin: 40px 0;
  text-align: center;
}

.experiencias h2 {
  color: #0097a7;
  margin-bottom: 15px;
}

.experiencias p {
  font-size: 1em;
  color: #555;
  margin-bottom: 30px;
}

.experiencias-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.yates-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.yate-card {
  flex: 1 1 300px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.yate-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.yate-card h3 {
  color: #0097a7;
  margin-bottom: 10px;
}

.yate-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 15px;
}

.nota-precio {
  font-size: 0.8em;
  color: #888;
  margin-top: 8px;
}

.nota-precio {
  font-size: 0.8em;
  color: #888;
  margin-top: 8px;
}


/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  line-height: 60px;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #1ebe5d;
}
.facebook-float, .tiktok-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 90px; /* posición inicial, ajusta según quieras */
  right: 20px;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  line-height: 60px;
  text-decoration: none;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  text-align: center; /* centra todo el contenido */
}

.footer-content p {
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center; /* centra los íconos */
  gap: 20px;
}

.social-links svg {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.social-links svg:hover {
  transform: scale(1.2);
  fill: #ffd700; /* dorado al pasar el mouse */
}


