/* common.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fefaf5;
  color: #1e1e2a;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid #f0e4d8;
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #a7481c, #d9653a);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  line-height: 0;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  stroke: #2c2c3a;
  stroke-width: 2;
  fill: none;
  display: block;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: #2c2c3a;
  transition: color 0.2s ease, transform 0.2s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #c97e5a;
  transform: translateY(-1px);
  text-decoration: underline;
}

.site-footer {
  background: #1e1e2a;
  color: #ddd;
  margin-top: 3rem;
  padding: 2.5rem 0 1.8rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid #3a3a4a;
  padding-bottom: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-links a {
  color: #e2e2e8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #f3bc9c;
}

.footer-grid p {
  color: #7b7b7b;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 1.8rem;
  opacity: 0.7;
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 45px;
    left: 0;
    padding: 0 20px 30px;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #f0e4d8;
    z-index: 100;
  }

  .nav-toggle {
    display: block;
    position: relative;
    top: 0;
    right: 0;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
    border-top: 1px solid #f0e4d8;
    margin-top: 0;
  }

  #navBox {
    display: none;
  }

  #navBox.show {
    display: block;
  }

  .header-inner {
    position: relative;
  }

  .container {
    padding: 0 20px;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-grid p {
    width: 100%;
    text-align: center;
  }

}