/* =========================================
   GLOBAL SETTINGS
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
  font-family: system-ui, sans-serif;
  color: #222;
}

/* Färgvariabler */
:root {
  --brand: #B68A4C;
  --brand-dark: #9c743e;
  --text-dark: #222;
  --text-light: #555;
  --bg-light: #f1f1f1;
}

/* Layout helpers */
.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

/* =========================================
   HEADER
========================================= */
.header {
  background: #fff;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header a.logo img {
  height: 110px;
  width: auto;
}

/* Desktop menu */
.header-right {
  display: flex;
  gap: 10px;
}

.header-right a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 12px 16px;
  font-size: 18px;
  border-radius: 4px;
  transition: 0.2s ease;
}

.header-right a:hover {
  background: #ddd;
}

.header-right a.active {
  background: var(--brand);
  color: #fff;
}

/* =========================================
   HAMBURGER MENU
========================================= */
.menu-icon {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.menu-icon span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  left: 0;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 10px; }
.menu-icon span:nth-child(3) { top: 20px; }

/* X-animation */
.menu-icon.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.menu-icon.active span:nth-child(2) {
  opacity: 0;
}

.menu-icon.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* =========================================
   MOBILE MENU
========================================= */
@media (max-width: 600px) {

  .header a.logo img {
    height: 80px;
  }

  .menu-icon {
    display: block;
  }

  .header-right {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-light);
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
  }

  .header-right.show {
    display: flex;
  }

  .header-right a {
    padding: 16px;
    border-top: 1px solid #ddd;
  }
}

/* =========================================
   IMAGE HERO
========================================= */
.image-container {
  position: relative;
  width: 100%;
}

.responsive {
  width: 100%;
  height: auto;
  display: block;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  pointer-events: none;
  text-align: center;
  padding: 0 20px;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 48px);
  margin-bottom: 16px;
  color: var(--brand);
}

.hero p {
  font-size: clamp(16px, 4vw, 20px);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-btn {
  background: var(--brand);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
  background: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* =========================================
   FOOTER
========================================= */
.footer {
  background: var(--brand);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

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

.footer-content p {
  margin: 6px 0;
  font-size: 14px;
  opacity: 0.85;
}

