/* ===========================
   Luxury Jungle VIBE — Styles
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #1a4a4a;
  --teal-light: #245e5e;
  --teal-dark: #0f3333;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --cream: #faf8f3;
  --white: #ffffff;
  --black: #111111;
  --gray: #666666;
  --gray-light: #e8e6e1;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.2; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--teal); margin-bottom: .5em; }
.section-title--center { text-align: center; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto 3rem; }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 36px; border-radius: 50px; font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent; text-align: center;
}
.btn--primary { background: var(--gold); color: #ffffff !important; border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); }
.btn--large { padding: 18px 48px; font-size: 1.1rem; }

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent; transition: background var(--transition), box-shadow var(--transition);
}
.nav--scrolled { background: rgba(26,74,74,.97); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.nav__container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 16px 24px; }
.nav__logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--white); }
.nav__logo span { color: var(--gold); }
.nav__logo:hover { color: var(--white); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 500; transition: color var(--transition); }
.nav__links a:hover { color: var(--gold); }
.nav__cta { background: var(--gold); color: var(--white) !important; padding: 10px 24px; border-radius: 50px; }
.nav__cta:hover { background: var(--gold-light); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: var(--transition); }

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--teal) url('../images/hero.jpg') center/cover no-repeat; color: var(--white); text-align: center;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,51,51,.55) 0%, rgba(15,51,51,.75) 100%); }
.hero__content { position: relative; z-index: 1; padding: 0 24px; max-width: 800px; }
.hero__subtitle { font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.hero__title { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 700; margin-bottom: 16px; }
.hero__tagline { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 300; margin-bottom: 24px; opacity: .9; }
.hero__details { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: .95rem; font-weight: 400; margin-bottom: 36px; opacity: .85; }
.hero__dot { opacity: .5; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: var(--white); opacity: .6; animation: bounce 2s infinite; z-index: 1; }
@keyframes bounce { 0%,100%{ transform: translateX(-50%) translateY(0); } 50%{ transform: translateX(-50%) translateY(8px); } }

/* ===========================
   Highlights
   =========================== */
.highlights { background: var(--cream); padding: 80px 0; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.highlight-card {
  background: var(--white); padding: 36px 24px; border-radius: var(--radius-lg); text-align: center;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.highlight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.highlight-card__icon { color: var(--gold); margin-bottom: 16px; }
.highlight-card__title { font-size: 1.15rem; color: var(--teal); margin-bottom: 8px; }
.highlight-card__text { font-size: .9rem; color: var(--gray); line-height: 1.6; }

/* ===========================
   About
   =========================== */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about__image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about__image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; background: var(--gray-light); }
.about__lead { font-size: 1.15rem; color: var(--teal); font-weight: 500; margin-bottom: 16px; }
.about__content p { margin-bottom: 16px; color: #444; }
.about__content .btn { margin-top: 8px; }

/* ===========================
   Amenities
   =========================== */
.amenities { background: var(--cream); }
.amenities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.amenity {
  display: flex; align-items: flex-start; gap: 16px; background: var(--white); padding: 24px;
  border-radius: var(--radius); transition: box-shadow var(--transition);
}
.amenity:hover { box-shadow: var(--shadow); }
.amenity__icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.amenity__title { font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.amenity__text { font-size: .85rem; color: var(--gray); }

/* ===========================
   Location
   =========================== */
.location { background: var(--white); }
.location__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.location__map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.location__map iframe { display: block; }
.location__distances { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.distance { display: flex; align-items: flex-start; gap: 14px; }
.distance__icon { font-size: 1.4rem; flex-shrink: 0; }
.distance strong { color: var(--teal); font-size: .95rem; }
.distance p { font-size: .85rem; color: var(--gray); margin-top: 2px; }
.location__description h3 { font-size: 1.2rem; color: var(--teal); margin-bottom: 12px; }
.location__description p { font-size: .9rem; color: #444; margin-bottom: 12px; }
.location__address { font-size: .85rem; color: var(--gray); }

/* ===========================
   Gallery
   =========================== */
.gallery { background: var(--cream); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; }
.gallery__item img {
  width: 100%; height: 250px; object-fit: cover; background: var(--gray-light);
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide img { height: 300px; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 2000;
  align-items: center; justify-content: center;
}
.lightbox--active { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: none; border: none; color: var(--white); font-size: 2rem;
  cursor: pointer; padding: 16px; opacity: .7; transition: opacity var(--transition);
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { opacity: 1; }
.lightbox__close { top: 16px; right: 24px; font-size: 2.5rem; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ===========================
   Reviews
   =========================== */
.reviews { background: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.review-card {
  background: var(--cream); padding: 32px; border-radius: var(--radius-lg);
  border-left: 4px solid var(--gold);
}
.review-card__stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card__text { font-size: .95rem; color: #444; font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.review-card__author { font-size: .85rem; color: var(--gray); font-weight: 600; }
.reviews__cta { text-align: center; }

/* ===========================
   House Rules
   =========================== */
.rules { background: var(--cream); }
.rules__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.rule { display: flex; align-items: flex-start; gap: 14px; }
.rule__icon { font-size: 1.5rem; flex-shrink: 0; }
.rule__title { font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.rule__text { font-size: .85rem; color: var(--gray); }

/* ===========================
   Booking CTA
   =========================== */
.booking {
  background: var(--teal); color: var(--white); text-align: center; padding: 100px 0;
  background-image: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--teal-light) 100%);
}
.booking__content { max-width: 600px; margin: 0 auto; }
.booking__title { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 16px; }
.booking__text { font-size: 1.05rem; opacity: .9; margin-bottom: 36px; }
.booking__contact { margin-top: 32px; opacity: .8; }
.booking__contact p { font-size: .9rem; margin-bottom: 8px; }
.booking__phone { color: var(--gold); font-size: 1.2rem; font-weight: 600; }
.booking__phone:hover { color: var(--gold-light); }

/* ===========================
   Footer
   =========================== */
.footer { background: var(--teal-dark); color: rgba(255,255,255,.7); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--white); margin-bottom: 12px; }
.footer__logo span { color: var(--gold); }
.footer__brand p { font-size: .9rem; line-height: 1.6; }
.footer__links h4, .footer__contact h4 { color: var(--white); font-family: 'Inter', sans-serif; font-size: .9rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer__links li, .footer__contact li { margin-bottom: 10px; }
.footer__links a, .footer__contact a { color: rgba(255,255,255,.7); font-size: .9rem; }
.footer__links a:hover, .footer__contact a:hover { color: var(--gold); }
.footer__social { display: flex; gap: 16px; margin-top: 16px; }
.footer__social a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__social a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .8rem; }

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  .highlights__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .location__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--teal-dark); flex-direction: column; justify-content: center;
    padding: 40px; gap: 24px; transition: right var(--transition);
    box-shadow: -4px 0 20px rgba(0,0,0,.3);
  }
  .nav__links--open { right: 0; }
  .nav__links a { font-size: 1.1rem; }
  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .amenities__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--wide { grid-column: span 2; }
  .reviews__grid { grid-template-columns: 1fr; }
  .rules__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .highlights__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
  .gallery__item--wide img { height: 250px; }
  .hero__details { flex-direction: column; gap: 4px; }
  .hero__dot { display: none; }
}

/* ===========================
   Hero Badges
   =========================== */
.hero__badges { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px;
  border-radius: 50px; font-family: 'Inter', sans-serif; font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge--favorite { background: rgba(201,168,76,.9); color: var(--white); }
.badge--superhost { background: rgba(255,255,255,.2); color: var(--white); border: 1.5px solid rgba(255,255,255,.5); }
.hero__proof {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  font-size: .9rem; font-weight: 500; margin-bottom: 12px; color: var(--gold-light);
}

/* ===========================
   Social Proof Banner
   =========================== */
.social-proof { background: var(--teal); padding: 40px 0; }
.social-proof__grid { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.social-proof__item { display: flex; align-items: center; gap: 12px; color: var(--white); text-align: center; }
.social-proof__number { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.social-proof__label { font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.9); }
.social-proof__icon { color: var(--gold); display: flex; align-items: center; }
.social-proof__divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }
@media (max-width: 768px) {
  .social-proof__divider { display: none; }
  .social-proof__grid { flex-direction: column; gap: 20px; }
}

/* ===========================
   Amenities Category Titles
   =========================== */
.amenities__category-title {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--teal);
  text-align: center; margin-bottom: 24px;
}

/* ===========================
   Tren Maya
   =========================== */
.tren-maya { background: var(--cream); }
.tren-maya__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tren-maya__route { display: flex; flex-direction: column; gap: 24px; }
.tren-maya__route-item { display: flex; align-items: flex-start; gap: 14px; }
.tren-maya__route-icon { font-size: 1.5rem; flex-shrink: 0; }
.tren-maya__route-item strong { color: var(--teal); font-size: .95rem; }
.tren-maya__route-item p { font-size: .85rem; color: var(--gray); margin-top: 2px; }
.tren-maya__card {
  background: var(--white); padding: 32px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}
.tren-maya__card h3 { font-size: 1.2rem; color: var(--teal); margin-bottom: 12px; }
.tren-maya__card p { font-size: .9rem; color: #444; margin-bottom: 12px; line-height: 1.7; }
.tren-maya__note { font-weight: 500; color: var(--teal) !important; font-style: italic; }
@media (max-width: 768px) {
  .tren-maya__grid { grid-template-columns: 1fr; }
}

/* ===========================
   Footer Platforms
   =========================== */
.footer__platforms { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__platforms li { margin-bottom: 0; }
.footer__platforms a {
  display: inline-block; padding: 4px 12px; border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px; font-size: .8rem; color: rgba(255,255,255,.7); transition: all var(--transition);
}
.footer__platforms a:hover { border-color: var(--gold); color: var(--gold); }

/* --- Graceful image fallback --- */
img {
  background: var(--gray-light);
  color: var(--gray);
  font-size: .8rem;
  text-align: center;
  line-height: 1.4;
}
