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

/* ===== Custom Properties ===== */
:root {
  --bg: #fff;
  --bg-alt: #f5f5f7;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --accent: #c9a96e;
  --section-border: #d2d2d7;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Language Toggle ===== */
.lang-toggle {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  letter-spacing: 0.04em;
  padding: 4px 2px;
  transition: color 0.3s ease;
}

.lang-btn.active {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}

.lang-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  user-select: none;
}

/* Dark toggle on light sections */
.lang-toggle.on-light .lang-btn {
  color: var(--text-tertiary);
}

.lang-toggle.on-light .lang-btn.active {
  color: var(--text-primary);
}

.lang-toggle.on-light .lang-sep {
  color: var(--section-border);
}

/* ===== Hero ===== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.5) 100%),
              url('../img/krieza-village-center-aerial-view.jpg') center center / cover no-repeat;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 5rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
  margin-top: 12px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.2);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  letter-spacing: 0.1em;
  animation: gentle-bounce 2s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== Shared Section ===== */
.divider {
  width: 40px;
  height: 1.5px;
  background: var(--accent);
  margin: 0 auto 32px;
}

/* ===== Section Base ===== */
.about,
.location {
  padding: 120px 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about h2,
.location h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.75rem;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.about p,
.location-desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===== About ===== */
.about {
  background: var(--bg);
}

/* ===== Photo Break ===== */
.photo-break {
  height: 60vh;
  background: url('../img/krieza-football-field-aerial-view.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}

/* ===== Location ===== */
.location {
  background: var(--bg);
}

.location-desc {
  margin-bottom: 36px;
}

.map-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 380px;
  display: block;
}

.directions {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  margin-top: 20px;
  letter-spacing: 0.02em;
}

/* ===== Footer ===== */
.site-footer {
  padding: 40px 24px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  background: var(--bg-alt);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about,
    .location {
    padding: 80px 28px;
  }

  .about h2,
    .location h2 {
    font-size: 2rem;
  }

  .about p,
    .location-desc {
    font-size: 1rem;
  }

  .photo-break {
    height: 40vh;
    background-attachment: scroll;
  }

  .map-container {
    border-radius: 8px;
  }

  .map-container iframe {
    height: 260px;
  }
}

/* ===== Scroll Animations ===== */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  .animate-in,
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-hint {
    animation: none;
  }
}
