/* Colors inspired by the "Blide Bolstad" logo: golden house, dark green house/pine, grey roofs, blue sign, orange fence */
:root {
  --color-gold: #d9a02c;
  --color-gold-dark: #b8841f;
  --color-gold-light: #f2c664;
  --color-green: #2f5233;
  --color-green-dark: #1c3620;
  --color-green-light: #4f7a54;
  --color-grey: #6e6e6e;
  --color-blue: #1f3a75;
  --color-orange: #c97a2b;
  --color-cream: #faf3e3;
  --color-cream-soft: #f3e8cd;
  --color-card: #fffdf8;
  --color-text: #2b2b26;
  --max-width: 1100px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 10px 30px rgba(43, 43, 38, 0.08);
  --shadow-lift: 0 16px 36px rgba(43, 43, 38, 0.14);
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", Verdana, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at 15% 0%, rgba(217, 160, 44, 0.10), transparent 45%),
    radial-gradient(circle at 100% 15%, rgba(47, 82, 51, 0.08), transparent 40%),
    var(--color-cream);
  line-height: 1.65;
}

h1, h2 {
  font-family: var(--font-heading);
  color: var(--color-green-dark);
  font-weight: 600;
}

a {
  color: var(--color-blue);
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.9rem 1rem 0;
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.3rem;
  flex-wrap: wrap;
  background: rgba(47, 82, 51, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.brand {
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-gold-light);
}

.lang-switch {
  display: flex;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem;
  border-radius: 999px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--color-gold-light);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active,
.lang-btn:hover {
  background-color: var(--color-gold);
  color: var(--color-green-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-gold-light);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 1.4rem auto 0;
  height: 60vh;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31, 58, 117, 0.15), rgba(28, 54, 32, 0.72));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 3.2rem;
  margin: 0 0 0.6rem;
}

.hero-overlay p {
  color: var(--color-cream);
  font-size: 1.2rem;
  margin: 0;
  max-width: 600px;
}

/* Sections */
.section {
  padding: 3.5rem 1.2rem;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.5rem 2.6rem;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.section-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.section-alt .section-card {
  background: var(--color-cream-soft);
}

.section-icon {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.section h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 1.8rem;
}

.section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--color-orange);
  margin-top: 0.5rem;
}

.more-soon {
  font-style: italic;
  color: var(--color-grey);
}

.section-card h3 {
  font-family: var(--font-heading);
  color: var(--color-green-dark);
  font-size: 1.25rem;
  margin: 1.6rem 0 0.8rem;
}

.price-with-image {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

.price-with-image .price-table {
  flex: 1 1 320px;
  margin-bottom: 0;
}

.price-image {
  flex: 1 1 220px;
  max-width: 260px;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.price-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(43, 43, 38, 0.08);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--color-green-dark);
  white-space: nowrap;
}

.price-table tr:nth-child(odd) {
  background: rgba(217, 160, 44, 0.08);
}

.price-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  background-color: var(--color-green-dark);
  color: var(--color-cream);
  text-align: center;
  padding: 1.6rem;
  font-size: 0.9rem;
  margin-top: 1rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    order: 2;
  }

  .lang-switch {
    order: 3;
  }

  .navbar {
    border-radius: var(--radius-md);
  }

  .nav-links {
    order: 4;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
  }

  .nav-links.open {
    max-height: 300px;
    margin-top: 0.5rem;
  }

  .nav-links li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nav-links a {
    display: block;
    padding: 0.75rem 0.2rem;
  }

  .hero {
    border-radius: var(--radius-md);
  }

  .hero-overlay h1 {
    font-size: 2.1rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .section-card {
    padding: 1.8rem 1.5rem;
  }

  .price-table td {
    padding: 0.55rem 0.6rem;
    font-size: 0.9rem;
  }

  .price-with-image {
    flex-direction: column;
  }

  .price-image {
    max-width: 100%;
    order: -1;
  }
}
