:root {
  --bg: #F7F6F0;
  --green: #718675;
  --green-dark: #344A3B;
  --green-pale: #DCE3D9;
  --card: #FFFFFF;
  --border: #C8D2C8;
  --text: #2B332E;
  --text-muted: #667066;
  --shadow: 0 14px 34px rgba(52, 74, 59, 0.12);
  --shadow-sm: 0 6px 18px rgba(52, 74, 59, 0.10);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 62vw;
  min-height: 340px;
  max-height: 560px;
  overflow: hidden;
  background: var(--green-dark);
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(52,74,59,0.15) 0%, rgba(52,74,59,0.28) 55%, rgba(41,58,46,0.72) 100%);
}

.hero-leaf {
  position: absolute;
  top: 0;
  right: 0;
  width: 92px;
  height: 92px;
  color: #ffffff;
  opacity: 0.10;
  transform: rotate(8deg) translate(18px, -18px);
}

.hero-leaf svg { width: 100%; height: 100%; }

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 44px;
  padding: 0 24px;
  text-align: center;
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.88;
  margin-bottom: 6px;
}

.hero-name {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.3px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.18);
}

.hero-sub {
  margin: 6px 0 0;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 1px;
  opacity: 0.92;
}

/* ---------- Address card ---------- */

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 18px;
}

.address-card {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 26px 22px 24px;
  margin: -46px 0 0;
  text-align: center;
  z-index: 2;
}

.pin-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--green-dark);
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-icon svg { width: 20px; height: 20px; }

.address-text {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 18px;
  border-radius: 999px;
  min-height: 50px;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn-icon { width: 19px; height: 19px; flex-shrink: 0; }

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(52, 74, 59, 0.28);
}

.btn-primary:hover { background: #2b3a30; }

.btn-secondary {
  background: var(--green-pale);
  color: var(--green-dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: #d2dbce; }

@media (min-width: 540px) {
  .button-row { flex-direction: row; justify-content: center; }
  .btn { flex: 1 1 0; max-width: 260px; }
}

/* ---------- Map ---------- */

.map-section {
  margin-top: 22px;
}

.map-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 320px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (min-width: 720px) {
  .map-card { height: 420px; }
}

/* ---------- Gallery ---------- */

.gallery-section {
  margin-top: 34px;
  padding-bottom: 8px;
}

.gallery-section h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green-dark);
  text-align: center;
  margin: 0 0 18px;
}

.gallery-main {
  position: relative;
}

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--green-pale);
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 0;
  padding: 0;
  margin: 0;
  background: var(--green-pale);
  cursor: zoom-in;
  display: block;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.92);
  color: var(--green-dark);
  align-items: center;
  justify-content: center;
  display: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.gallery-arrow svg { width: 18px; height: 18px; }
.gallery-arrow-prev { left: 12px; }
.gallery-arrow-next { right: 12px; }

.gallery-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(52,74,59,0.72);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.thumb {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  opacity: 0.65;
  cursor: pointer;
  background: var(--green-pale);
  transition: opacity 0.15s ease, border-color 0.15s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb.is-active {
  opacity: 1;
  border-color: var(--green-dark);
}

@media (min-width: 640px) {
  .gallery-arrow { display: flex; }
  .thumb { width: 72px; height: 72px; }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  padding: 30px 20px 44px;
  text-align: center;
  background: var(--green-pale);
}

.footer-title {
  margin: 0 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--green-dark);
}

.footer-address {
  margin: 0 0 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--green-dark);
  padding-bottom: 1px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 33, 27, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: env(safe-area-inset-top, 20px) 16px env(safe-area-inset-bottom, 20px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: env(safe-area-inset-top, 16px);
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-close svg { width: 20px; height: 20px; }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-arrow svg { width: 20px; height: 20px; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.82rem;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
