/* ==============================================
   Honkarinne Tupa — Global Styles
   ============================================== */

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1a2f1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #c9a96e;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #f0ebe3;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #d4cfc5;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c9a96e;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 1.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255,255,255,0.2);
}

.lang-link {
  color: #d4cfc5;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}

.lang-link:hover {
  opacity: 1;
  color: #c9a96e;
}

.lang-link.active {
  color: #c9a96e;
  opacity: 1;
}

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

.site-footer {
  background: #1a2f1a;
  color: #d4cfc5;
  padding: 3rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-col h3 {
  font-family: 'Playfair Display', serif;
  color: #c9a96e;
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.footer-col h4 {
  color: #c9a96e;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

.footer-col a {
  color: #c9a96e;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a2f1a;
    padding: 1rem 1.5rem;
    gap: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 0.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}
