/* =========================================================
   GLOBAL
========================================================= */
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3 { font-weight: 800; }

p {
  font-size: 1.05rem;
  line-height: 1.7;
}

section { padding: 80px 0; }

footer {
  font-size: 0.95rem;
  letter-spacing: .3px;
}

/* =========================================================
   BOOTSTRAP / UI TWEAKS
========================================================= */
.card-title { font-weight: 600; }
.card-text { font-size: 0.95rem; }

form.card { border-radius: 12px; }
form .form-label { font-weight: 500; }

.alert-success {
  border-radius: 12px;
  font-size: 1rem;
}

/* Smooth buttons */
.btn {
  transition: transform .15s ease, box-shadow .15s ease;
  border-radius: 28px;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

.btn-warning,
.btn-hero {
  background: linear-gradient(135deg, #f4b400, #ffcc33);
  border: none;
  color: #000;
}
.btn-warning:hover,
.btn-hero:hover {
  background: linear-gradient(135deg, #ffcc33, #f4b400);
  transform: translateY(-1px);
}

.bg-warning { background: linear-gradient(135deg, #f4b400, #ffcc33); }

/* Cards */
.card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card img {
  height: 230px;
  object-fit: cover;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  padding: 14px 0;
}

.navbar-logo { transition: all 0.3s ease; }

.navbar-brand img,
.logo-main { height: 56px; }

.navbar-nav .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  color: #000;
  margin-left: 18px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #f4b400; }

.navbar .btn-warning {
  padding: 10px 20px;
  font-weight: 700;
  border-radius: 30px;
}

/* Navbar over hero video */
.navbar-overlay {
  background: transparent;
  z-index: 999;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* Add this class on scroll (JS) */
.navbar-scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.navbar-scrolled .nav-link { color: #000 !important; }

/* =========================================================
   HERO SLIDESHOW (FULL SCREEN)
========================================================= */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slideshow .slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Slides */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Image slides */
.slide[data-type="image"] {
  background-size: cover;
  background-position: center;
}

/* Video covers all */
.slide,
.slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Safe blend-mode support */
@supports (mix-blend-mode: multiply) {
  .slide[data-type="image"],
  .slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.55));
  z-index: 2;
}

/* Centered hero content (if you use it) */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-content p {
  font-size: 1.25rem;
  opacity: .95;
}

/* CTA button */
.btn-hero {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
}

/* Slow zoom effect */
.slide.active video,
.slide.active[data-type="image"] {
  animation: zoomSlow 12s linear forwards;
}
@keyframes zoomSlow {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 4;
}
.hero-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  margin: 0 5px;
}
.hero-dots span.active { background: #fff; }

/* =========================================================
   HERO BAR (LINEAS CORRECTAS)
========================================================= */
.hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 80px;
  z-index: 3;
  padding: 0 20px;
}

.hero-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-left {
  display: flex;
  flex-direction: column; /* ðŸ”‘ mantiene tÃ­tulo + subtÃ­tulo en columna */
  gap: 8px;
  max-width: 70%;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.6px;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
  white-space: normal;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.4;
  opacity: .95;
  max-width: 90%;
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}

.hero-right { flex-shrink: 0; }

/* =========================================================
   DESTINATIONS
========================================================= */
.hero-page,
.hero-destination {
  background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.6)),
              url('../images/destinations/caribbean.jpg') center/cover no-repeat;
  padding: 120px 0 100px;
  margin-top: 80px;
}

.destination-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.destination-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform .4s ease;
}

.destination-card:hover img { transform: scale(1.1); }

.destination-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.2rem;
}

/* =========================================================
   WHATSAPP FLOAT BUTTON
========================================================= */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 9999;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float img {
  width: 34px;
  height: 34px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================================
   ABOUT / TRUST
========================================================= */
.about-hero {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.65)),
              url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee') center/cover no-repeat;
  padding: 110px 0 90px;
}

.trust-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: rgba(244,180,0,.2);
  margin-bottom: 12px;
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-hero {
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.65)),
              url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee') center/cover no-repeat;
  padding: 70px 0 55px;
  margin-top: 86px; /* compensa navbar fixed */
}
.contact-hero h1 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.contact-section { padding: 45px 0 20px; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3,
.contact-form h3 { margin-bottom: 20px; }

.contact-info p { margin-bottom: 15px; }

.contact-form .row {
  display: flex;
  gap: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.btn-dark {
  width: 100%;
  padding: 12px;
  background: #222;
  color: #fff;
  border: none;
  margin-bottom: 10px;
  border-radius: 6px;
}
.btn-yellow {
  width: 100%;
  padding: 12px;
  background: #ffc107;
  border: none;
  border-radius: 6px;
  font-weight: bold;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
}

.contact-item {
  display: flex;
  gap: 12px;
  margin: 14px 0;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244,180,0,.2);
  font-size: 20px;
}

/* Map */
.map-wrapper {
  margin-top: 20px;
  width: 100%;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Map embed (inside cards) */
.map-embed {
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.05);
}

/* Google map full width */
.map-fullwidth {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -10px; /* sube ligeramente el mapa */
  padding: 0;
}
.map-fullwidth iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

/* =========================================================
   REVIEWS (STATIC + SLIDER)
========================================================= */
.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
}
.review-stars {
  color: #f4b400;
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.review-name { font-weight: 700; }

/* Slider */
.reviews-slider {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 18px 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 14px;
  transition: transform .45s ease;
  will-change: transform;
}

.review-item {
  min-width: calc(33.333% - 10px);
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
}

.review-text {
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 10px;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-date {
  opacity: .65;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Nav arrows */
.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #000;
  color: #fff;
  font-size: 22px;
  line-height: 38px;
  cursor: pointer;
  opacity: .9;
  z-index: 5;
}
.reviews-nav:hover { opacity: 1; }
.reviews-nav.prev { left: 10px; }
.reviews-nav.next { right: 10px; }

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.reviews-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.2);
  cursor: pointer;
}
.reviews-dots button.active { background: #000; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 992px){
  .review-item { min-width: calc(50% - 8px); }
}

@media (max-width: 900px) {
  .contact-container { grid-template-columns: 1fr; }
  .contact-form .row { flex-direction: column; }
}

@media (max-width: 768px) {
  .navbar-brand img,
  .logo-main { height: 46px; }

  .navbar-nav .nav-link {
    margin-left: 0;
    font-size: 1.05rem;
  }

  section { padding: 60px 0; }

  /* iPhone viewport fix */
  .hero-slideshow { height: 100svh; }

  /* If you want to hide video on mobile */
  .slide video { display: none; }

  .hero-content h1 { font-size: 2.2rem; }

  /* Hero bar stacks */
  .hero-bar { bottom: 100px; }
  .hero-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-left {
    max-width: 100%;
    align-items: center;
  }
  .hero-subtitle { max-width: 100%; }

  /* Maps */
  .map-embed { height: 380px; }
  .map-fullwidth iframe { height: 380px; }

  /* WhatsApp button */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 15px;
    right: 15px;
  }
  .whatsapp-float img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 576px){
  .reviews-slider { padding: 16px 44px; }
  .review-item { min-width: 100%; }
}
/* =========================================================
   HOME ONLY: HERO FULLSCREEN + NAVBAR OVERLAY + SLIDES FIX
   (No afecta otras páginas porque usa .page-home)
========================================================= */

/* HERO a pantalla completa */
.page-home .hero-slideshow{
  position: relative;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: block; /* evita que alguien lo tenga en flex */
}

/* IMPORTANTE: como en tu HTML los .slide son hijos directos */
.page-home .hero-slideshow > .slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none; /* oculto por defecto */
}

/* slide visible */
.page-home .hero-slideshow > .slide.active{
  display: block;
}

/* Video cubre todo */
.page-home .hero-slideshow > .slide video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slides de imagen (background-image) */
.page-home .hero-slideshow > .slide[data-type="image"]{
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay: USA SOLO el del HTML (hero-overlay)
.page-home .hero-slideshow .hero-overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  pointer-events: none;
  z-index: 1;
}
 */
/* Contenido encima */
.page-home .hero-slideshow .hero-content{
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Dots encima */
.page-home .hero-slideshow .hero-dots{
  position: absolute;
  left: 0; right: 0;
  bottom: 25px;
  z-index: 3;
}

/* NAVBAR flotando encima del video (solo Home) */
.page-home .navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: transparent !important;
}

/* Contraste de fuentes en navbar (solo Home) */
.page-home .navbar .navbar-brand,
.page-home .navbar .nav-link{
  color: #fff !important;
}

/* Fondo al hacer scroll (si usas esa clase con JS) */
.page-home .navbar.navbar-scrolled{
  background: rgba(0,0,0,.55) !important;
  backdrop-filter: blur(10px);
}

/* (Opcional) si tu navbar tapa el hero, usa padding-top.
   Si NO lo tapa, puedes borrar esto. */
.page-home .hero-slideshow{
  padding-top: 70px;
}


/* SOLO HOME: que el título, texto y botón se apilen (no en una sola línea) */
.page-home .hero-content{
  flex-direction: column;
  gap: 10px;
}

.page-home .hero-content h1,
.page-home .hero-content p{
  margin: 0;
}


/* =========================================================
   HOME – MOBILE FIX (celulares y tablets)
========================================================= */
@media (max-width: 768px){

  /* HERO sigue ocupando la pantalla */
  .page-home .hero-slideshow{
    height: 100vh;
    min-height: 100vh;
    padding-top: 60px; /* navbar mobile */
  }

  /* Texto centrado y respirable */
  .page-home .hero-content{
    padding: 0 20px;
    text-align: center;
    align-items: center;
  }

  /* Título más pequeño y multilínea */
  .page-home .hero-content h1{
    font-size: 2rem;       /* antes era muy grande */
    line-height: 1.2;
    white-space: normal;  /* CLAVE: permite saltos de línea */
  }

  /* Subtítulo */
  .page-home .hero-content p{
    font-size: 1rem;
    line-height: 1.5;
    max-width: 90%;
  }

  /* Botón cómodo para dedo */
  .page-home .btn-hero{
    margin-top: 14px;
    padding: 12px 28px;
    font-size: 1rem;
  }

  /* Dots más arriba (evita notch / home bar) */
  .page-home .hero-dots{
    bottom: 35px;
  }

  /* Navbar mobile siempre legible */
  .page-home .navbar{
    background: rgba(0,0,0,.45) !important;
    backdrop-filter: blur(8px);
  }
}

/* PÁGINAS INTERNAS: navbar visible (no transparente) */
.page-inner .navbar{
  position: sticky;       /* o fixed si prefieres */
  top: 0;
  z-index: 9999;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

/* Asegura que el menú se vea (links oscuros) */
.page-inner .navbar .nav-link,
.page-inner .navbar .navbar-brand{
  color: #111 !important;
}

.page-inner .navbar .nav-link:hover{
  opacity: .8;
}

/* Empuja el menú a la derecha */
.page-inner .navbar .navbar-nav{
  margin-left: auto;
}

/* =========================
   OFICINA - SERVICIOS (Negro/Blanco/Amarillo)
========================= */
.office-services{
  background: #0b0b0c;
  color: #fff;
}

.office-services .services-banner{
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,201,0,.18), rgba(255,201,0,.06));
  border: 1px solid rgba(255,201,0,.25);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.office-services .tag{
  display: inline-block;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .75rem;
  color: #0b0b0c;
  background: #ffc900;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.office-services h2{
  font-weight: 800;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

.office-services p{
  color: rgba(255,255,255,.85);
}

.office-services .btn-cta{
  background: #ffc900;
  border: none;
  color: #0b0b0c;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 20px;
  box-shadow: 0 12px 28px rgba(255,201,0,.25);
}

.office-services .btn-cta:hover{
  transform: translateY(-1px);
  filter: brightness(.98);
}

.office-services .service-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 18px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  height: 100%;
}

.office-services .service-card:hover{
  transform: translateY(-4px);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,201,0,.35);
}

.office-services .service-card .icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,201,0,.16);
  border: 1px solid rgba(255,201,0,.35);
  margin-bottom: 12px;
  font-size: 20px;
}

.office-services .service-card h5{
  font-weight: 800;
  margin-bottom: 6px;
}

.office-services .service-card p{
  margin: 0;
  color: rgba(255,255,255,.80);
}

.office-services .service-card.highlight{
  border-color: rgba(255,201,0,.5);
  background: linear-gradient(180deg, rgba(255,201,0,.10), rgba(255,255,255,.03));
}

.office-services .mini-link{
  display: inline-block;
  margin-top: 10px;
  color: #ffc900;
  font-weight: 700;
  text-decoration: none;
}

.office-services .mini-link:hover{
  text-decoration: underline;
}

