/* ==========================================================================
   Hartwell Shoreside Weddings & Getaways
   Shared stylesheet
   ========================================================================== */

:root {
  --color-deep: #2f4858;      /* deep lake teal */
  --color-mid: #4c7a83;       /* mid teal */
  --color-sage: #8a9a5b;      /* sage green */
  --color-cream: #f9f5ec;     /* warm cream background */
  --color-cream-dark: #f1e9d8;
  --color-gold: #c9974c;      /* warm accent */
  --color-ink: #24302f;       /* body text */
  --color-white: #ffffff;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(47, 72, 88, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  font-size: 17px;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1em; }

a { color: var(--color-mid); text-decoration: none; }
a:hover { color: var(--color-gold); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

img, .img-placeholder { display: block; width: 100%; }

/* ---- Placeholder image blocks (swap with real photos) ---- */
.img-placeholder {
  background: repeating-linear-gradient(
    45deg, #e4dcc8, #e4dcc8 12px, #efe8d8 12px, #efe8d8 24px
  );
  border: 1px dashed #c8b98f;
  color: #7a6f56;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius);
  min-height: 220px;
}

.tbd {
  background: #fff6d8;
  border-left: 3px solid var(--color-gold);
  padding: 2px 8px;
  font-style: italic;
}

/* ---- Header / nav ---- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 245, 236, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e6dcc4;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-deep);
  letter-spacing: 0.02em;
}
.brand span { color: var(--color-gold); }

nav.primary-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav.primary-nav a {
  color: var(--color-deep);
  font-weight: 500;
  font-size: 0.98rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--color-deep);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 1.1rem;
  color: var(--color-deep);
  cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--color-deep);
  color: var(--color-white) !important;
}
.btn-primary:hover { background: var(--color-mid); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--color-deep);
  color: var(--color-deep) !important;
}
.btn-outline:hover { background: var(--color-deep); color: var(--color-white) !important; }

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white) !important;
}
.btn-gold:hover { background: #b3843f; transform: translateY(-1px); }

/* ---- Hero ---- */
.hero {
  padding: 90px 24px 70px;
  text-align: center;
  background: linear-gradient(180deg, var(--color-cream-dark), var(--color-cream));
}
.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--color-sage);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 { max-width: 780px; margin: 0 auto 18px; }
.hero .tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--color-mid);
  max-width: 620px;
  margin: 0 auto 26px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }
.hero .img-placeholder { max-width: 900px; margin: 0 auto; min-height: 420px; border-radius: var(--radius); }
.hero .hero-img {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
  max-height: 560px;
  object-fit: cover;
}

.gallery-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}

.figure-caption {
  text-align: center;
  font-size: 0.82rem;
  color: #6b7a78;
  margin-top: 8px;
}

/* ---- Sections ---- */
section { padding: 72px 0; }
.section-alt { background: var(--color-white); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head .eyebrow {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem;
  color: var(--color-sage); font-weight: 600; margin-bottom: 10px;
}

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

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card .icon { font-size: 1.8rem; margin-bottom: 14px; display: block; }

/* ---- Package cards ---- */
.package-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--color-sage);
}
.package-card.deluxe { border-top-color: var(--color-gold); }
.package-card .price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  color: var(--color-deep);
  margin: 8px 0 4px;
}
.package-card .price small { font-size: 1rem; font-family: var(--font-body); color: #6b7a78; }
.package-card ul { padding-left: 20px; margin: 22px 0; }
.package-card li { margin-bottom: 10px; }

table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
table.compare th, table.compare td {
  padding: 16px 20px;
  border-bottom: 1px solid #eee3c9;
  text-align: left;
}
table.compare th { background: var(--color-deep); color: var(--color-white); font-family: var(--font-head); }
table.compare tr:last-child td { border-bottom: none; }

.policy-list { list-style: none; padding: 0; margin: 0; }
.policy-list li {
  padding: 18px 0;
  border-bottom: 1px solid #eee3c9;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
}
.policy-list strong { color: var(--color-deep); }

/* ---- Steps ---- */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  align-items: flex-start;
}
.step .num {
  counter-increment: step;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--color-white);
  background: var(--color-deep);
  min-width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- FAQ ---- */
.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 20px 26px;
  color: var(--color-deep);
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 26px;
  top: 18px;
  font-size: 1.4rem;
  color: var(--color-gold);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 26px 22px; color: var(--color-ink); }

.faq-cat { margin: 44px 0 18px; color: var(--color-sage); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; font-weight: 700; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--color-deep);
  color: var(--color-white);
  text-align: center;
  padding: 70px 24px;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: #d8e2e2; max-width: 560px; margin: 0 auto 28px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info li { margin-bottom: 18px; list-style: none; }
.contact-info { padding: 0; }
.contact-info .label { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; color: var(--color-sage); font-weight: 700; }

form.inquiry-form { display: flex; flex-direction: column; gap: 16px; }
form.inquiry-form label { font-weight: 600; font-size: 0.9rem; color: var(--color-deep); }
form.inquiry-form input, form.inquiry-form select, form.inquiry-form textarea {
  padding: 12px 14px;
  border: 1px solid #d9cead;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-white);
}
form.inquiry-form textarea { min-height: 120px; resize: vertical; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 0; width: 100%; height: 320px; }

/* ---- Footer ---- */
footer.site-footer {
  background: #223338;
  color: #cdd9d6;
  padding: 56px 24px 28px;
}
footer.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto 32px;
}
footer.site-footer h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 14px; }
footer.site-footer a { color: #cdd9d6; }
footer.site-footer a:hover { color: var(--color-gold); }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid #35474b;
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 22px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #93a3a0;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  footer.site-footer .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  nav.primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid #e6dcc4;
    padding: 10px 24px 20px;
  }
  nav.primary-nav.open { display: block; }
  nav.primary-nav ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  header.site-header { position: relative; }
  .policy-list li { grid-template-columns: 1fr; }
}
