:root {
  --color-text: #1b1b1b;
  --color-muted: #737373;
  --color-border: #1b1b1b;
  --color-underline: #737373;
  --color-bg: #ffffff;
  --color-cookie-bg: #edf2f2;
  --font-heading: 'Work Sans', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--color-bg);
  padding: 12px 56px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 2px;
  color: var(--color-text);
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 600px) {
  .site-header { padding: 10px 20px; }
  .logo { font-size: 26px; letter-spacing: 1.5px; }
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 918;
  overflow: hidden;
  background: #cfcfcf;
}

.hero video,
.hero .hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 100%;
  padding: 0 56px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: 4px;
  color: #000;
  max-width: 820px;
  margin: 0;
}

@media (max-width: 900px) {
  .hero { aspect-ratio: 390 / 600; }
  .hero-content { padding: 0 20px; bottom: 6%; }
  .hero-headline { font-size: 28px; letter-spacing: 2px; max-width: 100%; }
}

/* Sections */
.section {
  padding: 80px 24px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 2px;
  margin: 0 0 24px;
  color: var(--color-text);
}

.section-desc {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .section { padding: 48px 20px; }
  .section-title { font-size: 26px; }
}

/* Section immediately following another section needs less top padding,
   since the previous section already contributes bottom padding - avoids
   doubled-up vertical gaps at section boundaries. */
.section + .section {
  padding-top: 40px;
}

@media (max-width: 600px) {
  .section + .section { padding-top: 24px; }
}

/* Gallery */
.gallery {
  max-width: 1176px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: pointer;
}

.gallery img:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); margin-top: 28px; gap: 10px; }
}

/* The gallery is the last thing in its section - reduce that section's own
   bottom padding so it doesn't stack on top of the next section's top padding. */
.section-gallery-wrap {
  padding-bottom: 40px;
}

@media (max-width: 600px) {
  .section-gallery-wrap { padding-bottom: 24px; }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 48px;
  padding: 8px 40px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.btn:hover {
  background: var(--color-text);
  color: #fff;
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: left;
}

.contact-form .form-row {
  margin-top: 16px;
}

.contact-form .field textarea {
  resize: vertical;
}

.form-row {
  max-width: 600px;
  margin: 32px auto 0;
  display: flex;
  gap: 16px;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
}

.field {
  flex: 1 1 260px;
  text-align: left;
  position: relative;
}

.field label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.field input,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--color-underline);
  background: transparent;
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--color-text);
  padding: 8px 0;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--color-text);
}

@media (max-width: 600px) {
  .form-row { flex-direction: column; align-items: stretch; }
  .form-row .field { flex: 0 0 auto; }
}

/* Contact info block */
.contact-info {
  margin-top: 56px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 2px;
  margin: 0 0 16px;
}

.contact-info p {
  margin: 8px 0;
  font-size: 16px;
}

.contact-info a { text-decoration: underline; }

/* Hours widget */
.hours-widget {
  max-width: 400px;
  margin: 32px auto 0;
}

.hours-toggle {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hours-toggle .chevron {
  transition: transform .2s ease;
}

.hours-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: none;
}

.hours-list.open { display: block; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 16px;
}

.hours-list .day { font-weight: 600; }
.hours-list .time { color: var(--color-muted); }

/* Legal page content */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.legal-content p { font-size: 16px; line-height: 1.6; margin: 0 0 20px; }
.legal-content h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 30px;
  letter-spacing: 2px;
  text-align: center;
  margin: 64px 0 32px;
}
.legal-content h3:first-child { margin-top: 0; }

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 40px 56px;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: left;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-copyright {
  font-size: 16px;
  color: var(--color-text);
}

.footer-nav {
  margin: 40px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  max-width: var(--max-width);
}

.footer-nav a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--color-text);
}

.footer-nav a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .site-footer { padding: 32px 20px; }
  .footer-top { flex-direction: column; text-align: center; }
  .footer-nav { gap: 10px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  background: var(--color-cookie-bg);
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  z-index: 1000;
}

.cookie-banner h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 12px;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.cookie-banner .btn {
  width: 100%;
  text-align: center;
  padding: 10px 24px;
  font-size: 16px;
}

@media (max-width: 600px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

.hidden { display: none !important; }

body.no-scroll { overflow: hidden; }

/* Lightbox (gallery viewer) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox-image {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  user-select: none;
}

.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

@media (max-width: 600px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 10px; right: 10px; }
  .lightbox-counter { top: 14px; left: 14px; font-size: 13px; }
}

/* Chat bubble */
.chat-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f5f5f3;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, bottom .2s ease;
}

.chat-bubble:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

.chat-bubble svg {
  width: 26px;
  height: 26px;
}

@media (max-width: 600px) {
  .chat-bubble { right: 16px; }
}

/* Chat modal (shares .contact-form styling) */
.chat-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.chat-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.chat-modal-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chat-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-modal-card .contact-form {
  margin-top: 8px;
}

@media (max-width: 600px) {
  .chat-modal-card { padding: 28px 20px; }
}
