:root {
  --bordeaux: #7A1F2B;
  --bordeaux-dark: #4f111a;
  --cream: #fffaf2;
  --beige: #d8cdb8;
  --sand: #f3eadb;
  --ink: #1f1f1f;
  --muted: #6d625d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(31, 31, 31, .18);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255, 250, 242, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(122, 31, 43, .11);
  transition: .25s ease;
}
.topbar[data-scrolled="true"] { height: 72px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.brand img { width: min(220px, 42vw); height: auto; }
.main-nav { display: flex; gap: 8px; align-items: center; }
.main-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--bordeaux-dark);
  font-weight: 700;
  font-size: 15px;
}
.main-nav a:hover { background: rgba(122, 31, 43, .10); }
.nav-toggle { display: none; border: 0; background: var(--bordeaux); color: white; border-radius: 12px; padding: 9px 12px; }

.section-full { min-height: 100svh; }
.section-pad { padding: clamp(70px, 8vw, 120px) clamp(18px, 4vw, 52px); }
.section-alt { background: linear-gradient(180deg, var(--sand), #fffaf2); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 130px clamp(18px, 5vw, 70px) 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: background-image .7s ease, opacity .4s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 20, 18, .82), rgba(122,31,43,.60) 48%, rgba(31,31,31,.18));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  color: white;
}
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  color: var(--beige);
  font-size: 13px;
}
.eyebrow.dark { color: var(--bordeaux); }
.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 112px);
  line-height: .9;
  letter-spacing: -.06em;
  max-width: 850px;
}
.hero p:not(.eyebrow) {
  font-size: clamp(18px, 2.2vw, 24px);
  max-width: 640px;
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bordeaux); color: white; box-shadow: 0 14px 30px rgba(122,31,43,.35); }
.btn-light { background: white; color: var(--bordeaux-dark); }
.btn-ghost { color: white; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.09); }
.btn-ghost.dark { color: var(--bordeaux-dark); border-color: rgba(122,31,43,.25); }
.btn.small { min-height: 36px; padding: 8px 12px; font-size: 13px; }

.status-card {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: clamp(22px, 5vw, 70px);
  z-index: 2;
  width: min(440px, calc(100vw - 36px));
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,250,242,.93);
  box-shadow: var(--shadow);
}
.status-dot { width: 13px; height: 13px; background: var(--bordeaux); border-radius: 999px; margin-top: 5px; box-shadow: 0 0 0 8px rgba(122,31,43,.13); }
.status-card strong { display:block; color: var(--bordeaux-dark); }
.status-card small { display:block; margin-top: 6px; color: var(--muted); }

.intro {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
h2 { font-size: clamp(34px, 5vw, 64px); line-height: .96; margin: 0 0 16px; letter-spacing: -.04em; color: var(--bordeaux-dark); }
h3 { margin: 0 0 12px; color: var(--bordeaux-dark); }
.intro p { font-size: 19px; line-height: 1.65; }
.section-heading { max-width: var(--max); margin: 0 auto 34px; }
.section-heading p:not(.eyebrow) { max-width: 660px; color: var(--muted); font-size: 18px; line-height: 1.6; }

.visual-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}
.visual-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0,0,0,.10);
  border: 1px solid rgba(122,31,43,.12);
  cursor: pointer;
}
.visual-card:hover .visual-thumb { transform: scale(1.025); }
.visual-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  background: white;
  transition: .25s ease;
}
.visual-card-title {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  padding: 12px 14px;
  background: rgba(255,250,242,.94);
  border-radius: 16px;
  font-weight: 900;
  color: var(--bordeaux-dark);
  box-shadow: 0 10px 25px rgba(0,0,0,.10);
}
.pdf-placeholder {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  padding: 30px;
  background: linear-gradient(135deg, #fff, #f3eadb);
  color: var(--bordeaux);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
}
.empty-message { max-width: var(--max); margin: 0 auto; color: var(--muted); font-size: 18px; }
.hidden { display: none !important; }

.gallery-shell { max-width: var(--max); margin: 0 auto; position: relative; display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 10px; }
.gallery-frame { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow); background: #111; }
.gallery-frame img { width: 100%; height: min(66svh, 680px); object-fit: cover; }
.gallery-caption { position: absolute; left: 18px; bottom: 18px; right: 18px; padding: 12px 16px; border-radius: 16px; background: rgba(31,31,31,.62); color: white; font-weight: 800; }
.gallery-btn { width: 52px; height: 52px; border-radius: 999px; border: 0; background: var(--bordeaux); color: white; font-size: 34px; cursor: pointer; box-shadow: 0 12px 26px rgba(122,31,43,.25); }

.infos { background: var(--bordeaux-dark); color: white; }
.infos h2, .infos h3 { color: white; }
.infos .eyebrow { color: var(--beige); }
.info-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 24px; }
.info-card.wide { grid-column: span 1; }
.text-link { color: inherit; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.contact-card p { margin: 0 0 10px; }
.hours-list { display: grid; gap: 9px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed rgba(255,255,255,.25); padding-bottom: 8px; }
.hours-row.today { color: #fff; font-weight: 900; }

.footer { padding: 34px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px; text-align: center; color: var(--muted); }
.footer img { width: 160px; }
.admin-link { color: var(--muted); font-size: 13px; }

.visual-modal { width: min(1120px, 94vw); max-height: 94svh; border: 0; padding: 0; border-radius: 24px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.visual-modal::backdrop { background: rgba(0,0,0,.72); }
.modal-close { position: fixed; top: 18px; right: 18px; z-index: 3; border: 0; background: white; color: var(--bordeaux); width: 46px; height: 46px; border-radius: 999px; font-size: 32px; cursor: pointer; box-shadow: var(--shadow); }
#modalContent img { width: 100%; height: auto; }
#modalContent iframe { width: 100%; height: 88svh; border: 0; }

.reveal { opacity: 0; transform: translateY(16px); animation: reveal .65s ease forwards; }
.delay-1 { animation-delay: .15s; }
@keyframes reveal { to { opacity: 1; transform: none; } }

.admin-body { background: var(--sand); }
.admin-shell { min-height: 100svh; padding: clamp(22px, 4vw, 48px); }
.admin-logo { width: 220px; margin: 0 auto 18px; }
.admin-login { max-width: 460px; margin: 6vh auto; background: white; padding: 34px; border-radius: 28px; box-shadow: var(--shadow); text-align: center; }
.admin-login h1, .admin-dashboard h1 { margin: 0 0 10px; color: var(--bordeaux-dark); font-size: clamp(34px, 5vw, 56px); line-height: .95; letter-spacing: -.04em; }
.admin-dashboard { max-width: 1220px; margin: 0 auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; overflow-x: auto; }
.tab { border: 1px solid rgba(122,31,43,.18); background: white; color: var(--bordeaux-dark); border-radius: 999px; padding: 12px 16px; cursor: pointer; font-weight: 900; white-space: nowrap; }
.tab.active { background: var(--bordeaux); color: white; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.admin-card { background: white; border-radius: 28px; box-shadow: 0 14px 45px rgba(0,0,0,.10); padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; }
.admin-form { text-align: left; }
.admin-form.compact { display: grid; gap: 14px; }
.admin-form label { display: grid; gap: 7px; font-weight: 800; color: var(--bordeaux-dark); }
input, textarea, select { width: 100%; border: 1px solid rgba(122,31,43,.22); border-radius: 14px; padding: 12px; background: #fffaf2; color: var(--ink); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 28px; }
.span-2 { grid-column: span 2; }
.hours-admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 16px 0 28px; }
.form-message { color: var(--bordeaux); font-weight: 800; }
.muted { color: var(--muted); }
.upload-line { display: grid; grid-template-columns: 170px 1fr auto; gap: 10px; align-items: center; }
.file-picker-label {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--cream);
  border: 1px dashed rgba(122,31,43,.35);
  color: var(--bordeaux-dark);
  font-weight: 900;
  cursor: pointer;
  padding: 12px 18px;
}
.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.upload-dropzone {
  margin-top: 12px;
  padding: 18px;
  border-radius: 18px;
  border: 2px dashed rgba(122,31,43,.25);
  background: var(--cream);
  color: var(--bordeaux-dark);
  text-align: center;
  cursor: pointer;
}
.upload-dropzone.active {
  border-color: var(--bordeaux);
  background: #fff5f2;
}
.upload-queue-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-weight: 900;
  color: var(--bordeaux-dark);
}
.upload-queue {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.upload-queue li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: #fffaf2;
  border: 1px solid rgba(122,31,43,.12);
  border-radius: 14px;
  padding: 10px 12px;
}
.queue-remove {
  border: 0;
  background: transparent;
  color: var(--bordeaux);
  font-weight: 900;
  cursor: pointer;
}

.media-admin-section { border-top: 1px solid rgba(122,31,43,.15); padding-top: 22px; margin-top: 22px; }
.media-admin-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.item-editor-list { display: grid; gap: 12px; }
.item-editor { display: grid; grid-template-columns: 100px 1fr 1fr auto; gap: 10px; align-items: end; padding: 12px; background: var(--cream); border-radius: 18px; border: 1px solid rgba(122,31,43,.12); }
.item-editor .visible-label { display: flex; align-items: center; gap: 8px; min-width: 90px; }
.item-editor input[type="checkbox"] { width: auto; }
.item-editor .remove { background: #fff; color: var(--bordeaux); border: 1px solid rgba(122,31,43,.3); min-height: 42px; }
.prose { line-height: 1.65; }
.prose li { margin-bottom: 8px; }

@media (max-width: 860px) {
  .topbar { height: 74px; }
  .nav-toggle { display: inline-flex; }
  .main-nav { position: absolute; top: 74px; left: 18px; right: 18px; display: none; flex-direction: column; align-items: stretch; background: white; border-radius: 22px; padding: 12px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { text-align: center; }
  .hero { align-items: flex-start; padding-top: 140px; }
  .status-card { position: relative; right: auto; bottom: auto; margin-top: 36px; }
  .intro, .visual-grid, .info-grid, .form-grid, .hours-admin-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .gallery-shell { grid-template-columns: 1fr; }
  .gallery-btn { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); }
  .gallery-btn.prev { left: 12px; }
  .gallery-btn.next { right: 12px; }
  .admin-top, .media-admin-head { flex-direction: column; align-items: flex-start; }
  .upload-line, .item-editor { grid-template-columns: 1fr; }
  .upload-queue-head, .upload-queue li { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand img { width: 168px; }
  .visual-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 48px; }
  .section-pad { padding-top: 58px; padding-bottom: 58px; }
}

.page-settings-grid { display: grid; gap: 18px; margin: 16px 0 28px; }
.page-text-block { padding: 16px; border-radius: 18px; background: var(--cream); border: 1px solid rgba(122,31,43,.12); }
.page-text-block h3 { margin-bottom: 12px; }
.compact-grid { margin: 0; }
.item-editor-gallery { grid-template-columns: 130px 150px 1fr 1fr auto; }
#healthBtn { margin-bottom: 16px; }

@media (max-width: 860px) {
  .item-editor-gallery { grid-template-columns: 1fr; }
}

.reviews-section { background: #fffaf2; }
.tripadvisor-widget-card {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border: 1px solid rgba(122,31,43,.12);
  border-radius: 24px;
  box-shadow: 0 14px 42px rgba(0,0,0,.08);
  padding: 24px;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.tripadvisor-widget-card iframe,
.tripadvisor-widget-card .TA_cdsscrollingravenarrow { max-width: 100%; }
.social-links { margin: 6px 0 12px; }
.social-links p { margin-bottom: 7px; }
#tripadvisorWidgetHtml {
  width: 100%;
  min-height: 180px;
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
  font-size: 13px;
}
