/* ═══════════════════════════════════════
   NAV & FOOTER styles — Minun Suomeni
   ═══════════════════════════════════════ */

/* ── Nav ── */
.main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 60px;
  background: rgba(0,47,108,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: #f0c060; text-decoration: none; white-space: nowrap;
  flex-shrink: 0;
}
.nav-logo span { color: #fff; font-style: italic; font-weight: 400; }
.nav-links {
  display: flex; gap: 1.8rem; list-style: none;
  margin: 0 2rem;
}
.nav-links a {
  font-size: .8rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: #f0c060; }
.nav-right { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.nav-search-btn {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px; padding: .3rem .9rem .3rem .7rem;
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.6); font-size: .78rem; cursor: pointer;
  transition: background .2s; white-space: nowrap;
  font-family: inherit;
}
.nav-search-btn:hover { background: rgba(255,255,255,.2); }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
/* Mobile menu */
.nav-mobile-menu {
  display: none; position: fixed; top: 60px; left: 0; right: 0;
  background: #002055; z-index: 190;
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.nav-mobile-menu a {
  display: block; padding: .75rem .5rem;
  font-size: .9rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: rgba(255,255,255,.8);
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .15s;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: #f0c060; }
.nav-mobile-menu.open { display: flex; }
/* Hamburger animation */
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Footer ── */
.site-footer { background: #001030; padding: 3rem 2rem 1.5rem; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
  max-width: 1100px; margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding-bottom: 2rem; margin-bottom: 1.2rem;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: #f0c060; margin-bottom: .45rem;
}
.footer-brand-desc { font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.65; }
.footer-col-title {
  font-size: .65rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: .9rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .42rem; }
.footer-links a { font-size: .78rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: #f0c060; }
.footer-link-subtle { color: rgba(255,255,255,.22) !important; font-size: .72rem !important; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  font-size: .72rem; color: rgba(255,255,255,.2);
}
.footer-bottom-left { display: flex; align-items: center; gap: .5rem; }
.fi-flag { width: 18px; height: 12px; flex-shrink: 0; }

/* ── Responsive nav/footer ── */
@media (max-width: 860px) {
  .nav-links, .nav-search-btn { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 480px) {
  .nav-inner { padding: 0 1.1rem; }
  .nav-logo { font-size: 1.05rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .site-footer { padding: 2.5rem 1.2rem 1.2rem; }
}
