/* ============================================
   Willowmere at Smith Lake — Guest Info Site
   Color palette derived from the logo:
     Navy:    #1a2744 (dark), #2c3e6b (mid), #4a6491 (light)
     Cream:   #faf8f4 (bg), #f0ebe0 (card), #e6dfd3 (border)
     Gold:    #c9a94e (accent), #b8942e (hover)
     Text:    #3a3530 (body), #1a2744 (headings)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background-color: #faf8f4;
  color: #3a3530;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  color: #1a2744;
  font-weight: 400;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; margin-bottom: 0.5em; }
h2 { font-size: 1.8rem; margin-bottom: 0.4em; }
h3 { font-size: 1.3rem; margin-bottom: 0.3em; }

p { margin-bottom: 1em; }

a {
  color: #2c3e6b;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: #c9a94e; }

/* --- Header / Navigation --- */
.site-header {
  background: #1a2744;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(26, 39, 68, 0.15);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  text-decoration: none;
}

.nav-brand img {
  height: 84px;
  width: auto;
  border-radius: 4px;
}

.nav-brand span {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  color: #f0ebe0;
  letter-spacing: 0.04em;
}

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

.nav-links li {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.nav-links li:last-child {
  border-right: none;
}

.nav-links a {
  display: block;
  padding: 1.1rem 1.15rem;
  color: #c9bfa6;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #faf8f4;
  background: rgba(255,255,255,0.07);
}

/* Mobile hamburger */
.nav-toggle { display: none; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #c9bfa6;
  margin: 5px 0;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(rgba(26, 39, 68, 0.65), rgba(26, 39, 68, 0.75)), url('Exterior.png') center/cover no-repeat;
  text-align: center;
  padding: 4rem 1.5rem 3.5rem;
  color: #f0ebe0;
}

.hero img.hero-logo {
  max-width: 560px;
  width: 80%;
  margin-bottom: 0.75rem;
  border-radius: 8px;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.hero h1 {
  color: #faf8f4;
  font-size: 2.6rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.3em;
}

.hero .tagline {
  font-style: italic;
  font-size: 1.15rem;
  color: #c9bfa6;
  margin-bottom: 0;
}

/* --- Page Hero (subpages) --- */
.page-hero {
  background: linear-gradient(rgba(26, 39, 68, 0.7), rgba(26, 39, 68, 0.8)), url('Exterior.png') center/cover no-repeat;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}

.page-hero h1 {
  color: #faf8f4;
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.2em;
}

.page-hero .subtitle {
  color: #c9bfa6;
  font-style: italic;
  font-size: 1.05rem;
}

/* --- Main Content --- */
.content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  flex: 1;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  padding-bottom: 0.4em;
  border-bottom: 2px solid #e6dfd3;
  margin-bottom: 1em;
}

/* --- WiFi Box (home page) --- */
.wifi-box {
  max-width: 420px;
  margin: -1rem auto 2rem;
  background: #1a2744;
  color: #faf8f4;
  text-align: center;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  border: 2px solid #c9a94e;
}
.wifi-box h2 {
  font-size: 1.1rem;
  color: #c9a94e;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.wifi-box p {
  margin: 0.25rem 0;
  font-size: 1.05rem;
}

/* --- Card Grid (home page) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.card {
  background: #fff;
  border: 1px solid #e6dfd3;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(26, 39, 68, 0.1);
}

.card .card-icon {
  font-size: 2.4rem;
  margin-bottom: 0.75rem;
}

.card h3 { margin-bottom: 0.5em; }

.card p {
  font-size: 0.95rem;
  color: #6b6560;
  margin-bottom: 1.25em;
}

.card .btn {
  display: inline-block;
  padding: 0.55rem 1.5rem;
  background: #1a2744;
  color: #f0ebe0;
  border-radius: 5px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.card .btn:hover {
  background: #c9a94e;
  color: #1a2744;
}

/* --- Info Boxes / Callouts --- */
.callout {
  background: #f0ebe0;
  border-left: 4px solid #c9a94e;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5em 0;
}

.callout p { margin-bottom: 0; }

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid #e6dfd3;
}

.checklist li::before {
  content: "\2610";
  position: absolute;
  left: 0;
  color: #c9a94e;
  font-size: 1.2rem;
}

/* --- Image placeholder --- */
.img-placeholder {
  background: linear-gradient(135deg, #e6dfd3, #d4cdc0);
  border-radius: 10px;
  padding: 3rem 1rem;
  text-align: center;
  color: #8a8279;
  font-style: italic;
  margin: 1.5em 0;
}

/* --- Footer --- */
.site-footer {
  background: #1a2744;
  color: #8a8ea6;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.site-footer a { color: #c9a94e; }
.site-footer a:hover { color: #f0ebe0; }

/* --- Location Listings --- */
.listing {
  background: #fff;
  border: 1px solid #e6dfd3;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.listing h3 {
  margin-bottom: 0.15em;
}

.listing .drive-time {
  display: inline-block;
  background: #1a2744;
  color: #f0ebe0;
  font-size: 0.78rem;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
  margin-left: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.listing .description {
  margin: 0.5em 0 0.75em;
}

.listing .details {
  font-size: 0.9rem;
  color: #6b6560;
  line-height: 1.8;
}

.listing .details a {
  color: #2c3e6b;
}

.listing .details a:hover {
  color: #c9a94e;
}

/* --- Back to Home Link --- */
.back-home {
  display: block;
  text-align: center;
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid #e6dfd3;
}

.back-home a {
  display: inline-block;
  padding: 0.65rem 2rem;
  background: #1a2744;
  color: #f0ebe0;
  border-radius: 5px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.back-home a:hover {
  background: #c9a94e;
  color: #1a2744;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 600px;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  color: #1a2744;
  margin-bottom: 0.3em;
  font-weight: 400;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #e6dfd3;
  border-radius: 6px;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: #3a3530;
  background: #fff;
  margin-bottom: 1.25rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c9a94e;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  display: inline-block;
  padding: 0.7rem 2rem;
  background: #1a2744;
  color: #f0ebe0;
  border: none;
  border-radius: 5px;
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #c9a94e;
  color: #1a2744;
}

.form-success {
  background: #e8f5e9;
  border-left: 4px solid #4caf50;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.5em;
  color: #2e7d32;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hamburger { display: block; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a2744;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  }

  .nav-toggle:checked ~ .nav-links { display: flex; }

  .nav-links li {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: left;
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a { padding: 0.9rem 1.5rem; }

  .hero { padding: 2.5rem 1rem 2rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero img.hero-logo { max-width: 280px; }

  .page-hero { padding: 2rem 1rem 1.5rem; }
  .page-hero h1 { font-size: 1.6rem; }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }

  .nav-brand img { height: 56px; }
  .nav-brand span { display: none; }

  .card-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem 2rem;
    gap: 1rem;
  }

  .card {
    padding: 1.5rem 1.25rem;
  }

  .content {
    padding: 2rem 1rem 3rem;
  }

  .listing {
    padding: 1rem 1.1rem;
  }

  .listing h3 {
    font-size: 1.15rem;
  }

  .listing .drive-time {
    display: block;
    margin-left: 0;
    margin-top: 0.3em;
    width: fit-content;
  }

  .callout {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .hero .tagline { font-size: 0.95rem; }
  .hero img.hero-logo { max-width: 220px; }

  .page-hero h1 { font-size: 1.4rem; }
  .page-hero .subtitle { font-size: 0.9rem; }

  .card .card-icon { font-size: 2rem; }
  .card h3 { font-size: 1.1rem; }

  .nav-brand img { height: 44px; }
}
