/* Sam Levy's Village — Shared Styles */

:root {
  --green: #1a3d2b;
  --green-light: #2d5a40;
  --gold: #c9923a;
  --gold-light: #e8b46a;
  --cream: #faf8f3;
  --cream-dark: #f0ece2;
  --text: #1c1c1c;
  --text-muted: #5a5a5a;
  --taupe: #8b7355;
  --white: #ffffff;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 8px;
  --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}

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

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-links a.active {
  color: var(--gold-light);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--green);
    flex-direction: column;
    gap: 0;
    padding: 16px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 28px;
    font-size: 0.9rem;
    border-radius: 0;
    width: 100%;
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 68px;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,61,43,0.35) 0%, rgba(26,61,43,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 24px;
  max-width: 760px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 48px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  min-height: 48px;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,146,58,0.4);
}
.btn-primary:hover {
  background: #b8822d;
  box-shadow: 0 6px 24px rgba(201,146,58,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-light); }

/* ─── SECTIONS ─── */
.section {
  padding: 80px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-lg { padding: 100px 24px; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--green);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ─── FEATURE GRID ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card-body {
  padding: 24px;
}

.feature-card-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card-title {
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: 10px;
}

.feature-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.feature-card-link:hover { gap: 10px; }

/* ─── STRIP BANNER ─── */
.strip {
  background: var(--green);
  padding: 60px 24px;
  text-align: center;
  color: var(--white);
}
.strip-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 12px;
}
.strip-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── LISTING CARDS ─── */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.listing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform 0.2s, box-shadow 0.2s;
}
.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.listing-card-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  color: var(--green);
  margin-bottom: 4px;
}

.listing-card-type {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.listing-card-hours {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.listing-card-location {
  font-size: 0.82rem;
  color: var(--taupe);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── FILTER BAR ─── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  min-height: 44px;
}
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ─── PAGE HEADER ─── */
.page-header {
  margin-top: 68px;
  background: var(--green);
  padding: 64px 24px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../../images/final/hero.jpg') center/cover no-repeat;
  opacity: 0.18;
}
.page-header-content { position: relative; z-index: 2; }
.page-header-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 10px;
}
.page-header-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
}
.page-header-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── INFO ROW ─── */
.info-row {
  background: var(--green);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 0.82rem;
  flex-wrap: wrap;
}
.info-row a { color: var(--gold-light); }
.info-item { display: flex; align-items: center; gap: 8px; }

/* ─── FOOTER ─── */
footer {
  background: #111e17;
  color: rgba(255,255,255,0.75);
  padding: 64px 24px 32px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}
.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.social-link:hover {
  border-color: var(--gold);
  background: rgba(201,146,58,0.15);
  color: var(--gold-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 20px; }
  .hero { height: 80vh; }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--cream-dark);
  padding: 40px 24px;
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  color: var(--green);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ─── EVENTS ─── */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  gap: 0;
}
.event-date {
  background: var(--green);
  color: var(--white);
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  text-align: center;
}
.event-date-day {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.event-date-month {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 4px;
}
.event-body {
  padding: 20px 24px;
  flex: 1;
}
.event-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 6px;
}
.event-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.event-tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--cream-dark);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ─── RESPONSIVE GRID HELPERS ─── */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.grid-2col-center {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.grid-icon-text {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 768px) {
  .grid-2col,
  .grid-2col-center {
    grid-template-columns: 1fr !important;
  }
  .grid-icon-text {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 900px) {
  .grid-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* ─── NOTICE BOARD ─── */
.notice-board {
  background: #fffbe8;
  border: 2px solid var(--gold-light);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.notice-board-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
