/* =========================================================
   RD May Booking Sprint — styles.css (cleaned + organized)
   ========================================================= */

/* ---------- Tokens / Base ---------- */
:root{
  --ink:#111827;
  --ink-2:#1f2933;
  --muted:#6b7280;

  --bg:#ffffff;
  --bg-alt:#f5f7fa;

  --brand:#0a2540;
  --brand-2:#0f355a;

  --card:#ffffff;

  --sand:#faf2d9; /* date band */

  --shadow: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-soft: 0 6px 20px rgba(0,0,0,0.08);

  --radius:10px;
  --radius-lg:16px;
}

*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif;
  color:var(--ink-2);
  line-height:1.6;
  background:var(--bg);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(1120px, 92%);
  margin:0 auto;
}

/* ---------- Typography ---------- */
h1,h2,h3{ color:var(--ink); line-height:1.15; }
h1{ font-size:clamp(2.5rem, 3.2vw, 3.0rem); letter-spacing:-0.02em; }
h2{ font-size:clamp(1.5rem, 2.2vw, 2rem); margin-bottom:12px; }
h3{ font-size:1.8rem; margin-bottom:6px; }
p{ margin: 0 auto; padding-bottom: 10px; }

.muted{ color:#6b7280; }
.small{ font-size:0.92rem; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:600;
  letter-spacing:0.01em;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  border:1px solid transparent;
  white-space:nowrap;
}

.btn.primary{
  background:var(--brand);
  color:#fff;
  box-shadow:0 10px 24px rgba(10,37,64,.25);
}
.btn.primary:hover{
  background:var(--brand-2);
  transform:translateY(-1px);
}

.btn.secondary{
  background:rgba(255,255,255,0.9);
  color:var(--brand);
  border-color:rgba(255,255,255,0.7);
}
.section .btn.secondary{
  background:transparent;
  border-color:rgba(10,37,64,0.35);
  color:var(--brand);
}
.btn.secondary:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 18px rgba(0,0,0,0.08);
}

/* Details button */
.btn.details{
  width:100%;
  margin-top:8px;
  background:#f3f4f6;
  color:var(--brand);
  border:1px solid rgba(10,37,64,0.20);
  box-shadow:0 6px 16px rgba(0,0,0,0.08);
}
.btn.details:hover{
  background:var(--brand);
  color:#ffffff;
  border-color:var(--brand);
  transform:translateY(-1px);
}

.cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

/* ---------- Sections ---------- */
.section{ padding:64px 0; }
.section-alt{ background:var(--bg-alt); }
.section-head{ margin-bottom:22px; text-align: center;}
.section-intro{ max-width:820px; text-align: center; margin: 0 auto; }

/* ---------- Full-width section backgrounds (WHY + ITINERARY) ---------- */
.section-bg{
  position:relative;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.section-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.30) 55%, rgba(0,0,0,0.18) 100%);
  z-index:0;
}

.section-bg > .container{
  position:relative;
  z-index:1;
  background:rgba(255,255,255,0.50);
  border-radius:16px;
  padding:40px 28px;
  box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

.section-soft-bg {
  background: linear-gradient(
    180deg,
    #F3F3F3 0%,
    #E5ECF1 50%,
    #F0F3F5 100%
  );
}

.section.flush-bottom {
  padding-bottom: 0;
  margin-bottom: 0;
}

.section-bg.flush-top {
  padding-top: 0;
  margin-top: 0;
}

/* Set images (swap as needed) */
.section-bg-why{ background-image:url("images/REPLACE-WHY-BG.jpg"); }
.section-bg-itinerary{ background-image:url("images/bkgrnd-cta-01.jpeg"); }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  height:92vh;
  min-height:640px;
  overflow:hidden;
}

.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.02);
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.10) 100%);
}

.hero-content{
  position:relative;
  top:240px;                 /* you can adjust 100–240 */
  transform:translateY(-50%);/* keep if you like the “float” feel */
  padding:0;
  max-width:820px;
}

.hero-content h1,h3,
.hero-content p,
.hero-content .hero-note,
.hero-content .scroll-link{
  color:#fff;
}

.hero-content h1{
  color:rgba(250,245,172,1.00); /* your current hero headline color */
  text-shadow:0 2px 14px rgba(0,0,0,0.55);
  padding-bottom: 5px;
  margin-bottom: 0px;
}
.hero-content h3{
  color:#ffffff; /* your current hero headline color */
  text-shadow:0 2px 14px rgba(0,0,0,0.55);
  padding-top: 0px;
}

.hero-content .hero-subhead{
  font-size:1.10rem;
  max-width:680px;
  color:rgba(255,255,255,0.92);
  text-shadow:0 2px 10px rgba(0,0,0,0.45);
}

.hero-note{
  margin-top:10px;
  color:rgba(255,255,255,0.85);
  font-size:0.95rem;
}

.scroll-link{
  display:inline-block;
  margin-top:20px;
  color:rgba(255,255,255,0.9);
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:4px;
}

/* ================================
   Voyage Grid / Cards (2x2)
   ================================ */

.voyage-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 20px;

  max-width: 960px;  /* premium/narrow */
  margin-left: auto;
  margin-right: auto;
}

/* Card shell */
.voyage-card{
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;

  display: flex;
  flex-direction: column;   /* image on top, body below */
  height: 100%;
}

.voyage-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Card image */
.voyage-img{
  height: 220px;
  width: 100%;
  object-fit: cover;
}

/* Card body (flex column so buttons can pin) */
.voyage-body{
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;                 /* fill remaining card height */
}

/* Pill (remove debug styling when done) */
.pill{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: #6097cd;
  color: #ffffff;
  border: 1px solid rgba(10,37,64,0.22);
  margin-bottom: 10px;
}

/* Text */
.chef-line{
  font-size: 0.98rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.date-band{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--sand);
  color: #374151;
  font-weight: 700;
  margin: 10px 0 12px;
}

.card-copy{
  margin-top: 10px;
  color: #374151;
}

/* Button row pinned to bottom */
.voyage-card .card-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
/* Space only between stacked button rows */
.voyage-card .card-actions + .card-actions{
  margin-top: 10px;
}
.card-actions-wrap{
  margin-top: auto;   /* pins the whole block */
}



/* 3-up row for Anne/Brent card */
.voyage-card .card-actions.three{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Tighter fit for the 3-up button row */
.voyage-card .card-actions.three .btn{
  font-size: 0.86rem;
  padding: 10px 10px;
}

/* Card-only button sizing (does NOT affect hero/CTAs) */
.voyage-card .btn{
  padding: 10px 12px;
  font-size: 0.88rem;     /* a bit smaller */
  line-height: 1.15;

  white-space: normal;     /* ✅ allow wrapping */
  text-align: center;      /* nicer for 2-line labels */
  min-height: 44px;        /* ✅ consistent button height */
}
/* Keep card button labels to ~2 lines */
.voyage-card .card-actions .btn{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;   /* ✅ cap at 2 lines */
  overflow: hidden;
}

/* Force card buttons to brand-dark */
.voyage-card .btn.primary,
.voyage-card .btn.details,
.voyage-card .btn.chef,
.voyage-card .btn.meet{
  background: var(--brand);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 8px 18px rgba(10,37,64,0.20);
}

.voyage-card .btn.primary:hover,
.voyage-card .btn.details:hover,
.voyage-card .btn.chef:hover,
.voyage-card .btn.meet:hover{
  background: var(--brand-2);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 560px){
  .voyage-grid{
    grid-template-columns: 1fr;
  }

  .voyage-card .card-actions,
  .voyage-card .card-actions.three{
    grid-template-columns: 1fr;
  }
}



/* ---------- CTA Band ---------- */
.cta-band{
  margin-top:28px;
  border-radius:var(--radius-lg);
  background:#fff;
  box-shadow:var(--shadow-soft);
  border:1px solid rgba(17,24,39,0.06);
}

.cta-band-inner{
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}

/* ---------- Lists ---------- */
.icon-list{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px 18px;
  margin-top:12px;
}
.icon-list li{
  padding:12px 14px;
  background:rgba(255,255,255,0.8);
  border-radius:var(--radius);
  border:1px solid rgba(17,24,39,0.06);
}

.inline-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
}

.inline-list li{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(17,24,39,0.08);
  color: #374151;
  white-space: nowrap; /* keeps pills tidy */
}

/* ---------- Split section ---------- */
.split{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:22px;
  align-items:center;
}
.split-image img{
  border-radius:var(--radius-lg);
  height:360px;
  width:100%;
  object-fit:cover;
  box-shadow:var(--shadow-soft);
}

/* ---------- Booking / Form ---------- */
.booking p{ max-width:880px; }

.form-wrap{
  margin-top:28px;
  background:rgba(255,255,255,0.9);
  border:1px solid rgba(17,24,39,0.06);
  border-radius:var(--radius-lg);
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.inquiry-form{ margin-top:12px; }

.form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
  margin-bottom:12px;
}

label span{
  display:block;
  font-size:0.86rem;
  color:#6b7280;
  margin-bottom:6px;
}

input, select{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(17,24,39,0.12);
  background:#fff;
  outline:none;
}

input:focus, select:focus{
  border-color:rgba(10,37,64,0.45);
  box-shadow:0 0 0 3px rgba(10,37,64,0.12);
}

/* =========================
   Travel Advisor Section
   ========================= */
.agent-section{
  background: linear-gradient(180deg, #f6f8f9 0%, #eef3f6 50%, #f6f8f9 100%);
}

.agent-section .section-intro{
  max-width: 720px;
  margin: 10px auto 0;
}

.agent-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.agent-col{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17,24,39,0.06);
  border-radius: var(--radius-lg);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.agent-col h3{
  margin: 0 0 8px 0;
  color: #111827;
}

.agent-col p{
  margin: 0 0 14px 0;
  color: #374151;
}

.agent-col h3 + p{
  margin-bottom: 16px;
}

.agent-note{
  margin-top: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.agent-cta-row{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Optional: keep the secondary button readable on light bg */
.agent-section .btn.secondary{
  background: transparent;
  border-color: rgba(10,37,64,0.30);
  color: var(--brand);
}

@media (max-width: 980px){
  .agent-grid{
    grid-template-columns: 1fr;
  }
}


/* ---------- Footer ---------- */
.footer{
  background:#0b1220;
  color:rgba(255,255,255,0.85);
  padding:28px 0;
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
}
.footer-links{
  display:flex;
  gap:10px;
  align-items:center;
}
.footer-links a{
  color:rgba(255,255,255,0.9);
  text-decoration:underline;
  text-underline-offset:3px;
}
.footer-inner{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap:20px;
}

.footer-logo img{
  height:120px;
  max-width: 160px;
  width:auto;
  display:block;
}

.footer-text{
  text-align:center;
  margin:0;
}

@media (max-width: 720px){
  .footer-inner{
    grid-template-columns: 1fr;
    text-align:center;
  }

  .footer-logo{
    margin-bottom:8px;
  }

  .footer-links{
    justify-content:center;
  }
}

/* Card action row */
.card-actions{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Chef button: calm, secondary */
.btn.chef{
  width: 100%;
  background: #ffffff;
  color: var(--brand);
  border: 1px solid rgba(10,37,64,0.22);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}
.btn.chef:hover{
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-1px);
}

/* Modal */
.modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.modal.is-open{ display: block; }

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.modal-panel{
  position: relative;
  width: min(920px, 92%);
  margin: 6vh auto;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 30px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: rgba(17,24,39,0.65);
  cursor: pointer;
}

.modal-header{
  padding: 18px 22px 10px;
  border-bottom: 1px solid rgba(17,24,39,0.08);
}
.modal-header h3{ margin: 0; }

.modal-body{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  padding: 18px 22px 20px;
}

.modal-media img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 14px;
}

.modal-copy p{ margin-top: 0; }
.modal-copy a{
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.modal-footer{
  padding: 0 22px 22px;
  display: flex;
  justify-content: flex-end;
}

/* Lock background scroll when modal open */
body.modal-open{
  overflow: hidden;
}

@media (max-width: 820px){
  .modal-body{
    grid-template-columns: 1fr;
  }
  .modal-media img{
    height: 260px;
  }
  .modal-footer{
    justify-content: stretch;
  }
  .modal-footer .btn{
    width: 100%;
  }
}



/* =========================================================
   Responsive
   ========================================================= */

/* Tablet and down */
@media (max-width: 980px){
  .voyage-grid{
    grid-template-columns:1fr;
    max-width:640px;
  }

  .icon-list{ grid-template-columns:1fr; }
  .split{ grid-template-columns:1fr; }
  .split-image img{ height:320px; }
  .form-grid{ grid-template-columns:1fr; }

  .section-bg > .container{ padding:28px 18px; }
}

/* Mobile */
@media (max-width: 560px){
  .hero{ min-height:600px; }
  .hero-content{ top:110px; }

  .btn{ width:100%; }
  .cta-row{ width:100%; }

  .voyage-img{ height:180px; }
  .cta-band-inner{ padding:16px; }
}
