/* ==========================================================================
   SHARED FOUNDATION: THE LOFT BY THE LAKE
   Variables, Reset, Navbar, Hero, Pill Badges, & Footer Social Icons
   ========================================================================== */

:root {
  --bg-sand: #FBF8F2;
  --bg-card: #FFFFFF;
  --bg-muted: #F4EFE6;

  --primary-green: #1B3B2B;
  --primary-green-hover: #132A1F;
  --accent-gold: #C29B38;
  --accent-bronze: #8A7352;
  --accent-terracotta: #A45D3B;

  --text-dark: #1F2421;
  --text-muted: #6B726C;
  --text-light: #F9F9F6;

  --border-light: #E7E0D3;
  --border-card: #EFE9DE;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 4px 12px rgba(27, 59, 43, 0.04);
  --shadow-md: 0 10px 30px rgba(27, 59, 43, 0.08);
  --shadow-lg: 0 20px 45px rgba(27, 59, 43, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-head h2 {
  font-size: 2.3rem;
  margin: 8px 0 12px;
}

/* Badges & Buttons */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: rgba(27, 59, 43, 0.08);
  color: var(--primary-green);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pill-badge.light {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease-in-out;
}

.btn-primary {
  background-color: var(--primary-green);
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: var(--primary-green-hover);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: #D4B46A;
  color: #1A1A1A;
}
.btn-gold:hover {
  background-color: #C29B38;
}

/* Top Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(251, 248, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
}

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

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-green);
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-bronze);
  font-weight: 700;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover {
  color: var(--primary-green);
}

/* Footer & Social Strip */
.site-footer {
  background-color: var(--primary-green);
  color: #FFFFFF;
  padding: 70px 0 35px;
  margin-top: 90px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-col h5 {
  color: #D4B46A;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.footer-col ul a:hover {
  color: #FFFFFF;
}

.social-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 35px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.social-circle-btn:hover {
  transform: translateY(-3px);
  opacity: 0.95;
}

.social-fb { background-color: #1877F2; }
.social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-in { background-color: #0A66C2; }
.social-yt { background-color: #CD201F; }

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 850px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ENHANCED HERO GALLERY (5-PHOTO ASYMMETRIC GRID + EXPANDABLE BADGE)
   ========================================================================== */
.hero-gallery-v2 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
  position: relative;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #EFE9DE;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.3s ease;
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.tile-featured {
  grid-row: span 2;
}

.tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 100%);
  color: #FFFFFF;
  pointer-events: none;
}

.tile-overlay h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-top: 4px;
}

.tile-overlay span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #D4B46A;
  font-weight: 700;
}

/* "View All Photos" Button at bottom right */
.btn-view-gallery {
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: rgba(27, 59, 43, 0.9);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  z-index: 5;
}

.btn-view-gallery:hover {
  background: var(--primary-green, #1B3B2B);
  transform: scale(1.03);
}

/* Lightbox Modal */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  max-width: 950px;
  width: 100%;
  text-align: center;
  position: relative;
}

.gallery-modal-img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
}

.gallery-modal-caption {
  color: #F4EFE6;
  margin-top: 15px;
  font-family: var(--font-serif, serif);
  font-size: 1.2rem;
}

.gallery-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #FFFFFF;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
}

.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-modal-nav:hover {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-modal-prev { left: -60px; }
.gallery-modal-next { right: -60px; }

@media (max-width: 900px) {
  .hero-gallery-v2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .tile-featured {
    grid-column: span 2;
    height: 280px;
  }
  .gallery-modal-prev { left: 10px; }
  .gallery-modal-next { right: 10px; }
}