/* =====================================================================
   STYLES.CSS — Oritours, Version A: "Eastern Elegance"
   -----------------------------------------------------------------
   Organized top to bottom as:
     1. Design tokens (colors, fonts, spacing) — change these to
        re-theme the whole site without touching anything below.
     2. Base/reset
     3. Header & navigation
     4. Hero section
     5. Cards (Who I Work With / Signature Tours / Additional Support)
     6. Gallery
     7. Reviews
     8. Contact
     9. Footer
     10. Responsive (mobile) overrides
   ===================================================================== */


/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root{
  --cream:#FBF3EC;
  --blush:#F6E2DF;
  --maroon:#6B1B2B;
  --maroon-dark:#511320;
  --rose:#E8B4C0;
  --gold:#B8902F;
  --ink:#2C211D;
  --radius:14px;
  --max:1080px;
}

/* ---------------------------------------------------------------------
   2. BASE / RESET
   --------------------------------------------------------------------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Mulish', sans-serif;
  line-height:1.6;
}
[lang="he"] body{ font-family:'Heebo', sans-serif; }

h1,h2,h3{
  font-family:'Cormorant Garamond', serif;
  color:var(--maroon);
  margin:0 0 .4em;
  font-weight:600;
}
[lang="he"] h1, [lang="he"] h2, [lang="he"] h3{ font-family:'Frank Ruhl Libre', serif; }

a{ color:inherit; }


/* ---------------------------------------------------------------------
   3. HEADER & NAVIGATION
   Pinned to direction:ltr regardless of the page's language so the
   logo / nav / language button never swap sides when toggling Hebrew.
   --------------------------------------------------------------------- */
header{
  direction:ltr;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:16px;
  padding:18px 32px;
  background:var(--cream);
  border-bottom:1px solid var(--rose);
  position:sticky; top:0; z-index:40;
}
.logo{ font-family:'Cormorant Garamond', serif; font-size:24px; font-weight:700; color:var(--maroon); letter-spacing:1px; }
nav ul{ list-style:none; display:flex; gap:26px; margin:0; padding:0; }
nav a{ text-decoration:none; font-size:15px; color:var(--ink); border-bottom:1px solid transparent; padding-bottom:2px; }
nav a:hover, nav a:focus-visible{ border-bottom-color:var(--gold); outline:none; }
/* Book Now nav button */
.book-now-btn{
  background:var(--maroon); color:#fff !important; border-bottom:none !important;
  padding:9px 22px; border-radius:30px; font-size:14px; font-weight:700;
  text-decoration:none; letter-spacing:.3px; white-space:nowrap;
  box-shadow:0 2px 8px rgba(107,27,43,.25); transition:all .2s ease;
}
.book-now-btn:hover{ background:var(--maroon-dark); box-shadow:0 4px 14px rgba(107,27,43,.35); transform:translateY(-1px); }

/* Language toggle — more noticeable */
#langToggle{
  border:2px solid var(--maroon); background:var(--blush); color:var(--maroon);
  padding:8px 16px; border-radius:30px; font-size:14px; cursor:pointer; font-weight:700;
  display:flex; align-items:center; gap:6px; transition:all .2s ease;
}
#langToggle:hover, #langToggle:focus-visible{
  background:var(--maroon); color:#fff; outline:none;
}
.lang-icon{ font-size:15px; }


/* ---------------------------------------------------------------------
   4. HERO
   --------------------------------------------------------------------- */
.hero{
  max-width:var(--max); margin:0 auto; padding:70px 32px 50px;
  display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center;
}
.hero h1{ font-size:44px; line-height:1.15; }
.hero p{ font-size:17px; max-width:46ch; }
.eyebrow{ color:var(--gold); letter-spacing:3px; font-size:12px; text-transform:uppercase; font-weight:700; margin-bottom:14px; }
.cta{
  display:inline-block; margin-top:22px; background:var(--maroon); color:#fff;
  padding:13px 30px; border-radius:30px; text-decoration:none; font-weight:600; font-size:15px;
  border:none; cursor:pointer; font-family:inherit;
}
.cta:hover, .cta:focus-visible{ background:var(--maroon-dark); outline:none; }

.hero-art{ position:relative; display:flex; justify-content:center; }
.portrait-frame{
  width:280px; height:280px; border-radius:50%; background:var(--blush);
  display:flex; align-items:center; justify-content:center; color:#A37E7E; font-size:13px;
  border:3px solid var(--gold); position:relative; z-index:2; overflow:hidden;
}
.portrait-frame img{
  width:100%; height:100%; object-fit:cover; border-radius:50%;
}
/* shimmer pulse while hero image is loading */
@keyframes portrait-shimmer{
  0%,100%{ background:var(--blush); }
  50%    { background:#edd8d0; }
}
.portrait-frame.portrait-loading{
  animation:portrait-shimmer 1.8s ease-in-out infinite;
}
.blossom{ position:absolute; z-index:1; pointer-events:none; top:-30px; left:-20px; }


/* ---------------------------------------------------------------------
   5. CARDS
   Used for "Who I Work With", "Signature Tours" and "Additional Support".
   Each card shows an icon + title by default. Hovering (desktop) or
   tapping (touch, via the .active class added in main.js) reveals a
   short story underneath, using a max-height transition.
   --------------------------------------------------------------------- */
.section{ max-width:var(--max); margin:0 auto; padding:60px 32px; }
.section h2{ font-size:32px; }
.section-intro{ max-width:60ch; color:#5a4d47; margin-bottom:30px; }

.grid-4, .grid-5{ display:grid; gap:18px; }
.grid-4{ grid-template-columns:repeat(4,1fr); }
.grid-5{ grid-template-columns:repeat(5,1fr); }

.info-card{
  background:var(--blush);
  border-radius:var(--radius);
  border-inline-start:4px solid var(--maroon);
  padding:22px 18px;
  cursor:pointer;
  text-align:start;
  outline:none;
  transition:box-shadow .25s ease, transform .25s ease;
}
.info-card:hover, .info-card:focus-visible, .info-card.active{
  box-shadow:0 8px 22px rgba(107,27,43,.16);
  transform:translateY(-2px);
}
.card-icon{ width:30px; height:30px; color:var(--maroon); display:block; margin-bottom:10px; }
.card-title{ display:block; font-family:'Cormorant Garamond', serif; color:var(--maroon); font-size:18px; }
[lang="he"] .card-title{ font-family:'Frank Ruhl Libre', serif; }

/* The hidden "story" panel — collapsed by default, expands on hover/tap */
.card-reveal{
  max-height:0;
  opacity:0;
  overflow:hidden;
  transition:max-height .35s ease, opacity .3s ease, margin-top .35s ease;
}
.info-card:hover .card-reveal,
.info-card:focus-visible .card-reveal,
.info-card.active .card-reveal{
  max-height:220px;
  opacity:1;
  margin-top:10px;
}
.card-reveal p{ margin:0; font-size:13.5px; color:#5a4d47; line-height:1.5; }


/* ---------------------------------------------------------------------
   6. GALLERY
   --------------------------------------------------------------------- */
.photo-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:10px; }
.photo-box{
  aspect-ratio:1; border-radius:var(--radius); background:var(--blush);
  display:flex; align-items:center; justify-content:center; color:#A37E7E; font-size:13px;
}
.photo-box.real{ padding:0; overflow:hidden; }
.photo-box.real img{ width:100%; height:100%; object-fit:cover; display:block; }


/* ---------------------------------------------------------------------
   7. REVIEWS
   --------------------------------------------------------------------- */
.review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.review-card{ background:#fff; border:1px solid var(--rose); border-radius:var(--radius); padding:24px; }
.review-card .quote-mark{ font-family:'Cormorant Garamond', serif; font-size:38px; color:var(--gold); line-height:0; display:block; margin-bottom:10px; }
.review-card--image{ padding:10px; }
.review-card--image img{ width:100%; border-radius:8px; display:block; }


/* ---------------------------------------------------------------------
   8. CONTACT
   --------------------------------------------------------------------- */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.contact-list{ list-style:none; padding:0; margin:0; }
.contact-list li{ border-bottom:1px solid var(--rose); }
.contact-list a{
  display:flex; align-items:center; gap:10px;
  padding:12px 0; font-size:15.5px; text-decoration:none; color:var(--ink);
}
.contact-list a:hover, .contact-list a:focus-visible{ color:var(--maroon); outline:none; }
.contact-list .card-icon{ width:18px; height:18px; color:var(--gold); flex-shrink:0; }
.field{ width:100%; border:1px solid var(--rose); border-radius:8px; padding:13px; margin-bottom:12px; font-family:inherit; font-size:14px; background:#fff; }
textarea.field{ min-height:90px; resize:vertical; }
/* Spam honeypot — kept in the DOM for bots, hidden from real visitors */
.hidden-field{ position:absolute; left:-9999px; top:-9999px; }


/* ---------------------------------------------------------------------
   9. FOOTER
   --------------------------------------------------------------------- */
footer{ text-align:center; padding:26px; font-size:13px; color:#8a766e; background:var(--blush); }


/* ---------------------------------------------------------------------
   11. WHERE TO STAY PAGE
   --------------------------------------------------------------------- */
.stay-disclosure{ font-size:13px; color:#8a766e; max-width:60ch; margin-top:6px; }
.region-block h2{ margin-top:0; }
.stay-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:20px; }
.stay-card{ background:#fff; border:1px solid var(--rose); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; }
.stay-photo{ aspect-ratio:4/3; background:var(--blush); overflow:hidden; }
.stay-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
.stay-body{ padding:16px; display:flex; flex-direction:column; gap:8px; flex:1; }
.stay-name{ font-family:'Cormorant Garamond', serif; color:var(--maroon); font-size:18px; }
[lang="he"] .stay-name{ font-family:'Frank Ruhl Libre', serif; }
.stay-body p{ font-size:14px; color:#5a4d47; margin:0; flex:1; }
.stay-cta{ align-self:flex-start; margin-top:4px; padding:9px 20px; font-size:14px; }
.stay-empty{ color:#A37E7E; font-size:14px; }


/* ---------------------------------------------------------------------
   13. VIDEOS — thumbnail grid, click to open YouTube
   --------------------------------------------------------------------- */
.video-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:20px; }
.video-card{ background:#fff; border:1px solid var(--rose); border-radius:var(--radius); overflow:hidden; text-decoration:none; display:block; transition:box-shadow .25s ease, transform .25s ease; }
.video-card:hover{ box-shadow:0 8px 22px rgba(107,27,43,.16); transform:translateY(-2px); }
.video-thumb{ position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--blush); }
.video-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.video-play-btn{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(107,27,43,.45); opacity:0; transition:opacity .2s ease; }
.video-play-btn svg{ width:52px; height:52px; fill:#fff; }
.video-card:hover .video-play-btn{ opacity:1; }
.video-title{ padding:12px 16px; font-family:'Cormorant Garamond', serif; color:var(--maroon); font-size:17px; line-height:1.3; }
[lang="he"] .video-title{ font-family:'Frank Ruhl Libre', serif; }
.video-desc{ padding:0 16px 14px; font-size:13.5px; color:#5a4d47; margin:0; }


/* ---------------------------------------------------------------------
   12. LIGHTBOX (click any real photo to enlarge it)
   --------------------------------------------------------------------- */
.photo-box.real img, .review-card img, .stay-photo img{ cursor:zoom-in; }
.lightbox-overlay{
  position:fixed; inset:0; background:rgba(20,10,10,.86);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transition:opacity .2s ease;
  z-index:200; padding:30px; cursor:zoom-out;
}
.lightbox-overlay.open{ opacity:1; visibility:visible; }
.lightbox-overlay img{
  max-width:min(90vw, 900px); max-height:90vh;
  border-radius:8px; box-shadow:0 10px 40px rgba(0,0,0,.5);
  cursor:zoom-out;
}


/* ---------------------------------------------------------------------
   14. BOOKING FORM PAGE
   --------------------------------------------------------------------- */
.booking-page{ max-width:720px !important; }
.booking-hero{ margin-bottom:36px; }
.booking-hero h1{ font-size:34px; }

/* Section card */
.form-section{
  background:#fff; border:1px solid var(--rose); border-radius:var(--radius);
  padding:28px 28px 22px; margin-bottom:20px;
}
.form-section-header{ display:flex; align-items:center; gap:14px; margin-bottom:20px; }
.form-section-header h2{ font-size:20px; margin:0; }
.form-section-num{
  width:32px; height:32px; border-radius:50%; background:var(--maroon); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700;
  flex-shrink:0;
}
.form-section-desc{ color:#5a4d47; font-size:14px; margin:-10px 0 18px; }

/* Grid helpers */
.form-row{ margin-bottom:16px; }
.form-row.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group{ display:flex; flex-direction:column; gap:6px; }
.form-group label{ font-size:13.5px; font-weight:600; color:var(--ink); }
.field-hint{ font-size:12px; color:#8a766e; }
.field-error{ border-color:var(--maroon) !important; background:#fff5f5 !important; }

/* Yes/No toggles */
.yn-toggle{ display:flex; gap:10px; margin-bottom:6px; flex-wrap:wrap; }
.yn-toggle--sm .yn-btn{ padding:10px 18px; font-size:14px; }
.yn-btn{
  display:flex; align-items:center; gap:8px;
  padding:14px 22px; border:2px solid var(--rose); border-radius:var(--radius);
  background:#fff; font-size:15px; font-weight:600; cursor:pointer;
  transition:all .2s ease; font-family:inherit; color:var(--ink);
  flex:1; min-width:140px; justify-content:center;
}
.yn-btn:hover{ border-color:var(--maroon); }
.yn-btn.yn-active{ background:var(--maroon); border-color:var(--maroon); color:#fff; }
.yn-btn--no.yn-active{ background:#4b5563; border-color:#4b5563; color:#fff; }
.yn-check{ font-size:16px; }

/* Luggage split grid */
.luggage-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:6px;
}
.luggage-grid .form-group label{ font-size:12px; font-weight:700; }

/* Conditional sections */
.cond-section{ margin-top:20px; }

/* Shuttle entries */
.shuttle-entry{
  border:1px solid var(--rose); border-radius:var(--radius);
  padding:20px; margin-bottom:16px; background:var(--blush);
}
.shuttle-entry-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.shuttle-entry-header h3{ margin:0; font-size:16px; color:var(--maroon); }
.remove-shuttle-btn{
  background:none; border:1px solid var(--rose); border-radius:50%;
  width:28px; height:28px; cursor:pointer; color:var(--maroon); font-size:16px;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.remove-shuttle-btn:hover{ background:var(--maroon); color:#fff; }

/* Vehicle card grid */
.vehicle-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:8px;
}
.vehicle-card{ position:relative; }
.vehicle-card input[type="radio"]{ position:absolute; opacity:0; width:0; height:0; }
.vc-inner{
  display:flex; flex-direction:column; align-items:center; gap:4px;
  border:2px solid var(--rose); border-radius:10px; padding:12px 8px;
  cursor:pointer; background:#fff; transition:all .2s; text-align:center;
}
.vehicle-card:hover .vc-inner{ border-color:var(--maroon); }
.vehicle-card input:checked + .vc-inner{ border-color:var(--maroon); background:var(--blush); }
.vc-icon{ font-size:22px; }
.vc-name{ font-size:12px; font-weight:700; color:var(--maroon); }
.vc-cap{ font-size:11px; color:#8a766e; }

/* Tour type cards */
.tour-type-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:8px;
}
.tour-type-card{ position:relative; }
.tour-type-card input[type="checkbox"]{ position:absolute; opacity:0; width:0; height:0; }
.ttc-inner{
  display:flex; flex-direction:column; align-items:center; gap:6px;
  border:2px solid var(--rose); border-radius:10px; padding:14px 8px;
  cursor:pointer; background:#fff; transition:all .2s; text-align:center; font-size:13px; font-weight:600;
}
.tour-type-card:hover .ttc-inner{ border-color:var(--maroon); }
.tour-type-card input:checked + .ttc-inner{ border-color:var(--maroon); background:var(--blush); color:var(--maroon); }
.ttc-icon{ font-size:24px; }

/* Radio + checkbox groups */
.radio-group{ display:flex; gap:16px; flex-wrap:wrap; margin-top:8px; }
.radio-label, .checkbox-label{
  display:flex; align-items:center; gap:8px; font-size:14px;
  cursor:pointer; padding:6px 12px; border:1px solid var(--rose); border-radius:20px;
  background:#fff; transition:all .2s;
}
.radio-label:hover, .checkbox-label:hover{ border-color:var(--maroon); }
.radio-label input:checked ~ span, .checkbox-label input:checked ~ span{ color:var(--maroon); font-weight:700; }
.radio-label:has(input:checked), .checkbox-label:has(input:checked){ border-color:var(--maroon); background:var(--blush); }
.checkbox-group{ display:flex; flex-wrap:wrap; gap:8px; margin-top:8px; }

/* Add entry button */
.add-entry-btn{
  display:flex; align-items:center; gap:8px;
  border:2px dashed var(--rose); border-radius:var(--radius);
  padding:12px 20px; background:transparent; cursor:pointer;
  color:var(--maroon); font-weight:600; font-size:14px; font-family:inherit;
  width:100%; justify-content:center; margin-top:4px;
  transition:all .2s;
}
.add-entry-btn:hover{ border-color:var(--maroon); background:var(--blush); }

/* Submit */
.booking-submit-wrap{ text-align:center; margin-top:28px; }
.submit-note{ font-size:13px; color:#8a766e; margin-bottom:14px; }
.booking-cta{ font-size:17px; padding:16px 48px; }

/* Success / error messages */
.form-msg{
  border-radius:var(--radius); padding:32px 28px; text-align:center;
  margin-top:24px;
}
.form-msg--ok{ background:#d1fae5; border:1px solid #6ee7b7; }
.form-msg--ok h3{ color:#065f46; margin-bottom:8px; }
.form-msg--err{ background:#fee2e2; border:1px solid #fca5a5; }
.form-msg--err h3{ color:#991b1b; margin-bottom:8px; }
.form-msg-icon{ font-size:40px; margin-bottom:12px; }

/* Booking mobile */
@media (max-width:600px){
  .form-row.two-col{ grid-template-columns:1fr; }
  .vehicle-grid{ grid-template-columns:repeat(2,1fr); }
  .tour-type-grid{ grid-template-columns:repeat(2,1fr); }
  .form-section{ padding:18px 16px; }
  .yn-btn{ min-width:100px; padding:12px 14px; font-size:14px; }
}


/* ---------------------------------------------------------------------
   10. RESPONSIVE (MOBILE)
   --------------------------------------------------------------------- */
@media (max-width:880px){
  .hero{ grid-template-columns:1fr; text-align:center; }
  .hero p{ margin-inline:auto; }
  .grid-4, .grid-5{ grid-template-columns:repeat(2,1fr); }
  .photo-grid{ grid-template-columns:repeat(2,1fr); }
  .review-grid{ grid-template-columns:1fr; }
  .contact-wrap{ grid-template-columns:1fr; }
  .stay-grid{ grid-template-columns:1fr; }
  .video-grid{ grid-template-columns:1fr; }
  nav ul{ gap:14px; flex-wrap:wrap; }
}
