:root {
  --brand: #3b5c8a;
  --brand-dark: #2c456a;
  --brand-light: #5680b9;
  --brand-bg: #e8f0f8;
  --muted: #92908a;
  --text: #1a1a1a;
  --text-dim: #555;
  --bg: #ffffff;
  --border: #e2e6ec;
  --max-content: 1200px;
  --header-h: 60px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--brand-light);
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand-script {
  font-family: 'Sacramento', cursive;
  color: var(--brand);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ========== Site Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-family: 'Sacramento', cursive;
  font-size: 1.6rem;
  color: var(--brand);
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
  font-size: 1.4rem;
  width: 40px;
  height: 36px;
  cursor: pointer;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.site-nav a {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  text-decoration: none;
}

.site-nav a.active {
  font-weight: 700;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav a {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav a:last-child { border-bottom: none; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 3rem 1.25rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.hero h1, .hero h2 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero .brand-script {
  color: #fff;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero .tagline {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}

.hero-tall {
  min-height: 520px;
}

.hero-short {
  min-height: 220px;
}

.hero-flat {
  background-color: var(--brand);
  color: #fff;
  padding: 2rem 1.25rem;
  text-align: center;
}

.hero-flat h1, .hero-flat .brand-script {
  color: #fff;
  margin: 0;
}

/* ========== Sections ========== */
section {
  padding: 3rem 0;
}

.section-tight { padding: 2rem 0; }
.section-wide { padding: 4rem 0; }

.section-blue { background: var(--brand); color: #fff; }
.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4 { color: #fff; }
.section-blue a { color: #fff; text-decoration: underline; }

.section-soft { background: var(--brand-bg); }

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin-bottom: 0.4rem;
}

.section-title p {
  color: var(--text-dim);
  margin: 0;
}

/* ========== Info Card Row (home) ========== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  text-align: center;
}

.info-card {
  padding: 1.25rem 1rem;
}

.info-card-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto 0.5rem;
  color: var(--brand);
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--brand);
  font-family: 'Barlow', sans-serif;
}

.info-card p, .info-card a {
  margin: 0.15rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.info-card a { color: var(--brand); }

/* ========== Forms ========== */
.contact-section {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.contact-section.on-image {
  /* used when sitting on a hero image background */
  background: rgba(255, 255, 255, 0.97);
}

/* Reset white-on-image text styles when inside a contact-section */
.hero .contact-section h1,
.hero .contact-section h2,
.hero .contact-section h3,
.hero .contact-section .brand-script {
  color: var(--brand);
  text-shadow: none;
}

.hero .contact-section p {
  color: var(--text);
  text-shadow: none;
}

.section-blue .contact-section h1,
.section-blue .contact-section h2,
.section-blue .contact-section h3,
.section-blue .contact-section .brand-script {
  color: var(--brand);
}

.section-blue .contact-section p {
  color: var(--text);
}

.section-blue .contact-section a {
  color: var(--brand);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.contact-form .required::after {
  content: " *";
  color: #c0392b;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(59, 92, 138, 0.15);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.btn,
.contact-form button {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.7rem 1.4rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn:hover,
.contact-form button:hover {
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

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

.btn-light,
a.btn-light,
.section-blue .btn-light,
.attraction-blue a.btn-light {
  background: #fff;
  color: var(--brand);
  text-decoration: none;
}

.btn-light:hover,
a.btn-light:hover,
.attraction-blue a.btn-light:hover {
  background: var(--brand-bg);
  color: var(--brand);
}

.form-feedback {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  display: none;
}

.form-feedback.success {
  display: block;
  background: #e6f4ea;
  color: #1e7c43;
  border: 1px solid #a8d9b9;
}

.form-feedback.error {
  display: block;
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f4b4ae;
}

/* ========== Cards (Links + Things to Do) ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.simple-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.simple-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.simple-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* ========== Things to Do ========== */
.attraction {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.attraction.reverse .attraction-image { order: 2; }

.attraction-text {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.attraction-image {
  background-size: cover;
  background-position: center;
  min-height: 280px;
}

.attraction-blue { background: var(--brand); color: #fff; }
.attraction-blue h2, .attraction-blue h3 { color: #fff; }
.attraction-blue a { color: #fff; }

.attraction-soft { background: #d8e9d8; }

@media (max-width: 720px) {
  .attraction { grid-template-columns: 1fr; }
  .attraction.reverse .attraction-image { order: 0; }
}

/* ========== Reviews ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow);
}

.review-icon {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.review-card h3 {
  font-size: 1.05rem;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.review-meta {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.review-text {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.review-source {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* ========== Amenities ========== */
.amenity-list {
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
  font-family: 'Montserrat', sans-serif;
}

.amenity-list li {
  padding: 0.4rem 0;
  font-size: 1rem;
  color: var(--text);
}

.amenity-list li.amenity-emphasis {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--brand);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ========== Gallery ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

.gallery-thumb {
  position: relative;
  display: block;
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-thumb:hover img {
  transform: scale(1.04);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.lightbox-controls {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.lightbox-btn:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, 0.3); }

.lightbox-counter {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

/* ========== Map ========== */
.map-embed {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 6px;
  display: block;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--brand-bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0 1.5rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: var(--brand);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.social-row a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.2s, color 0.2s;
}

.social-row a:hover {
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}

.social-row svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-credit {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0;
}

.footer-credit small { font-size: 0.8rem; }

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus { top: 0; color: #fff; }
