/* ==========================================================================
   Hideaway on the Rock — Reference Build Stylesheet
   Every rule below maps to a single, simple "block" so this can be
   recreated with basic drag-and-drop builder sections (see build notes).
   ========================================================================== */

:root {
  --color-navy: #1b3a4b;
  --color-teal: #2c7a7b;
  --color-teal-dark: #1f5657;
  --color-sand: #f6f1e7;
  --color-white: #ffffff;
  --color-text: #2c2c2c;
  --color-muted: #6b6b6b;
  --color-border: #e2ddd0;
  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.25;
  margin-top: 0;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--color-teal); }

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

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

/* ---------- Header / Nav ---------- */

.site-header {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-navy);
  text-decoration: none;
  display: inline-block;
}

.site-logo img {
  display: block;
  height: 96px;
  width: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover { color: var(--color-teal); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-teal);
  color: var(--color-white) !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn:hover { background: var(--color-teal-dark); }

.btn-large { padding: 18px 44px; font-size: 1.1rem; }

.btn-row { text-align: center; margin: 28px 0; }

/* ---------- Hero Block ---------- */

.hero {
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  padding: 90px 0 70px;
  text-align: center;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 640px;
  margin: 0 auto 30px;
  color: #dce8ea;
}

/* ---------- Section spacing ---------- */

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--color-sand);
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title p.subtitle {
  color: var(--color-muted);
  max-width: 640px;
  margin: 10px auto 0;
}

/* ---------- Highlight / Stat Row (icon + text style) ---------- */

.highlight-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  text-align: center;
  padding: 40px 0;
}

.highlight-item {
  flex: 1 1 140px;
  max-width: 180px;
}

.highlight-item .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.highlight-item .label {
  font-weight: 700;
  color: var(--color-navy);
}

/* ---------- Stat Block (large numbers) ---------- */

.stat-block {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  text-align: center;
  padding: 30px 0;
}

.stat-block .stat-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--color-teal);
  font-weight: bold;
  display: block;
}

.stat-block .stat-label {
  font-size: 1rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Text Block ---------- */

.text-block {
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Text + Image Side-by-Side ---------- */

.text-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 0;
}

.text-image.reverse {
  flex-direction: row-reverse;
}

.text-image .text-col,
.text-image .image-col {
  flex: 1 1 380px;
}

/* ---------- Image Placeholder ---------- */

.img-placeholder {
  background: #dfe7e6;
  border: 2px dashed #a9bdbc;
  color: #4a5b5a;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  padding: 20px;
  min-height: 220px;
  border-radius: 4px;
}

.img-placeholder .ph-label {
  max-width: 260px;
}

.img-placeholder .ph-tag {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.img-placeholder.ratio-wide { min-height: 320px; }
.img-placeholder.ratio-square { min-height: 260px; }

/* ---------- Real Photo Frame (same footprint as placeholder) ---------- */

.photo {
  border-radius: 4px;
  overflow: hidden;
  min-height: 220px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo.ratio-wide { min-height: 320px; }
.photo.ratio-square { min-height: 260px; }

figure { margin: 0; }

figure a { text-decoration: none; }

figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 8px;
}

/* ---------- Photo Teaser / Gallery Grid ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-category {
  margin-bottom: 50px;
}

.gallery-category h2 {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 8px;
}

/* ---------- Callout Block (visually distinct) ---------- */

.callout {
  background: var(--color-sand);
  border: 1px solid var(--color-border);
  border-left: 6px solid var(--color-teal);
  border-radius: 6px;
  padding: 32px;
  margin: 40px 0;
}

.callout h2 {
  margin-bottom: 18px;
}

.callout ul {
  margin: 0;
  padding-left: 22px;
}

.callout li {
  margin-bottom: 10px;
  font-weight: 600;
}

/* ---------- Amenities Groups ---------- */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 20px;
}

.amenity-group h3 {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.amenity-group ul {
  margin: 0;
  padding-left: 20px;
}

.amenity-group li {
  margin-bottom: 6px;
}

/* ---------- Sleeping Arrangement Cards ---------- */

.bedroom-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
}

.bedroom-card {
  flex: 1 1 260px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

.bedroom-card h3 { margin-bottom: 6px; }

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 22px 0;
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--color-navy);
}

.faq-item p { margin: 0; color: var(--color-text); }

/* ---------- Contact Info ---------- */

.contact-info {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 20px;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--color-navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #cfe0e2;
  padding: 50px 0 30px;
  text-align: center;
}

.site-footer h2 {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.site-footer .footer-location {
  margin-bottom: 22px;
  color: #a8c0c2;
}

.site-footer .footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 26px 0 18px;
}

.site-footer .footer-nav a {
  color: #cfe0e2;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer .footer-nav a:hover { color: var(--color-white); }

.site-footer .footer-copy {
  font-size: 0.8rem;
  color: #7fa0a2;
  margin-top: 10px;
}

/* ---------- Nearby Places List ---------- */

.nearby-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  text-align: left;
}

.nearby-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.nearby-list li:last-child { border-bottom: none; }

.nearby-list .place-name {
  font-weight: 700;
  color: var(--color-navy);
}

.nearby-list .place-distance {
  font-weight: 600;
  color: var(--color-teal);
}

/* ---------- Map ---------- */

.map-frame {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: 1fr; }
  .text-image, .text-image.reverse { flex-direction: column; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 500px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 50px; }
  .highlight-row { gap: 18px; }
  .highlight-item { flex: 1 1 100px; }
}
