
/* === Global Typography === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: #222;
  background: #f7f8f9;
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3 {
  font-weight: 700;
  color: #111;
  margin-bottom: 0.5em;
}

h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: #222;
}

/* === Layout Container === */
main.container {
  width: 100%;
  max-width: 960px;
}

main.container section {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

main.container img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}

/* === Hero Header with Background Overlay === */
.custom-header {
  position: relative;
  padding: 2rem 1rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  z-index: 1;
}

.custom-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/koellefornia.jpg') center center / cover no-repeat;
  opacity: 0.25;
  z-index: -1;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.header-title {
  text-align: center;
}

.header-title img {
  max-width: 120px;
  margin-bottom: 0.5rem;
}

.title-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: left;
}

.title-block h1 {
  font-size: 1.5rem;
  margin: 0;
}

.subtitle {
  font-size: 0.95rem;
  color: #c94c2b;
  margin: 0;
}

.header-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 1rem;
}

.header-nav .location {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.header-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  align-items: center;
}

.header-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #222;
  position: relative;
}

.header-nav a:hover::after {
  content: '';
  display: block;
  height: 2px;
  background: #c94c2b;
  width: 100%;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.header-nav .lang a {
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.header-nav .lang a:hover {
  transform: scale(1.2);
}

/* === Quote / Intro Style === */
blockquote {
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid #c94c2b;
  padding: 2rem;
  font-style: italic;
  margin: 2rem 0;
}

/* === Button Style === */
a[role="button"] {
  background-color: #c94c2b;
  border-color: #c94c2b;
  color: #fff;
  max-width: 100%;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

a[role="button"]:hover {
  background-color: #a63c21;
}

/* === Footer === */
footer.container {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.9);
  border-top: 1px solid #ddd;
}

/* === Responsive === */
@media (max-width: 768px) {
  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .title-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-nav {
    align-items: center;
  }

  .header-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}
