/* ============================================
   The Lodge at Bay View — shared stylesheet
   ============================================ */

:root {
  --navy: #123a5c;
  --navy-dark: #0a2439;
  --sand: #eaf3fa;
  --sand-light: #f7fbfd;
  --accent: #2f7fb0;
  --accent-dark: #1f5c85;
  --ink: #1f2d36;
  --muted: #5c6b76;
  --white: #ffffff;
  --border: #d7e6ef;
  --shadow: 0 10px 30px rgba(10, 36, 57, 0.08);
  --radius: 10px;
  --max-width: 1120px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand-light);
  line-height: 1.6;
}

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

a { color: inherit; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 0.6em;
  display: inline-block;
}

.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.98rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--sand-light);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.logo img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-main {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--navy-dark);
  font-size: 0.96rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active { border-color: var(--accent); }

.nav-cta { display: none; }
@media (min-width: 780px) {
  .nav-cta { display: inline-block; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  margin: 5px 0;
}

@media (max-width: 779px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sand-light);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 7px 24px;
    width: 100%;
    border-bottom: none;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: var(--sand);
    border-color: transparent;
  }
  .nav-toggle { display: block; }
}

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

.hero {
  position: relative;
  background: var(--navy-dark);
  color: var(--white);
  overflow: hidden;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(76,163,217,0.30), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.10), transparent 50%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(10,36,57,0.82) 0%, rgba(10,36,57,0.45) 55%, rgba(10,36,57,0.78) 100%),
    url('../images/view-from-lodge.jpg') center 62% / cover no-repeat;
}

.hero-inner {
  position: relative;
  padding: 110px 0 90px;
  max-width: 720px;
}

.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
}

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

.placeholder-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px dashed rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 999px;
  margin-top: 1.2rem;
  letter-spacing: 0.03em;
}

/* ---------- Page header (non-home) ---------- */

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
}
.page-hero p { color: rgba(255,255,255,0.8); max-width: 640px; }

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

section { padding: 80px 0; }
.section-alt { background: var(--sand); }

.section-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.card-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #dceaf4, #b7d4e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-dark);
  font-size: 0.8rem;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 0.4em; }
.card-body p { flex: 1; }

.feature {
  text-align: center;
  padding: 1.5rem;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  font-size: 1.5rem;
}

/* ---------- Quote / testimonial ---------- */

.quote-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin: 0 0 1rem;
  font-style: italic;
}
.quote-block cite {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); }

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

.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-grid h4 { color: var(--white); font-size: 1rem; margin-bottom: 0.8em; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.65); font-size: 0.92rem; }
.footer-grid a { text-decoration: none; display: block; margin-bottom: 0.5em; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.2rem;
}

.form-row { margin-bottom: 1.3rem; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
@media (max-width: 600px) {
  .form-row-2 { grid-template-columns: 1fr; }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4em;
  color: var(--navy-dark);
}

input, select, textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.96rem;
  background: var(--sand-light);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-list li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
}
.info-list strong { color: var(--navy-dark); display: block; }

/* ---------- Build note banner (remove before launch) ---------- */

.build-note {
  background: #fff4e5;
  border-bottom: 1px solid #f0dcb0;
  color: #6b4a12;
  font-size: 0.85rem;
  text-align: center;
  padding: 8px 16px;
}
.build-note strong { color: #4a3208; }
