/* ramiodt.com — static, responsive rebuild. Keeps the original assets
   (bg.jpg, logo, tile photos, green/brown palette) on a modern layout. */
:root {
  --card: rgba(0, 0, 0, 0.45);
  --card-light: rgba(255, 255, 255, 0.72);
  --green: #2f921d;
  --green-light: #dcffd3;
  --green-shadow: #205a0a;
  --brown: #a0503c;
  --amber: #e0a030;
  --text: #fff;
  --maxw: 960px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--text);
  font: 17px/1.55 "Heebo", "Segoe UI", Arial, sans-serif;
  background: #4f643a url("/wp-content/uploads/includes/bg.jpg") center top / cover fixed;
  min-height: 100vh;
}
@media (max-width: 768px) { body { background-attachment: scroll; } }
a { color: inherit; }
a:hover { color: #ffd9a3; }
img { max-width: 100%; height: auto; }
hr { border: 0; height: 1px; background: rgba(255, 255, 255, 0.35); margin: 28px 0; clear: both; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.25; font-weight: 700; }
h1 { font-size: 2rem; color: var(--green-light); text-shadow: -1px 2px 6px #000; }
h2 { font-size: 1.5rem; color: var(--green-light); text-shadow: -1px 1px 0 var(--green-shadow); text-align: center; }
h3 { font-size: 1.3rem; color: var(--green-light); text-shadow: -1px 1px 0 var(--green-shadow); }
strong { text-shadow: -1px 1px 0 #52740d; }
p { margin: 0 0 1em; }
ul { padding-right: 1.4em; }

/* ---- shell ---- */
.shell { max-width: var(--maxw); margin: 16px auto 40px; padding: 0 12px; }
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
@media (max-width: 600px) { .card { padding: 14px 14px; } h1 { font-size: 1.6rem; } body { font-size: 16px; } }

/* ---- header ---- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-header .logo img { display: block; height: 72px; width: auto; }
.nav-toggle {
  display: none; background: var(--card-light); border: 0; border-radius: 12px;
  padding: 8px 12px; font: inherit; font-weight: 700; color: #222; cursor: pointer;
}
.site-nav { background: var(--card-light); border-radius: 14px; padding: 4px 10px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.site-nav a { display: block; padding: 8px 11px; color: #222; font-weight: 700; text-decoration: none; border-radius: 10px; white-space: nowrap; }
.site-nav a:hover, .site-nav a.current { background: rgba(255, 255, 255, 0.85); color: var(--brown); }
@media (max-width: 760px) {
  .site-header .logo img { height: 56px; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; padding: 6px; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 11px 14px; font-size: 1.05rem; }
}

/* ---- content ---- */
main.card { margin-top: 16px; }
.entry { font-size: 1.05rem; }

/* generic converted tables */
.t-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-start; margin-bottom: 12px; }
.t-cell { flex: 1 1 260px; min-width: 0; }
.t-cell.narrow { flex: 0 1 320px; }
.t-cell.spacer { display: none; }
.t-cell img { border-radius: 8px; }

/* tiles (home + section pages) */
.tiles .t-row { align-items: center; justify-content: center; padding: 10px 0; }
.tiles .t-row + .t-row { border-top: 1px solid rgba(255, 255, 255, 0.15); }
.tiles .t-cell { flex: 1 1 240px; text-align: center; }
.tiles .t-cell.has-tile { flex: 0 0 auto; }
.tiles h2, .tiles h3 { text-align: center; margin: 0; }
.tiles .entry-content { padding: 0 8px; }
.tile {
  position: relative; display: block; width: 240px; max-width: 100%; aspect-ratio: 240 / 190;
  overflow: hidden; border-radius: 12px; border: 1px solid rgba(0, 0, 0, 0.6);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); margin: 0 auto; text-decoration: none;
}
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.tile:hover img { transform: scale(1.12); }
.tile .label {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 8px 6px;
  background: rgba(0, 0, 0, 0.72); color: #fff; font-weight: 700; font-size: 1.05rem; text-align: center;
}
@media (max-width: 600px) { .tile { width: 100%; max-width: 360px; } }

/* read-more button */
.btn, #welButton {
  display: inline-block; padding: 8px 26px; border-radius: 10px; color: #fff; font-weight: 700;
  text-decoration: none; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); border: 1px solid #1d5a2d;
  background: linear-gradient(#55ba3f, #168b47); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.btn:hover, #welButton:hover { filter: brightness(1.08); color: #fff; }
a:has(> #welButton) { text-decoration: none; }

/* routes (PDF lists) */
.routes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .routes { grid-template-columns: 1fr; } }
.routes .col { background: rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 10px; }
.locationTitle {
  display: block; color: #fff; text-align: center; font-size: 1.5rem; font-weight: 700;
  border-radius: 8px; padding: 6px; margin: 0 0 10px; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}
#north.locationTitle { background: linear-gradient(#55ba3f, #168b47); }
#center.locationTitle { background: linear-gradient(#2c6396, #0d2b69); }
#south.locationTitle { background: linear-gradient(#96562c, #ba3610); }
.routes a.pdf {
  display: block; margin: 8px 0; padding: 10px 12px; border-radius: 8px; background: #f9f9f9; color: #222;
  font-weight: 700; text-decoration: none; border: 1px solid #ddd;
}
.routes a.pdf:hover { background: #fff3d6; color: var(--brown); }
.routes a.pdf::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-left: 8px; vertical-align: -2px;
  background: url("/wp-content/plugins/pretty-file-lister/images/silk_icons/page_white_acrobat.png") no-repeat; }

/* trips chooser: signpost */
.signpost { position: relative; width: 100%; max-width: 640px; height: 420px; margin: 10px auto 0; }
.signpost .post {
  position: absolute; left: 50%; top: 0; bottom: 28px; width: 18px; margin-left: -9px; border-radius: 9px 9px 0 0;
  background: linear-gradient(90deg, #6b6f73, #d9dcdf 45%, #8a8f94); box-shadow: 0 0 10px rgba(0,0,0,.4);
}
.signpost .base {
  position: absolute; left: 50%; bottom: 10px; width: 150px; height: 26px; margin-left: -75px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #c9ccd0, #6b6f73); box-shadow: 0 6px 12px rgba(0,0,0,.45);
}
.sign {
  position: absolute; display: flex; flex-direction: column; justify-content: center; padding: 14px 28px;
  min-height: 92px; width: 56%; font-weight: 700; text-decoration: none; line-height: 1.15;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); transition: transform .25s;
}
.sign .txt { font-size: 1.7rem; }
.sign:hover { transform: translateY(-3px) scale(1.03); }
.sign.nature {
  right: 0; top: 36px; color: #fff; background: linear-gradient(#8a3b1c, #5c2410);
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 50%, calc(100% - 46px) 100%, 0 100%); text-align: right; padding-right: 60px; padding-left: 32px;
}
.sign.nature:hover { color: #fff; }
.sign.nature .marker {
  position: absolute; left: 22px; top: 50%; width: 22px; height: 40px; margin-top: -20px; border-radius: 3px;
  background: linear-gradient(#fff 0 30%, #1e64c8 30% 70%, #fff 70%); box-shadow: 0 0 0 1px rgba(0,0,0,.3);
}
.sign.urban {
  left: 0; top: 160px; color: #1a1a1a; background: linear-gradient(#fdf6dc, #efe3b8); text-align: right;
  clip-path: polygon(46px 0, 100% 0, 100% 100%, 46px 100%, 0 50%); padding-left: 60px;
}
.sign.urban:hover { color: var(--brown); }
.sign .small { font: 700 .85rem/1 "Heebo", sans-serif; opacity: .7; margin-bottom: 4px; letter-spacing: .02em; }
@media (max-width: 560px) {
  .signpost { height: 360px; }
  .sign { width: 72%; padding: 12px 20px; min-height: 80px; }
  .sign .txt { font-size: 1.35rem; }
  .sign.nature { right: 0; top: 30px; padding-right: 44px; padding-left: 26px; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%); }
  .sign.nature .marker { left: 14px; width: 16px; height: 32px; margin-top: -16px; }
  .sign.urban { top: 150px; padding-left: 44px; clip-path: polygon(34px 0, 100% 0, 100% 100%, 34px 100%, 0 50%); }
}

/* brochure pages */
.doc-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.btn.secondary { background: linear-gradient(#2c6396, #0d2b69); border-color: #0d2b69; }
.doc { font-size: 1.1rem; line-height: 1.7; }
.doc::after { content: ""; display: block; clear: both; }
.doc p { margin: 0 0 1em; }
.doc h3 { margin-top: 1.2em; }
.doc ol { padding-right: 1.5em; }
.doc li { margin-bottom: .4em; }
.doc figure { margin: 6px 0 14px; }
.doc figure img { border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.4); display: block; }
.doc figure.wide img { width: 100%; max-width: 760px; margin: 0 auto; }
.doc figure.side { width: 300px; max-width: 45%; }
.doc figure.side.right { float: right; margin-left: 20px; }
.doc figure.side.left { float: left; margin-right: 20px; }
.doc .note { clear: both; font-size: .85rem; opacity: .75; border-top: 1px solid rgba(255,255,255,.25); padding-top: 12px; margin-top: 24px; }
.doc-contact { clear: both; margin-top: 20px; font-size: 1.15rem; }
@media (max-width: 560px) {
  .doc figure.side { float: none; width: 100%; max-width: 100%; margin: 6px 0 14px; }
}
.route { display: flex; align-items: stretch; margin: 8px 0; gap: 4px; }
.route a.pdf { flex: 1; margin: 0; }
.route a.dl { flex: 0 0 38px; border-radius: 8px; background: #f9f9f9 url("/wp-content/plugins/pretty-file-lister/images/silk_icons/page_white_acrobat.png") center no-repeat; border: 1px solid #ddd; }
.route a.dl:hover { background-color: #fff3d6; }
.routes .route a.pdf::before { content: none; }

/* video */
.video { position: relative; width: 100%; max-width: 760px; margin: 0 auto 16px; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }

/* clients */
.clients-filter { margin: 4px 0 20px; text-align: center; }
.clients-filter button { margin: 3px; padding: 7px 14px; border: 0; border-radius: 12px; background: var(--card-light); color: #222; cursor: pointer; font: inherit; font-weight: 700; }
.clients-filter button.on { background: var(--amber); }
.clients-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.client { background: rgba(255, 255, 255, 0.88); border-radius: 12px; padding: 12px; text-align: center; color: #222; }
.client .logo { height: 90px; display: flex; align-items: center; justify-content: center; }
.client img { max-width: 160px; max-height: 85px; width: auto; }
.client .cname { font-weight: 700; margin: 6px 0 2px; }
.client .letter { display: block; font-size: 0.9rem; }

/* idf gallery */
.idf-table { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; text-align: center; }
.idf-table > div { flex: 0 1 160px; }
.idf-table img { border-radius: 10px; width: 150px; height: 150px; object-fit: cover; }
.idf-table span { display: block; font-weight: 700; margin-top: 4px; }

/* password gate */
.gate { max-width: 420px; margin: 20px auto; text-align: center; }

/* ---- footer ---- */
.site-footer { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.site-footer h2 { font-size: 1.1rem; margin-bottom: 6px; text-align: right; color: var(--green-light); text-shadow: -1px 1px 0 var(--green-shadow); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .phone { display: flex; align-items: center; gap: 10px; margin: 6px 0; font-size: 1.05rem; }
.ico { width: 22px; height: 22px; flex: 0 0 22px; color: var(--green-light); filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
.credits { text-align: center; font-size: 0.85rem; opacity: 0.75; margin-top: 14px; }

/* ---- accessibility ---- */
.skip-link { position: absolute; top: -60px; right: 12px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 0 0 10px 10px; font-weight: 700; }
.skip-link:focus { top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ffd24a; outline-offset: 2px; box-shadow: 0 0 0 5px #000;
}
main:focus { outline: none; }
a { text-decoration-thickness: 1px; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
