* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #15202b;
  background: #f4f5f7;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #111827;
  color: #f9fafb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f9fafb;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.main-nav a {
  color: #e5e7eb;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.main-nav a:hover {
  background: rgba(249, 250, 251, 0.12);
}

.hero {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #f9fafb;
  padding: 4rem 0 3rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  background: #f59e0b;
  color: #111827;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: #d97706;
}

button.btn-primary {
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

.section {
  padding: 3rem 0;
  background: #ffffff;
}

.section.alt {
  background: #e5e7eb;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.section p {
  margin-top: 0;
  max-width: 720px;
  line-height: 1.6;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.card-list {
  display: grid;
  gap: 1rem;
}

.card {
  background: #f9fafb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.gallery-controls button {
  border: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

.gallery-controls button:hover {
  background: #e5e7eb;
}

.gallery-grid.gallery-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-grid.gallery-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-grid.gallery-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-grid.gallery-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
}

.gallery-item figcaption {
  padding: 1rem;
  text-align: center;
  font-weight: bold;
  color: #555;
  background: #fff;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

.simple-list {
  padding-left: 1.1rem;
}

.simple-list li + li {
  margin-top: 0.35rem;
}

/* Event list item with optional image */
.event-list-item {
  overflow: hidden;
}

.event-list-img {
  float: right;
  max-width: 150px;
  margin-left: 1rem;
  border-radius: 4px;
}

.clearfix::after {
  content: '';
  display: table;
  clear: both;
}

/* Special events grid */
.special-events-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.special-event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Honeypot field — hidden from real users */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.price-type-row td {
  padding-top: 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: underline;
  background: #f3f4f6;
}

.price-type-spacer td {
  border: none;
  height: 0.5rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  table-layout: fixed;
}

.price-table .col-product {
  width: 60%;
}

.price-table .col-serving {
  width: 20%;
}

.price-table .col-price {
  width: 20%;
}

.price-table th,
.price-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.price-table th {
  text-align: left;
  font-weight: 600;
  color: #374151;
  background: #f9fafb;
}

.price-col {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.booking-form {
  display: grid;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.booking-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-form-group label {
  font-weight: 600;
}

.booking-form-group input,
.booking-form-group textarea,
.booking-form-group select {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid #d1d5db;
  font: inherit;
  box-sizing: border-box;
}

.field-hint {
  font-size: 0.8rem;
  color: #6b7280;
}

.contact-placeholder {
  border-radius: 0.75rem;
  border: 2px dashed #9ca3af;
  padding: 1.5rem;
  color: #4b5563;
  text-align: center;
}

.contact-map {
  width: 100%;
  min-height: 260px;
  border: 0;
}

/* Content images managed from the admin Manage Page Content page */
.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-side-image {
  max-width: 180px;
  max-height: 180px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-below-image {
  max-width: 100%;
  max-height: 360px;
  margin: 0 auto 1.25rem;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.home-about-image {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 0.75rem;
  display: block;
}

.suite-image {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

.site-footer {
  background: #111827;
  color: #9ca3af;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 0.5rem;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 0.5rem 0.5rem;
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}
