/* =========================================================
   Live Oak Denison - shared stylesheet
   Theme: warm + visual, brand blue with cream/amber accents
   ========================================================= */

:root {
  --blue: #1a5da6;
  --blue-dark: #0d3f7a;
  --blue-soft: #e8f0f9;
  --ink: #2a3a4a;
  --ink-soft: #4a5e70;
  --muted: #6b8299;
  --cream: #faf6ef;
  --cream-deep: #f3ebdc;
  --amber: #b8864a;
  --amber-soft: #d9b97e;
  --line: #e6dfd2;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(42, 58, 74, 0.06);
  --shadow-md: 0 6px 24px rgba(42, 58, 74, 0.08);
  --shadow-lg: 0 16px 48px rgba(42, 58, 74, 0.12);
  --radius: 6px;
  --radius-lg: 12px;
  --max: 1200px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--blue-dark); }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.005em; }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0.02em; }

p { margin-bottom: 1rem; color: var(--ink-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 1.5rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.nav-brand-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.22em;
  margin-top: 2px;
}

/* Hero exterior photo (replaces placeholder) */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.nav-links a.nav-cta {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background: var(--blue);
  color: var(--white) !important;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: none !important;
  letter-spacing: 0.02em;
}

.nav-links a.nav-cta:hover { background: var(--blue-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--blue);
  cursor: pointer;
}

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

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-align: center;
  transition: all .25s ease;
  cursor: pointer;
  border: 1.5px solid var(--blue);
}

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }

.btn-secondary { background: transparent; color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: var(--white); }

.btn-cream { background: var(--cream); color: var(--blue); border-color: var(--cream-deep); }
.btn-cream:hover { background: var(--cream-deep); color: var(--blue-dark); }

/* ---------- Sections ---------- */

section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }
section.bg-cream { background: var(--cream); }
section.bg-blue-soft { background: var(--blue-soft); }
section.bg-ink {
  background: linear-gradient(135deg, #1a2a3a 0%, #0d3f7a 100%);
  color: var(--cream);
}
section.bg-ink h1, section.bg-ink h2, section.bg-ink h3 { color: var(--white); }
section.bg-ink p { color: rgba(255,255,255,0.8); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

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

.section-title h2 { margin-bottom: 0.75rem; }
.section-title p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

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

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(13,40,70,0.82) 0%, rgba(13,40,70,0.45) 55%, rgba(13,40,70,0.25) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  width: 100%;
}

.hero-content { max-width: 640px; }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 540px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero .eyebrow { color: var(--amber-soft); }

/* ---------- Page header (for interior pages) ---------- */

.page-header {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(135deg, var(--cream) 0%, var(--blue-soft) 100%);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-header .eyebrow { color: var(--amber); }
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
  color: var(--ink-soft);
}

/* ---------- Placeholder images ---------- */
/* These render a visible, labeled stand-in where a real photo goes. */

.ph {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(26, 93, 166, 0.08), rgba(184, 134, 74, 0.08)),
    repeating-linear-gradient(
      45deg,
      #e9e2d3 0 12px,
      #efe8d9 12px 24px
    );
  color: var(--ink-soft);
  font-family: var(--sans);
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px dashed #c9bea7;
}

.ph::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(26, 93, 166, 0.25);
  border-radius: 3px;
  pointer-events: none;
}

.ph-inner {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  max-width: 90%;
}

.ph-icon {
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.ph-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.ph-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Real photo inside a .ph aspect box */
.ph.has-photo { border: none; background: none; }
.ph.has-photo::before { display: none; }
.ph .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Clean "coming soon" placeholder (public-facing) */
.ph.ph-soon { background: var(--cream); border: 1px solid var(--line); }
.ph.ph-soon::before { display: none; }
.ph-soon-text {
  position: relative;
  z-index: 1;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Aspect-ratio helpers for placeholders */
.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-4x3  { aspect-ratio: 4 / 3; }
.ph-1x1  { aspect-ratio: 1 / 1; }
.ph-3x4  { aspect-ratio: 3 / 4; }
.ph-21x9 { aspect-ratio: 21 / 9; }

/* Hero placeholder (fills hero-bg) */
.ph-hero {
  width: 100%; height: 100%;
  border: none;
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(13, 63, 122, 0.5), rgba(26, 93, 166, 0.35)),
    repeating-linear-gradient(
      45deg,
      #2a4a72 0 14px,
      #32547d 14px 28px
    );
  color: rgba(255,255,255,0.85);
}

.ph-hero::before {
  inset: 20px;
  border-color: rgba(255, 255, 255, 0.2);
}

.ph-hero .ph-icon { color: var(--amber-soft); }
.ph-hero .ph-label { color: rgba(255,255,255,0.95); }
.ph-hero .ph-note { color: rgba(255,255,255,0.7); }

/* ---------- Layouts ---------- */

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

/* ---------- Cards ---------- */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card .ph { border-radius: 0; border: none; }

.card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 0.5rem;
  color: var(--blue);
}

.card-body p { font-size: 0.95rem; margin-bottom: 1rem; }

.card-body .btn-link {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-body .btn-link::after { content: "→"; transition: transform .25s ease; }
.card-body .btn-link:hover::after { transform: translateX(4px); }

/* Feature tile (no image, used for amenities etc.) */
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color .25s ease, transform .25s ease;
}

.tile:hover {
  border-color: var(--amber-soft);
  transform: translateY(-2px);
}

.tile-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--serif);
}

.tile h4 { margin-bottom: 0.5rem; color: var(--ink); }
.tile p { font-size: 0.93rem; margin: 0; }

/* ---------- Quote / Testimonial ---------- */

.quote {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  padding: 1rem;
}

.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 93, 166, 0.12);
}

.field textarea { min-height: 130px; resize: vertical; }

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

.site-footer {
  background: #10222f;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 1.5rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: var(--white);
  font-family: var(--serif);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
}

.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; max-width: 320px; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a {
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}
.site-footer a:hover { color: var(--amber-soft); }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* ---------- Utilities ---------- */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }

.list-check {
  list-style: none;
  padding: 0;
}
.list-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--amber);
  font-weight: 600;
}

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

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 720px) {
  section { padding: 3.5rem 0; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-legal { flex-direction: column; }
  .hero { min-height: 60vh; }
  .hero-inner { padding: 4rem 1.5rem; }
}
