:root{
  --brand:#10634e; --brand-ink:#0b3f34; --bg:#f7f7f8; --text:#101315; --muted:#6b7280; --ring: rgba(16, 99, 78, .25);
  --card:#ffffff; --radius:16px;
}
*{box-sizing:border-box} html,body{height:100%}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--text);background:linear-gradient(180deg,#fff,var(--bg) 70%)}
a{color:var(--brand-ink);text-underline-offset:3px}
.container{max-width:1180px;margin:0 auto;padding:0 16px}
.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(10px) saturate(1.2);border-bottom:1px solid #e5e7eb}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:44px;height:44px;border-radius:10px;background:conic-gradient(from 210deg,var(--brand),#17a085);display:grid;place-items:center;color:#fff;font-weight:800;box-shadow:0 6px 18px rgba(0,0,0,.08),0 0 0 6px var(--ring)}
.tag{color:var(--muted)}
.navlinks a{text-decoration:none;padding:10px 12px;border-radius:10px}
.navlinks a:hover{background:#eef2f5}
.cta{border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;background:#fff;text-decoration:none;font-weight:700}

.hero{padding:36px 0 20px}
.hero-inner{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}
@media (max-width: 900px){.hero-inner{grid-template-columns:1fr}}
.hero-card{background:#0f172a;color:#fff;border-radius:20px;padding:22px;overflow:hidden;position:relative}
.hero-card h1{font-size:clamp(26px,4vw,40px);line-height:1.1;margin:0 0 8px}
.hero-card p{color:#cbd5e1;margin:0 0 14px}
.badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.badge{background:#0b1220;border:1px solid rgba(255,255,255,.08);color:#d1fae5;border-radius:999px;padding:8px 12px;font-weight:700}

.panel{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px}
.panel h3{margin:6px 0 10px}
/* Desktop/tablet: 3 across (unchanged for PC) */
.sharegrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px; /* keep 8px if you prefer */
}

/* Phones in portrait: 2 across */
@media (max-width: 900px){
  .sharegrid{
    grid-template-columns: 1fr 1fr;
  }
}

/* Narrow phones: single column so buttons don’t crowd/wrap */
@media (max-width: 420px){
  .sharegrid{
    grid-template-columns: 1fr;
  }
}
.sharebtn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 12px;   /* taller tap target on phones */
  background: #fff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  min-height: 48px;     /* consistent height across wraps */
  white-space: normal;  /* allow label to wrap on narrow screens */
}

.section{padding:14px 0 34px}
.section h2{font-size:clamp(22px,3vw,28px)}

.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:980px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.cards{grid-template-columns:1fr}}
.card{background:var(--card);border:1px solid #e5e7eb;border-radius:var(--radius);overflow:hidden;display:grid;grid-auto-rows:min-content;box-shadow:0 1px 0 rgba(0,0,0,.04)}
.media{aspect-ratio:16/10;background:#e5e7eb}
.media img{width:100%;height:100%;object-fit:cover}
.body{padding:12px 12px 14px}
.meta{color:var(--muted);font-size:.95rem}
.card h3{margin:6px 0 8px;font-size:1.05rem}
.button{display:inline-flex;align-items:center;gap:8px;border:1px solid #e5e7eb;border-radius:10px;padding:10px 14px;background:#fff;font-weight:700;text-decoration:none}
.button:focus-visible{outline:4px solid var(--ring)}

.footer{border-top:1px solid #e5e7eb;background:#fff;color:var(--muted);padding:16px;text-align:center}

.grid{display:grid;grid-template-columns:1fr 320px;gap:16px}
@media (max-width:980px){.grid{grid-template-columns:1fr}}
.loc-hero{aspect-ratio:16/9;background:#e5e7eb;border-radius:20px;overflow:hidden}
.info{display:grid;gap:6px;color:var(--muted)}
.amen{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid #e5e7eb;border-radius:999px;padding:6px 10px;background:#fff;font-size:.95rem}
.sidebar{position:sticky;top:86px;height:max-content}
.sidecard{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:12px}
.sideitem{display:flex;align-items:center;justify-content:space-between;gap:8px;text-decoration:none;border:1px solid #e5e7eb;border-radius:10px;padding:10px;margin-bottom:8px}
.sideitem .meta{color:var(--muted)}
/* ===== Image gallery (main image + thumbnails) ===== */
.image-gallery { max-width: 100%; }

.main-img {
  width: 100%;
  height: 520px;          /* match your hero height */
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 10px;
}

.thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.thumbs img {
  width: 86px;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  background: #e5e7eb;
  flex: 0 0 auto;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.thumbs img:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16, 99, 78, 0.15);
}

.thumbs img.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(16, 99, 78, 0.15);
}

@media (max-width: 900px) {
  .main-img { height: 320px; }
}
/* Arrows on the main image */
.main-img-wrapper {
  position: relative;
  display: block;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,.5);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
  user-select: none;
}
.arrow:hover { background-color: rgba(0,0,0,.7); }

.arrow.prev { left: 10px; }
.arrow.next { right: 10px; }
/* --- Mobile header/nav layout fix --- */
@media (max-width: 720px) {
  /* allow header to wrap neatly and tighten spacing */
  .nav {
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .brand {
    gap: 8px;
    min-width: 0;
  }

  /* optional: slightly smaller logo to free space */
  .logo {
    width: 38px;
    height: 38px;
  }

  /* nav links go to a new row under brand */
  .navlinks {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;            /* forces links onto their own row */
    justify-content: flex-start;
  }

  .navlinks a {
    padding: 8px 10px;
    font-size: 0.95rem;
  }

  .navlinks .cta {
    padding: 8px 10px;      /* keep Contact button consistent */
  }
}
/* --- Center brand + nav links on mobile --- */
@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    margin: 0 auto;
  }

  .navlinks {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* --- iOS: prevent auto text zoom / “arrive zoomed-in” --- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Make sure media never overflow and trigger scaling */
img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}
/* Mobile: unstick header so it never overlays content */
@media (max-width: 720px) {
  .header {
    position: static;   /* was sticky */
  }
}
/* Tighter hero image on mobile hotel pages */
@media (max-width: 720px) {
  .main-img {
    height: 260px;        /* try 220–260px until it matches your ideal */
    object-fit: cover;    /* crops nicely instead of squishing */
  }

  /* (optional) slightly smaller thumbs so they fit neatly */
  .thumbs img {
    width: 68px;
    height: 68px;
  }
}
/* Force share buttons to stack on all phones (big + small) */
@media (max-width: 900px) {
  .sharegrid { grid-template-columns: 1fr; }
}
