/* ==========================================================================
   Matthews Beach Lakeview Home — SeattleLakeview.com
   Version 0.1 — mobile-first, no build system, no dependencies
   ========================================================================== */

:root {
  --color-bg: #faf6f0;
  --color-bg-card: #ffffff;
  --color-text: #2b2620;
  --color-text-muted: #5c5347;
  --color-border: #e7ddce;
  --color-accent: #253350;      
  --color-accent-dark: #2c5346;

  --color-orange: #c1591f;
  --color-blue: #2f6fa8;
  --color-pink: #b8447c;
  --color-purple: #5f4392;

  --font-heading: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 4.5rem;
}

/* ---- Reset / base ---------------------------------------------------- */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent-dark);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 var(--space-xs);
}

h1, h2 {
  color: #253350;
}

p {
  margin: 0 0 var(--space-sm);
}

ul {
  margin: 0;
  padding: 0;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent-dark);
  outline-offset: 2px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

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

.hero-image-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (min-width: 700px) {
  .hero-image-frame {
    /* Matches the source image's own crop (2560x1524) so it displays
       full-bleed with no additional cropping on desktop. */
    aspect-ratio: 2560 / 1524;
  }
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-top {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-md);
  text-align: center;
}

.hero-top h1 {
  font-size: 2rem;
}

.hero-location {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.hero-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.hero-bottom {
  padding-top: var(--space-md);
  padding-bottom: calc(var(--space-lg) / 2);
  text-align: center;
}

/* Scoped to this one heading so 1-/2-Bedroom Suites headings keep
   their normal spacing above their suite cards. */
.hero-bottom .suite-group-heading {
  margin-bottom: calc(var(--space-lg) / 2);
}

.hero-suite-count {
  max-width: 640px;
  margin: 0 auto;
  font-weight: 600;
  color: var(--color-accent-dark);
}

@media (min-width: 700px) {
  .hero-top h1 {
    font-size: 2.75rem;
  }

  .hero-intro {
    /* Narrower than the mobile 640px cap so the last line always
       carries more than one word. */
    max-width: 520px;
  }
}

/* ---- Suite group sections ---------------------------------------------- */

.suite-group {
  padding: var(--space-lg) 0;
}

/* Halved just for the section right after the hero, to close up the
   gap after "Choose from..." without affecting the 2-Bedroom section. */
#one-bedroom {
  padding-top: calc(var(--space-lg) / 2);
}

.suite-group-heading {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.suite-group + .suite-group {
  border-top: 1px solid var(--color-border);
}

/* ---- Suite card ---------------------------------------------------------- */

.suite {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-lg);
}

.suite:last-child {
  margin-bottom: 0;
}

/* Bento gallery: mobile default = lead full width, 4 supporting in a 2x2 grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  background: var(--color-border);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lead {
  grid-column: 1 / 3;
  aspect-ratio: 3 / 2;
}

.gallery-supporting {
  aspect-ratio: 1 / 1;
}

@media (min-width: 800px) {
  .gallery {
    /* Lead column width = combined width of the two right columns.
       With two equal-height rows, that makes every tile (lead and
       supporting) come out at the same aspect ratio, matching the
       real Airbnb gallery grid. */
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    aspect-ratio: 2.5 / 1;
  }

  .gallery-lead {
    grid-column: 1;
    grid-row: 1 / 3;
    aspect-ratio: auto;
  }

  .gallery-supporting {
    aspect-ratio: auto;
  }
}

.suite-body {
  padding: var(--space-md);
}

.suite-heading-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: 0.15rem;
}

.suite-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.suite-name {
  font-size: 1.5rem;
  margin: 0;
}

.suite-subtitle {
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.suite-stats {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.suite-description {
  margin-bottom: var(--space-sm);
}

.suite-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: var(--space-md);
}

.suite-highlights li {
  font-size: 0.95rem;
  padding-left: 1.1rem;
  position: relative;
}

.suite-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--suite-accent, var(--color-accent));
  font-weight: 700;
}

.btn-book {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  min-height: 44px;
  border-radius: 999px;
  background: var(--suite-accent, var(--color-accent));
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.btn-book:hover {
  filter: brightness(0.9);
}

.btn-book:active {
  transform: translateY(1px);
}

/* Per-suite accent colors */
.suite--orange-poppy { --suite-accent: var(--color-orange); }
.suite--blue-glass { --suite-accent: var(--color-blue); }
.suite--pink-peony { --suite-accent: var(--color-pink); }
.suite--purple-iris { --suite-accent: var(--color-purple); }

.suite--orange-poppy .suite-name,
.suite--blue-glass .suite-name,
.suite--pink-peony .suite-name,
.suite--purple-iris .suite-name {
  color: var(--suite-accent);
}

/* ---- Returning guest / contact ------------------------------------------ */

.contact {
  padding: var(--space-xl) 0;
  text-align: center;
  background: #334770;
  color: #fff;
}

.contact h2 {
  font-size: 1.75rem;
  color: #fff;
}

.contact p {
  font-size: 1.05rem;
}

.contact-phone {
  display: inline-block;
  margin-top: var(--space-xs);
  padding: 0.85rem 1.75rem;
  min-height: 44px;
  border-radius: 999px;
  background: #fff;
  color: #253350;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.contact-site {
  margin-top: var(--space-md);
  opacity: 0.9;
  font-size: 0.95rem;
}

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

.site-footer {
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
