/* ============================================
   Willowmere at Smith Lake — Direct Booking 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: 1200px;
  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;
}

.nav-links a {
  display: block;
  padding: 1.1rem 1rem;
  color: #c9bfa6;
  font-size: 0.88rem;
  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.55), rgba(26, 39, 68, 0.7)), url('photos/Exterior.png') center/cover no-repeat;
  text-align: center;
  padding: 5rem 1.5rem 4.5rem;
  color: #f0ebe0;
}

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

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

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

.hero-stats {
  font-size: 1.05rem;
  color: #f0ebe0;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-stats .stat-dot {
  margin: 0 0.4rem;
  color: #c9a94e;
}

.hero .cta-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: #c9a94e;
  color: #1a2744;
  border-radius: 6px;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.hero .cta-btn:hover {
  background: #b8942e;
  transform: translateY(-2px);
}

/* --- Section Wrapper --- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.section-alt {
  background: #f0ebe0;
}

.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c9a94e;
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.section-heading p {
  color: #6b6560;
  font-style: italic;
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* --- Property Intro --- */
.property-intro {
  max-width: 850px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.85;
}

.property-intro p {
  color: #3a3530;
}

/* --- Property Highlights --- */
.highlights {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

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

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(26, 39, 68, 0.08);
}

.highlight-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2em;
}

.highlight-card p {
  font-size: 0.85rem;
  color: #6b6560;
  margin-bottom: 0;
}

/* --- The Space Details --- */
.space-details {
  margin-top: 1rem;
}

.space-details > h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a2744;
}

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

.space-item {
  background: #fff;
  border: 1px solid #e6dfd3;
  border-radius: 10px;
  padding: 1.5rem;
}

.space-item h4 {
  font-size: 1.05rem;
  color: #1a2744;
  margin-bottom: 0.5em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #c9a94e;
}

.space-item p {
  font-size: 0.92rem;
  color: #3a3530;
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Photo Gallery --- */
.gallery-section {
  margin-bottom: 2.5rem;
}

.gallery-section h3 {
  font-size: 1.25rem;
  color: #1a2744;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #e6dfd3;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.15);
}

/* Featured (first image spans full width) */
.gallery-grid.has-feature {
  grid-template-columns: 1fr 1fr;
}

.gallery-grid.has-feature img:first-child {
  grid-column: 1 / -1;
  height: 360px;
}

/* --- Lightbox --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #faf8f4;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Georgia', serif;
  line-height: 1;
  transition: color 0.2s;
  z-index: 1001;
}

.lightbox-close:hover { color: #c9a94e; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #faf8f4;
  cursor: pointer;
  background: none;
  border: none;
  padding: 1rem;
  transition: color 0.2s;
  z-index: 1001;
  font-family: 'Georgia', serif;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover,
.lightbox-next:hover { color: #c9a94e; }

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #c9bfa6;
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

/* --- Amenities (grouped columns) --- */
.amenities-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.amenity-group h4 {
  font-size: 1.05rem;
  color: #1a2744;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #c9a94e;
  margin-bottom: 0.75rem;
}

.amenity-group ul {
  list-style: none;
}

.amenity-group li {
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  font-size: 0.92rem;
  border-bottom: 1px solid #e6dfd3;
}

.amenity-group li:last-child {
  border-bottom: none;
}

.amenity-group li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #c9a94e;
  font-weight: bold;
  font-size: 0.85rem;
}

.amenities-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #6b6560;
}

.amenities-note p {
  margin-bottom: 0;
}

/* --- Booking Section --- */
.booking-wrapper {
  background: #1a2744;
  padding: 2rem 1rem 0;
}

.booking-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.booking-inner h2 {
  color: #faf8f4;
  font-size: 2rem;
  margin-bottom: 0.2em;
}

.booking-inner h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c9a94e;
  margin: 0.4rem auto 0;
  border-radius: 2px;
}

.booking-inner p {
  color: #c9bfa6;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.booking-widget {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 1rem;
  background: #1a2744;
}

.booking-widget iframe {
  width: 100%;
  height: 680px;
  border: none;
  border-radius: 8px;
  background: #fff;
}

/* --- Footer --- */
.site-footer {
  background: #1a2744;
  color: #8a8ea6;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.9rem;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

/* --- Responsive: Tablet --- */
@media (max-width: 1024px) {
  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }

  .space-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive: Mobile --- */
@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 a { padding: 0.9rem 1.5rem; }

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

  .hero-stats { font-size: 0.9rem; }
  .hero-stats .stat-dot { margin: 0 0.2rem; }

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

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

  .highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .space-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
  }

  .gallery-grid img { height: 160px; }

  .gallery-grid.has-feature { grid-template-columns: 1fr 1fr; }
  .gallery-grid.has-feature img:first-child { height: 240px; }

  .amenities-columns {
    grid-template-columns: 1fr;
  }

  .section { padding: 2.5rem 1rem; }

  .booking-wrapper { padding: 1.5rem 0.75rem 0; }
  .booking-widget { padding: 0 0 0.75rem; }
  .booking-widget iframe { height: 620px; }

  .lightbox-prev,
  .lightbox-next { font-size: 2rem; }
}

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

  .hero-stats {
    font-size: 0.8rem;
    line-height: 1.6;
  }

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

  .highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .highlight-card { padding: 1rem 0.75rem; }
  .highlight-icon { font-size: 1.6rem; }
  .highlight-card h3 { font-size: 0.9rem; }
  .highlight-card p { font-size: 0.78rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid.has-feature img:first-child { height: 200px; }

  .gallery-grid img { height: 140px; }

  .booking-widget iframe { height: 560px; }
}
