/* ── Variables ── */
:root {
  --green-dark:   #085041;
  --green-mid:    #1D9E75;
  --green-light:  #E1F5EE;
  --green-pale:   #f0faf6;
  --accent:       #1D9E75;
  --accent-dark:  #0F6E56;
  --earth:        #8B6F47;
  --cream:        #FAF8F4;
  --ink:          #1A1A18;
  --ink-mid:      #4A4A46;
  --ink-light:    #8A8A84;
  --border:       rgba(0,0,0,0.08);

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Outfit', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container: 900px;
  --section-gap: 5rem;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: var(--accent-dark); }

/* ── Accessibility: Focus styles ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Accessibility: Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ── Language bar ── */
.lang-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,248,244,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.lang-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-wordmark {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}
.lang-buttons { display: flex; gap: 4px; }
.lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
}
.lang-btn:hover { color: var(--accent); border-color: var(--accent); }
.lang-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 1.5rem 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(29,158,117,0.12) 0%, transparent 70%),
    url('../images/hero.webp') center/cover no-repeat;
  filter: brightness(0.55) saturate(1.2);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
  padding: 4px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 99px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 600;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Sections ── */
.section { padding: var(--section-gap) 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ── Weather ── */
.weather-section { background: var(--green-pale); border-top: 1px solid rgba(29,158,117,0.12); border-bottom: 1px solid rgba(29,158,117,0.12); padding: 3rem 0; }
.weather-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: start;
}
.weather-main { display: flex; align-items: center; gap: 0.75rem; }
.weather-icon { font-size: 2.8rem; line-height: 1; }
.weather-temp {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
}
.weather-desc {
  font-size: 0.95rem;
  color: var(--ink-mid);
  margin-bottom: 0.5rem;
}
.weather-meta-row {
  display: flex;
  gap: 1.2rem;
  font-size: 0.82rem;
  color: var(--ink-light);
}
.weather-forecast {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.forecast-day {
  background: var(--green-pale);
  border: 1px solid rgba(29,158,117,0.15);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  min-width: 56px;
}
.forecast-day .fc-day { font-size: 0.72rem; color: var(--ink-light); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.forecast-day .fc-icon { font-size: 1.2rem; margin: 4px 0; }
.forecast-day .fc-temp { font-size: 0.9rem; font-weight: 600; color: var(--ink); }

/* ── About ── */
.about-section { background: var(--cream); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  color: var(--ink-mid);
  margin-bottom: 1rem;
  font-size: 1rem;
}
.fact-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.pill {
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid rgba(29,158,117,0.2);
}
.about-map { }
.map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.map-placeholder svg { width: 100%; height: auto; display: block; }

/* ── Gallery ── */
.gallery-section { background: var(--ink); }
.gallery-section .section-label { color: var(--green-mid); }
.gallery-section .section-title { color: white; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  margin-top: 1.5rem;
}
.gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #2a2a28;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.gallery-item.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255,255,255,0.15);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none; border: none;
  color: white; font-size: 2rem; cursor: pointer;
  line-height: 1;
}

/* ── POI ── */
.poi-section { background: var(--cream); }
.poi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}
.poi-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.poi-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.poi-emoji { font-size: 1.6rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.poi-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.poi-body p {
  font-size: 0.85rem;
  color: var(--ink-light);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}
.poi-dist {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--green-light);
  padding: 2px 10px;
  border-radius: 99px;
  display: inline-block;
}

/* ── Footer ── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
  text-align: center;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.4rem;
}
.footer-sub { font-size: 0.82rem; margin-bottom: 0.3rem; }
.footer-weather-credit { font-size: 0.78rem; }
.footer-weather-credit a { color: var(--green-mid); }

/* ── Responsive ── */
@media (max-width: 680px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .weather-card { grid-template-columns: 1fr; gap: 1rem; }
  .weather-forecast { display: none; }
  .hero-title { font-size: 3.2rem; }
  .lang-inner { padding: 0.5rem 1rem; }
}

/* ── Animations ── */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }


.nav-events-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: none;
  padding: 4px 10px;
  border: 1px solid rgba(29,158,117,0.3);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}
.nav-events-link:hover {
  background: var(--green-light);
  border-color: var(--accent);
}
