/* ═══════════════════════════════════════════════════════════
   VRB PUBLIC CSS  — Vacation Rental Booking Frontend
   Editorial, nature-inspired — all styles in one file
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── Variables ──────────────────────────────────────────── */
:root {
  --vrb-primary: #3B8FA0;
  --vrb-accent:  #7ECAD4;
  --vrb-cream:   #F7F4EE;
  --vrb-text:    #2e2e2e;
  --vrb-muted:   #7a7a7a;
  --vrb-border:  #e0d8cc;
  --vrb-light:   #fdfcf9;
  --vrb-serif:   'Cormorant Garamond', Georgia, serif;
  --vrb-sans:    'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.vrb-page {
  font-family: var(--vrb-sans);
  color: var(--vrb-text);
  background: var(--vrb-light);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ─────────────────────────────────────────── */
.vrb-eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--vrb-accent);
  margin-bottom: 14px;
}
.vrb-section-title {
  font-family: var(--vrb-serif);
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--vrb-primary);
  margin-bottom: 18px;
}
.vrb-section-subtitle {
  font-family: var(--vrb-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--vrb-muted);
  font-weight: 300;
  margin-bottom: 28px;
}
.vrb-body-text { line-height: 1.9; color: var(--vrb-text); }
.vrb-body-text p { margin-bottom: 1em; }
.vrb-text-center { text-align: center; }

/* ── Buttons ────────────────────────────────────────────── */
.vrb-btn {
  display: inline-block;
  padding: 14px 38px;
  font-family: var(--vrb-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all .25s;
}
.vrb-btn-primary {
  background: var(--vrb-accent);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.vrb-btn-primary:hover {
  background: #5BBCCA;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(94,188,202,.38);
}
.vrb-btn-outline {
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.65);
  color: #fff;
  backdrop-filter: blur(4px);
}
.vrb-btn-outline:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.9);
  transform: translateY(-2px);
}
.vrb-btn-block    { width: 100%; text-align: center; }
.vrb-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
  filter: grayscale(20%);
}

/* ── NAV ────────────────────────────────────────────────── */
.vrb-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px 0;
  transition: background .35s, padding .35s, box-shadow .35s;
}
.vrb-nav.vrb-nav-scrolled {
  background: rgba(255,255,255,.97);
  padding: 13px 0;
  box-shadow: 0 1px 18px rgba(59,143,160,.07);
}
.vrb-nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; gap: 36px;
}
.vrb-nav-logo {
  font-family: var(--vrb-serif); font-size: 20px; font-weight: 500;
  color: #fff; text-decoration: none; white-space: nowrap; flex-shrink: 0; transition: color .2s;
}
.vrb-nav.vrb-nav-scrolled .vrb-nav-logo { color: var(--vrb-primary); }
.vrb-nav-links { list-style: none; display: flex; gap: 24px; flex: 1; }
.vrb-nav-links a {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.8); text-decoration: none; transition: color .2s;
}
.vrb-nav-links a:hover { color: #fff; }
.vrb-nav.vrb-nav-scrolled .vrb-nav-links a { color: var(--vrb-text); }
.vrb-nav.vrb-nav-scrolled .vrb-nav-links a:hover { color: var(--vrb-accent); }
.vrb-nav-cta {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 22px; border: 1.5px solid rgba(255,255,255,.45);
  color: #fff; text-decoration: none; border-radius: 2px; transition: all .2s; white-space: nowrap;
}
.vrb-nav-cta:hover { background: rgba(255,255,255,.1); }
.vrb-nav.vrb-nav-scrolled .vrb-nav-cta { border-color: var(--vrb-primary); color: var(--vrb-primary); }
.vrb-nav.vrb-nav-scrolled .vrb-nav-cta:hover { background: var(--vrb-primary); color: #fff; }
.vrb-nav-hamburger { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; margin-left: auto; }
.vrb-nav.vrb-nav-scrolled .vrb-nav-hamburger { color: var(--vrb-primary); }

/* Mobile menu */
.vrb-mobile-menu {
  display: none; position: fixed; inset: 0;
  background: var(--vrb-primary); z-index: 9999;
  flex-direction: column; align-items: center; justify-content: center; gap: 32px;
}
.vrb-mobile-menu.open { display: flex; }
.vrb-mobile-menu a { font-family: var(--vrb-serif); font-size: 32px; font-weight: 300; color: #fff; text-decoration: none; }
.vrb-mobile-menu a:hover { color: var(--vrb-accent); }
.vrb-mobile-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 32px; color: rgba(255,255,255,.6); cursor: pointer; background: none; border: none;
}

/* ── HERO ───────────────────────────────────────────────── */
.vrb-hero {
  position: relative; min-height: 100vh;
  background: var(--vrb-primary) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.vrb-hero-bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
}
.vrb-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(8,18,9,.72) 0%, rgba(59,143,160,.38) 55%, rgba(168,149,107,.12) 100%);
}
.vrb-hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 140px 40px 100px; max-width: 920px; width: 100%;
}
.vrb-hero-eyebrow {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--vrb-accent); margin-bottom: 22px;
}
.vrb-hero-title {
  font-family: var(--vrb-serif); font-size: clamp(54px, 10vw, 115px);
  font-weight: 300; line-height: 1.0; color: #fff; margin-bottom: 24px; letter-spacing: -1.5px;
}
.vrb-hero-desc {
  font-family: var(--vrb-serif); font-style: italic; font-size: 20px;
  color: rgba(255,255,255,.7); font-weight: 300; max-width: 520px; margin: 0 auto 44px;
}
.vrb-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.vrb-hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.45); font-size: 24px;
  animation: vrb-bounce 2.2s infinite; cursor: pointer;
}
@keyframes vrb-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(9px); }
}
.vrb-hero-slideshow { position: absolute; inset: 0; z-index: 0; }

/* ── SECTIONS ───────────────────────────────────────────── */
.vrb-section { padding: 96px 0; }
.vrb-container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.vrb-bg-cream { background: var(--vrb-cream); }

/* ── SPLIT LAYOUT ───────────────────────────────────────── */
.vrb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.vrb-split-reverse { direction: rtl; }
.vrb-split-reverse > * { direction: ltr; }
.vrb-split-media { position: relative; }
.vrb-img-cover { width: 100%; height: 460px; object-fit: cover; border-radius: 2px; display: block; }
.vrb-img-placeholder {
  width: 100%; height: 400px;
  background: linear-gradient(135deg, var(--vrb-cream), #e4dace);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  color: var(--vrb-muted); font-size: 13px; text-align: center; padding: 20px;
}
.vrb-map-embed { border-radius: 2px; overflow: hidden; }
.vrb-quick-stats { display: flex; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--vrb-border); }
.vrb-stat span  { display: block; font-family: var(--vrb-serif); font-size: 30px; font-weight: 500; color: var(--vrb-primary); }
.vrb-stat small { font-size: 10.5px; text-transform: uppercase; letter-spacing: 2px; color: var(--vrb-muted); }

/* ── AMENITIES ──────────────────────────────────────────── */
.vrb-amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 20px; margin-top: 48px; }
.vrb-amenity-card { background: var(--vrb-light); border: 1px solid var(--vrb-border); padding: 28px 22px; border-radius: 2px; transition: transform .2s, box-shadow .2s; }
.vrb-amenity-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(59,143,160,.08); }
.vrb-amenity-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.vrb-amenity-card h4 { font-size: 14px; font-weight: 600; color: var(--vrb-primary); margin-bottom: 5px; }
.vrb-amenity-card p  { font-size: 13px; color: var(--vrb-muted); }

/* ── GALLERY SECTION ────────────────────────────────────── */
.vrb-gallery-section { padding-bottom: 0; }
.vrb-gallery-grid { display: grid; gap: 6px; margin-top: 8px; }
.vrb-gallery-grid-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 440px; }
.vrb-gallery-grid-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 220px 220px; }
.vrb-gallery-grid-3 .vrb-gallery-cell:first-child { grid-row: span 2; }
.vrb-gallery-grid-4 { grid-template-columns: 3fr 2fr; grid-template-rows: 240px 200px; }
.vrb-gallery-grid-4 .vrb-gallery-cell:first-child { grid-row: span 2; }
.vrb-gallery-cell { overflow: hidden; border-radius: 2px; background: var(--vrb-cream) center/cover no-repeat; cursor: pointer; }
.vrb-gallery-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .4s ease; }
.vrb-gallery-cell:hover img { transform: scale(1.04); }
.vrb-gallery-slideshow { border-radius: 0 !important; }

/* ── BOOKING SECTION ────────────────────────────────────── */
.vrb-booking-section { background: var(--vrb-primary); }
.vrb-booking-section .vrb-eyebrow { color: var(--vrb-accent); }
.vrb-booking-section .vrb-section-title { color: #fff; }
.vrb-booking-section .vrb-section-subtitle { color: rgba(255,255,255,.6); }
.vrb-booking-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 52px; }
.vrb-booking-calendar-col > h3 { font-family: var(--vrb-serif); font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 18px; }

/* Calendar */
.vrb-cal-month-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vrb-cal-month-label { font-family: var(--vrb-serif); font-size: 20px; font-weight: 400; color: #fff; }
.vrb-cal-nav-btn {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; font-size: 17px; display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.vrb-cal-nav-btn:hover { background: rgba(255,255,255,.2); }
.vrb-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.vrb-cal-dow { text-align: center; font-size: 10.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 7px 0; }
.vrb-cal-cell { aspect-ratio:1; display:flex; align-items:center; justify-content:center; font-size:13px; border-radius:2px; cursor:pointer; color:rgba(255,255,255,.88); transition:background .12s; }
.vrb-cal-cell.vrb-empty    { cursor:default; pointer-events:none; }
.vrb-cal-cell.vrb-past     { opacity:.28; cursor:default; pointer-events:none; }
.vrb-cal-cell.vrb-booked   { background:rgba(255,255,255,.05); color:rgba(255,255,255,.25); cursor:not-allowed; text-decoration:line-through; }
.vrb-cal-cell.vrb-today    { font-weight:700; color:var(--vrb-accent); }
.vrb-cal-cell.vrb-hover    { background:rgba(168,149,107,.3); }
.vrb-cal-cell.vrb-in-range { background:rgba(168,149,107,.22); }
.vrb-cal-cell.vrb-selected-start,.vrb-cal-cell.vrb-selected-end { background:var(--vrb-accent)!important; color:#fff!important; font-weight:700; }
.vrb-cal-cell:not(.vrb-booked):not(.vrb-past):not(.vrb-empty):not(.vrb-selected-start):not(.vrb-selected-end):hover { background:rgba(255,255,255,.1); }
.vrb-cal-legend { display:flex; gap:18px; margin-top:14px; font-size:12px; color:rgba(255,255,255,.45); align-items:center; flex-wrap:wrap; }
.vrb-leg { display:inline-block; width:13px; height:13px; border-radius:2px; margin-right:4px; vertical-align:middle; }
.vrb-leg-avail   { background:rgba(255,255,255,.15); }
.vrb-leg-booked  { background:rgba(255,255,255,.05); }
.vrb-leg-selected { background:var(--vrb-accent); }

/* Booking form */
.vrb-booking-form-inner { background:var(--vrb-light); border-radius:3px; padding:36px 32px; }
.vrb-booking-form-inner h3 { font-family:var(--vrb-serif); font-size:24px; font-weight:400; color:var(--vrb-primary); margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--vrb-border); }
.vrb-field-group { margin-bottom:16px; }
.vrb-field-group label { display:block; font-size:10.5px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--vrb-muted); margin-bottom:6px; }
.vrb-field-group input,.vrb-field-group select,.vrb-field-group textarea {
  width:100%; padding:12px 14px; border:1px solid var(--vrb-border); border-radius:2px;
  font-family:var(--vrb-sans); font-size:14px; color:var(--vrb-text); background:#fff;
  outline:none; appearance:none; transition:border-color .2s, box-shadow .2s;
}
.vrb-field-group input:focus,.vrb-field-group select:focus,.vrb-field-group textarea:focus { border-color:var(--vrb-accent); box-shadow:0 0 0 3px rgba(168,149,107,.1); }
.vrb-field-row { display:flex; gap:14px; }
.vrb-field-row .vrb-field-group,.vrb-field-half .vrb-field-group { flex:1; }
.vrb-price-summary { background:var(--vrb-cream); border:1px solid var(--vrb-border); border-radius:3px; padding:16px 18px; margin-bottom:18px; }
.vrb-price-row { display:flex; justify-content:space-between; font-size:13px; padding:5px 0; border-bottom:1px solid var(--vrb-border); }
.vrb-price-row:last-child { border:none; }
.vrb-price-total { font-size:16px; font-weight:700; color:var(--vrb-primary); padding-top:10px !important; }
.vrb-avail-msg { padding:10px 14px; border-radius:3px; font-size:13px; margin-bottom:16px; font-weight:500; }
.vrb-avail-ok  { background:#d4edda; color:#155724; }
.vrb-avail-err { background:#f8d7da; color:#721c24; }
.vrb-booking-note { font-size:12px; color:var(--vrb-muted); text-align:center; margin-top:10px; }
.vrb-payment-section { margin-top:20px; }
.vrb-payment-label { display:block; font-size:10.5px; font-weight:600; letter-spacing:1.5px; text-transform:uppercase; color:var(--vrb-muted); margin-bottom:10px; }
.vrb-pm-tabs { display:flex; gap:8px; margin-bottom:16px; }
.vrb-pm-tab { flex:1; padding:10px; border:1.5px solid var(--vrb-border); background:#fff; border-radius:2px; font-size:12px; font-weight:600; cursor:pointer; color:var(--vrb-muted); transition:all .2s; }
.vrb-pm-tab.active { border-color:var(--vrb-primary); color:var(--vrb-primary); background:rgba(59,143,160,.04); }
.vrb-no-payment-notice { background:var(--vrb-cream); border-left:4px solid var(--vrb-accent); padding:16px; border-radius:0 3px 3px 0; font-size:14px; }

/* Bank transfer confirm */
.vrb-bank-confirm { background:var(--vrb-primary); border-radius:3px; padding:32px; color:#fff; text-align:center; }
.vrb-bc-icon { font-size:48px; margin-bottom:16px; }
.vrb-bank-confirm h3 { font-family:var(--vrb-serif); font-size:28px; font-weight:400; color:#fff; margin-bottom:12px; }
.vrb-bank-confirm p  { color:rgba(255,255,255,.75); font-size:14px; margin-bottom:8px; }
.vrb-bc-details { background:rgba(255,255,255,.08); border-radius:3px; padding:20px; margin:20px 0; text-align:left; }
.vrb-bc-details h4 { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--vrb-accent); margin-bottom:14px; }
.vrb-bc-row { display:flex; justify-content:space-between; padding:7px 0; font-size:13px; border-bottom:1px solid rgba(255,255,255,.1); color:rgba(255,255,255,.75); }
.vrb-bc-row:last-child { border:none; }
.vrb-bc-row strong { color:#fff; }
.vrb-bc-ref-row strong { color:var(--vrb-accent); font-size:15px; }
.vrb-bc-total-row { font-weight:700; font-size:15px; }
.vrb-bc-total-row strong { color:var(--vrb-accent); }
.vrb-bc-note { background:rgba(168,149,107,.2); padding:10px 14px; border-radius:3px; font-size:13px; }

/* ── CONTACT ────────────────────────────────────────────── */
.vrb-contact-inner { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:start; }
.vrb-contact-form-wrap .vrb-field-group label { color:var(--vrb-muted); }
.vrb-contact-result { padding:12px 16px; border-radius:3px; margin-bottom:14px; font-size:14px; }
.vrb-success { background:#d4edda; color:#155724; }
.vrb-error   { background:#f8d7da; color:#721c24; }

/* ── FOOTER ─────────────────────────────────────────────── */
.vrb-footer { background:var(--vrb-primary); color:rgba(255,255,255,.65); padding:56px 0 28px; }
.vrb-footer-inner { display:flex; justify-content:space-between; align-items:start; gap:40px; flex-wrap:wrap; padding-bottom:28px; border-bottom:1px solid rgba(255,255,255,.1); }
.vrb-footer-brand strong { font-family:var(--vrb-serif); font-size:20px; color:#fff; display:block; margin-bottom:6px; }
.vrb-footer-brand p { font-size:14px; max-width:280px; }
.vrb-footer-nav { display:flex; gap:22px; flex-wrap:wrap; align-items:center; }
.vrb-footer-nav a { font-size:13px; color:rgba(255,255,255,.55); text-decoration:none; transition:color .2s; }
.vrb-footer-nav a:hover { color:var(--vrb-accent); }
.vrb-footer-bottom { text-align:center; margin-top:24px; font-size:12px; }

/* ── FADE ANIMATION ─────────────────────────────────────── */
.vrb-fade-in { opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.vrb-fade-in.vrb-visible { opacity:1; transform:none; }

/* ════════════════════════════════════════════════════════════
   SLIDESHOW ENGINE
   ════════════════════════════════════════════════════════════ */
.vrb-slideshow {
  position: relative;
  width: 100%;
  height: var(--ss-height, 480px);
  overflow: hidden;
  border-radius: 2px;
  background: #0d1e26;
  /* Prevent any parent flex/grid from collapsing this */
  flex-shrink: 0;
  display: block;
}

/* The track holds all slides side-by-side */
.vrb-ss-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;          /* crucial — must match container */
  height: 100%;
  will-change: transform;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

/* Each slide takes exactly the full width of the container */
.vrb-ss-slide {
  position: relative;
  width: 100%;          /* full width of track (before translateX) */
  min-width: 100%;      /* prevents shrinking */
  flex: 0 0 100%;       /* flex shorthand: no grow, no shrink, 100% basis */
  height: 100%;
  overflow: hidden;
}

/* Image fills the slide completely */
.vrb-ss-slide img {
  position: absolute;   /* absolute so it truly fills */
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .6s ease;
}
.vrb-ss-slide:hover img { transform: scale(1.02); }

/* Arrows */
.vrb-ss-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.92); border: none;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; line-height: 1; cursor: pointer;
  color: var(--vrb-primary); display: flex; align-items: center; justify-content: center;
  transition: all .2s; z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  opacity: 0; pointer-events: none;
}
.vrb-slideshow:hover .vrb-ss-arrow { opacity: 1; pointer-events: auto; }
.vrb-ss-prev { left: 12px; }
.vrb-ss-next { right: 12px; }
.vrb-ss-arrow:hover { background: var(--vrb-accent); color: #fff; transform: translateY(-50%) scale(1.08); }

/* Dots */
.vrb-ss-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 10;
}
.vrb-ss-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.4); border: 1.5px solid rgba(255,255,255,.65);
  cursor: pointer; padding: 0; transition: all .2s;
}
.vrb-ss-dot.active { background: #fff; transform: scale(1.35); }

/* Counter */
.vrb-ss-counter {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.45); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 20px; z-index: 10;
}

/* Hero slideshow — fullscreen */
.vrb-hero-slideshow { border-radius: 0; }
.vrb-hero-slideshow .vrb-ss-arrow { opacity: 0; }
.vrb-hero:hover .vrb-hero-slideshow .vrb-ss-arrow { opacity: 1; pointer-events: auto; }

/* Gallery strip */
.vrb-gallery-slideshow { border-radius: 0 !important; }
.vrb-gallery-slideshow .vrb-ss-arrow { opacity: 1 !important; pointer-events: auto !important; }

/* ════════════════════════════════════════════════════════════
   ACCOMMODATIONS SECTION
   ════════════════════════════════════════════════════════════ */
.vrb-accommodations-section { background: var(--vrb-light); }

.vrb-accomm-group-title {
  font-family: var(--vrb-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 300;
  color: var(--vrb-primary);
  margin: 0 0 32px;
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--vrb-border);
}
.vrb-accomm-group-icon { font-size: 30px; }
.vrb-accomm-group-count {
  margin-left: auto;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--vrb-accent);
  font-family: var(--vrb-sans);
}

.vrb-units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Unit card */
.vrb-unit-card {
  background: #fff; border: 1px solid var(--vrb-border);
  border-radius: 3px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.vrb-unit-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(59,143,160,.13); }

.vrb-unit-photo {
  position: relative;
  height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--vrb-cream);
}
/* Force slideshow to fill the photo area */
.vrb-unit-photo .vrb-slideshow {
  height: 220px !important;
  border-radius: 0;
}
.vrb-unit-no-photo {
  height: 100%; display: flex; align-items: center;
  justify-content: center; color: var(--vrb-muted); font-size: 13px;
  flex-direction: column; gap: 8px;
}

/* Show arrows on card hover */
.vrb-unit-photo .vrb-ss-arrow { opacity: 0; width: 36px; height: 36px; font-size: 18px; }
.vrb-unit-card:hover .vrb-unit-photo .vrb-ss-arrow { opacity: 1; pointer-events: auto; }

.vrb-unit-body { padding: 20px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.vrb-unit-name {
  font-family: var(--vrb-serif); font-size: 20px; font-weight: 500;
  color: var(--vrb-primary); margin: 0 0 4px; line-height: 1.2;
}
.vrb-unit-subtitle { font-size: 12px; color: var(--vrb-accent); font-style: italic; margin: 0 0 12px; }
.vrb-unit-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vrb-unit-spec {
  font-size: 11.5px; background: var(--vrb-cream); color: var(--vrb-text);
  padding: 4px 9px; border-radius: 3px; white-space: nowrap;
}
.vrb-unit-desc { font-size: 13px; color: var(--vrb-muted); line-height: 1.65; margin: 0 0 12px; flex: 1; }
.vrb-unit-features {
  list-style: none; padding: 0; margin: 0 0 16px;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.vrb-unit-features li {
  font-size: 11px; color: var(--vrb-primary);
  background: rgba(59,143,160,.07); padding: 3px 8px; border-radius: 3px;
}
.vrb-unit-features li::before { content: '✓  '; }
.vrb-unit-book-btn {
  display: block; text-align: center; padding: 12px;
  background: var(--vrb-accent); color: #fff; text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 3px; margin-top: auto;
  transition: all .2s;
  text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.vrb-unit-book-btn:hover {
  background: #5BBCCA;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94,188,202,.35);
}

/* Caption below each photo */
.vrb-section-photo-caption {
  font-size: 13px; color: var(--vrb-muted); font-style: italic;
  text-align: center; padding: 10px 16px 0;
  font-family: var(--vrb-serif);
}

/* ══ RESPONSIVE ════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .vrb-units-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .vrb-split, .vrb-booking-wrap, .vrb-contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .vrb-split-reverse { direction: ltr; }
  .vrb-gallery-grid-2,.vrb-gallery-grid-3,.vrb-gallery-grid-4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .vrb-gallery-grid-3 .vrb-gallery-cell:first-child,
  .vrb-gallery-grid-4 .vrb-gallery-cell:first-child { grid-row: span 1; grid-column: span 2; }
  .vrb-gallery-cell { height: 200px; }
  .vrb-nav-links, .vrb-nav-cta { display: none; }
  .vrb-nav-hamburger { display: block; }
}
@media (max-width: 600px) {
  .vrb-section { padding: 60px 0; }
  .vrb-container { padding: 0 20px; }
  .vrb-units-grid { grid-template-columns: 1fr; }
  .vrb-gallery-grid-2,.vrb-gallery-grid-3,.vrb-gallery-grid-4 { grid-template-columns: 1fr; }
  .vrb-gallery-grid-3 .vrb-gallery-cell:first-child,
  .vrb-gallery-grid-4 .vrb-gallery-cell:first-child { grid-column: span 1; }
  .vrb-gallery-cell { height: 220px; }
  .vrb-ss-arrow { opacity: 1 !important; pointer-events: auto !important; }
  .vrb-field-row { flex-direction: column; }
  .vrb-quick-stats { gap: 16px; }
  .vrb-accomm-group-title { font-size: 22px; flex-wrap: wrap; }
  .vrb-booking-form-inner { padding: 24px 18px; }
}

/* ══ APPLE-STYLE NAV HAMBURGER ════════════════════════════ */
.vrb-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
  border-radius: 6px;
  transition: background .2s;
}
.vrb-nav-hamburger:hover { background: rgba(255,255,255,.1); }
.vrb-nav.vrb-nav-scrolled .vrb-nav-hamburger:hover { background: rgba(0,0,0,.05); }
.vrb-nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.vrb-nav.vrb-nav-scrolled .vrb-nav-hamburger span { background: var(--vrb-primary); }
/* Animated X when open */
.vrb-nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.vrb-nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vrb-nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══ APPLE-STYLE NAV OVERRIDES ════════════════════════════ */
.vrb-nav-inner {
  gap: 0;
}
.vrb-nav-logo {
  font-family: var(--vrb-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.3px;
  margin-right: auto;
}
.vrb-nav-links {
  gap: 0;
  margin: 0 auto;
}
.vrb-nav-links li { list-style: none; }
.vrb-nav-links a {
  display: block;
  padding: 8px 16px;
  font-family: var(--vrb-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -.1px;
  text-transform: none;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.vrb-nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.vrb-nav.vrb-nav-scrolled .vrb-nav-links a { color: var(--vrb-text); }
.vrb-nav.vrb-nav-scrolled .vrb-nav-links a:hover { background: rgba(0,0,0,.05); color: var(--vrb-primary); }
.vrb-nav-cta {
  font-family: var(--vrb-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  text-transform: none;
  padding: 8px 20px;
  background: var(--vrb-accent);
  border: 1.5px solid var(--vrb-accent);
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
  margin-left: 12px;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.vrb-nav-cta:hover {
  background: #5BBCCA;
  border-color: #5BBCCA;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(94,188,202,.35);
}
.vrb-nav.vrb-nav-scrolled .vrb-nav-cta {
  background: var(--vrb-accent);
  border-color: var(--vrb-accent);
  color: #fff;
}
.vrb-nav.vrb-nav-scrolled .vrb-nav-cta:hover {
  background: #5BBCCA;
  border-color: #5BBCCA;
}

/* Mobile menu Apple-style */
.vrb-mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(245,244,241,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vrb-mobile-menu.open { display: flex; }
.vrb-mobile-menu a {
  font-family: var(--vrb-serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--vrb-primary);
  text-decoration: none;
  padding: 8px 24px;
  border-radius: 8px;
  transition: background .15s;
  letter-spacing: -.5px;
}
.vrb-mobile-menu a:hover { background: rgba(59,143,160,.08); }
.vrb-mobile-close {
  position: absolute; top: 24px; right: 28px;
  width: 36px; height: 36px;
  background: rgba(0,0,0,.08); border: none;
  border-radius: 50%; font-size: 18px;
  color: var(--vrb-primary); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.vrb-mobile-close:hover { background: rgba(0,0,0,.14); }

/* ══ UNIT SELECTOR IN BOOKING SECTION ════════════════════ */
.vrb-unit-selector-wrap {
  margin-bottom: 20px;
}
.vrb-unit-selector-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.vrb-unit-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.vrb-unit-pill {
  padding: 7px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  color: rgba(255,255,255,.8);
  font-family: var(--vrb-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.vrb-unit-pill:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.vrb-unit-pill.active {
  background: var(--vrb-accent);
  border-color: var(--vrb-accent);
  color: #fff;
  font-weight: 600;
}

.vrb-selected-unit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}
.vrb-clear-unit {
  background: none;
  border: none;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  transition: all .15s;
}
.vrb-clear-unit:hover { color: #fff; background: rgba(255,255,255,.1); }

/* Unit book button on cards — updated style */
.vrb-unit-book-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  background: var(--vrb-accent);
  color: #fff;
  border: none;
  font-family: var(--vrb-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 3px;
  margin-top: auto;
  cursor: pointer;
  transition: all .2s;
  text-shadow: 0 1px 2px rgba(0,0,0,.1);
}
.vrb-unit-book-btn:hover {
  background: #5BBCCA;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94,188,202,.35);
}

/* ══ RESPONSIVE UPDATES ═══════════════════════════════════ */
@media (max-width: 960px) {
  .vrb-nav-hamburger { display: flex; }
  .vrb-nav-links, .vrb-nav-cta { display: none; }
  .vrb-nav-logo { margin-right: 0; }
}
@media (max-width: 600px) {
  .vrb-unit-pills { gap: 6px; }
  .vrb-unit-pill  { font-size: 11px; padding: 6px 12px; }
}

/* ══ MOBILE COMPLETE — additional small-screen fixes ═════ */
@media (max-width: 600px) {
  /* Hero */
  .vrb-hero-title    { font-size: 46px; letter-spacing: -1px; }
  .vrb-hero-content  { padding: 100px 24px 70px; }
  .vrb-hero-actions  { flex-direction: column; align-items: center; }
  .vrb-hero-actions .vrb-btn { width: 100%; max-width: 280px; text-align: center; }

  /* Nav */
  .vrb-nav-inner  { padding: 0 20px; }

  /* Sections */
  .vrb-section-title { font-size: 30px; }
  .vrb-quick-stats   { flex-wrap: wrap; gap: 14px; }

  /* Booking wrap stacks to single column */
  .vrb-booking-wrap { grid-template-columns: 1fr; gap: 32px; }

  /* Unit pills wrap nicely */
  .vrb-unit-pills { gap: 6px; }
  .vrb-unit-pill  { font-size: 11px; padding: 6px 11px; }

  /* Payment tabs */
  .vrb-pm-tabs    { flex-direction: column; gap: 6px; }
  .vrb-pm-tab     { text-align: center; }

  /* Calendar full width */
  .vrb-cal-cell   { font-size: 12px; }
  .vrb-cal-month-label { font-size: 16px; }

  /* Accommodations */
  .vrb-accomm-group-count { font-size: 10px; }

  /* Footer */
  .vrb-footer-inner { flex-direction: column; gap: 24px; }
  .vrb-footer-nav   { flex-wrap: wrap; gap: 14px; }

  /* Bank confirm */
  .vrb-bank-confirm  { padding: 24px 16px; }
  .vrb-bc-row        { flex-direction: column; gap: 2px; }
}

@media (max-width: 400px) {
  .vrb-hero-title { font-size: 38px; }
  .vrb-container  { padding: 0 16px; }
  .vrb-booking-form-inner { padding: 20px 14px; }
}
