/*
Theme Name: Warrina Retirement Village
Theme URI: https://warrinaretirementvillage.com.au/
Author: Warrina Care
Description: Custom multi-page staging theme for Warrina Retirement Village, based on the approved Warrina Home Care visual system.
Version: 1.0.0
Text Domain: warrina-village
*/

/* WordPress and multi-page refinements layered over assets/site.css. */
body,
button,
input,
select,
textarea,
h1,
h2,
h3,
.brand strong {
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
}

body { font-size: 17px; }
h1, h2, h3, .brand strong { letter-spacing: -.04em; }
.preview-ribbon a { text-decoration: underline; text-underline-offset: 3px; }
.primary-nav > a[aria-current="page"]::after { right: 0 !important; }
.primary-nav > a[aria-current="page"] { color: var(--teal); }

.inner-hero {
  position: relative;
  min-height: 500px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink-deep);
  background: var(--cream);
}
.inner-hero > img,
.inner-hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.inner-hero > img { object-fit: cover; object-position: center; }
.inner-hero::after { content: ""; background: linear-gradient(90deg, rgba(250,246,237,.98), rgba(250,246,237,.86) 44%, rgba(250,246,237,.22)); }
.inner-hero .shell { position: relative; z-index: 1; padding-block: 100px 75px; }
.inner-hero h1 { max-width: 820px; }
.inner-hero p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: #345b61; font-size: 1.22rem; }

.teaser-actions { margin-top: 36px; }
.page-intro { max-width: 820px; }
.page-intro > p:not(.eyebrow) { color: #4c6c70; font-size: 1.14rem; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-card { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.content-card h3 { margin-bottom: 14px; }
.content-card p { color: #4c6c70; }

.gallery-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-page-grid figure { min-height: 330px; margin: 0; overflow: hidden; border-radius: 24px; background: var(--mint); }
.gallery-page-grid figure:nth-child(1), .gallery-page-grid figure:nth-child(6) { grid-column: span 2; }
.gallery-page-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-page-grid figure:hover img { transform: scale(1.045); }

.unit-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: start; }
.unit-layout figure { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.unit-layout figure img { width: 100%; min-height: 480px; object-fit: cover; }
.unit-summary { padding: 38px; border-radius: var(--radius); background: var(--mint); }
.unit-summary .price { font-size: 2rem; }
.unit-features { display: grid; gap: 0; padding: 0; margin: 28px 0; list-style: none; border-top: 1px solid var(--line); }
.unit-features li { padding: 15px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

.page-cta { padding-block: 80px; color: white; background: var(--teal); }
.page-cta .shell { display: flex; justify-content: space-between; align-items: center; gap: 34px; }
.page-cta h2 { max-width: 760px; font-size: clamp(2.25rem, 4vw, 4rem); }

.contact-page .contact-section { margin-top: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .content-grid, .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-page-grid figure:nth-child(1), .gallery-page-grid figure:nth-child(6) { grid-column: auto; }
  .unit-layout { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .inner-hero { min-height: 570px; }
  .inner-hero::after { background: linear-gradient(180deg, rgba(250,246,237,.18), rgba(250,246,237,.92) 53%, var(--cream)); }
  .inner-hero .shell { padding-block: 260px 58px; }
  .inner-hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .inner-hero p:not(.eyebrow) { font-size: 1.13rem; }
  .content-grid, .gallery-page-grid { grid-template-columns: 1fr; }
  .gallery-page-grid figure { min-height: 290px; }
  .unit-layout figure img { min-height: 340px; }
  .page-cta .shell { display: grid; }
}
