/* Shared design system for Derby Haven guest-house sites (Studio, Harbour House).
   Kept deliberately simple and dependency-free so it can be copied wholesale
   when the next property gets cloned from one of these two. */

:root {
  --ink: #17324a;
  --ink-soft: #3d5670;
  --accent: #0b6e99;
  --paper: #fbfaf7;
  --paper-raised: #ffffff;
  --line: #e3ddd0;
  --max-width: 760px;
}

* { box-sizing: border-box; }

/* ElevenLabs voice widget: shrink the opened conversation panel from its
   400x600 default. variant="compact" on the element (in the HTML) handles
   the idle/launcher size; these vars control the panel once it's open. */
elevenlabs-convai {
  --elevenlabs-convai-widget-width: 300px;
  --elevenlabs-convai-widget-height: 420px;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a { color: var(--accent); }
a:hover { color: var(--ink); }

.hero-video-btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.hero-video-btn:hover {
  background: #ffffff;
  color: var(--accent);
}
.hero-video-btn svg { flex: 0 0 auto; }

.hero-qr-btn {
  position: absolute;
  right: 16px;
  top: 16px;
  display: block;
  padding: 4px;
  background: transparent;
  border-radius: 8px;
  line-height: 0;
}
.hero-qr-btn img {
  display: block;
  width: 130px !important;
  height: 130px !important;
  opacity: 0.55; /* tune this: lower blends more into the sky, higher scans more reliably */
}
.hero-qr-btn:hover img { opacity: 0.9; }

.hero {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  height: 220px;
  margin: 0 auto;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  justify-content: center;
  padding: 0.9rem 1rem;
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
nav.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink-soft);
}
nav.site-nav a.active,
nav.site-nav a:hover { color: var(--accent); }
nav.site-nav a.nav-icon {
  display: inline-flex;
  align-items: center;
}
nav.site-nav a.nav-icon img {
  display: block;
  height: 22px;
  width: auto;
}
/* Calendar's thin outline art reads visually smaller than the Airbnb
   badge's solid fill at the same pixel height, so give it a bit more. */
nav.site-nav a.nav-icon img.icon-calendar {
  height: 28px;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

p.lead {
  font-size: 1.15rem;
  color: var(--ink);
}

p.features {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.link-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.link-row:last-child { border-bottom: none; }
.link-row img {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.link-row .text { font-size: 1rem; }

.icon-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0.6rem 0 1.4rem;
}
.icon-nav a img { height: 44px; width: auto; display: block; }

.badges {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0 1.2rem;
}
.badges img { height: 50px; width: auto; }

footer {
  text-align: center;
  padding: 1.5rem 1rem 2.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Guestbook */
.entry {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.entry:last-child { border-bottom: none; }
.entry h3 { margin: 0 0 0.15rem; font-size: 1.05rem; }
.entry .meta { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.entry .label { font-weight: 600; font-size: 0.9rem; margin: 0.5rem 0 0.15rem; }
.entry .value { margin: 0 0 0.4rem; }

/* Featured / things to do */
.feature-list { display: flex; flex-direction: column; }
