body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

header {
  border-bottom: 1px solid #333;
  padding: 2rem 0;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}

nav a {
  color: #f5f5f5;
  text-decoration: none;
  margin-left: 2rem;
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
}

.hero {
  height: 100vh;
  background: url('../images/innergard.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

section {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.cta {
  display: inline-block;
  border: 1px solid #8b1a1a;
  padding: 1rem 2rem;
  color: #f5f5f5;
  text-decoration: none;
  margin-top: 2rem;
}

.cta:hover {
  background: #8b1a1a;
}

footer {
  border-top: 1px solid #333;
  padding: 2rem 0;
  text-align: center;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* För form */
form {
  max-width: 600px;
  margin: 0 auto;
}

input, textarea {
  width: 100%;
  padding: 1rem;
  margin: 1rem 0;
  background: #333;
  border: none;
  color: #f5f5f5;
}

button {
  background: #8b1a1a;
  color: #f5f5f5;
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
}

.slideshow {
  position: relative;
  height: 60vh;  /* Justera höjd efter behov */
  overflow: hidden;
  margin-bottom: 2rem;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;  /* Sakta fade-in (1 sekund) */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-caption {
  background: rgba(0, 0, 0, 0.6);  /* Halvtransparent bakgrund för text */
  color: #f5f5f5;
  padding: 1rem 2rem;
  text-align: center;
  width: 100%;
  font-size: 1.2rem;
}

/* Responsiv för mobil (under 768px) */
@media (max-width: 768px) {
  nav {
    flex-direction: column;  /* Stapla logga och meny vertikalt */
    align-items: flex-start;
    padding: 1rem;
  }

  .logo {
    font-size: 1.5rem;  /* Minska logga-storlek (eller för img: max-height: 30px;) */
    margin-bottom: 1rem;  /* Lite space under loggan */
  }

  .nav-links {
    display: none;  /* Dölj länkarna som default på mobil */
    flex-direction: column;
    width: 100%;
  }

  .nav-links.active {
    display: flex;  /* Visa när hamburger klickas */
  }

  nav a {
    margin: 1rem 0;  /* Stapla länkar vertikalt med space */
    text-align: center;
  }

  /* Hamburger-ikon */
  .hamburger {
    display: block;  /* Visa bara på mobil */
    cursor: pointer;
    font-size: 1.5rem;
    align-self: flex-end;  /* Placera till höger */
  }
}

/* Hamburger-linjer (tre streck) */
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #f5f5f5;
  margin: 5px 0;
  transition: 0.3s;
}

/* För desktop: Dölj hamburger */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
  .nav-links {
    display: flex !important;  /* Alltid synlig på stora skärmar */
  }
}

.light-section {
    background: #fafafa;
    padding: 6rem 2rem;
    color: #0f1620 !important;        /* tvingar mörk text på hela sektionen */
}

.light-section h2,
.light-section p,
.light-section strong {
    color: #0f1620 !important;
}

/* FIX 2: Sista CTA-sektionen (den med vit bakgrund) – samma fix */
section[style*="background: white"] {
    color: #0f1620 !important;
}

section[style*="background: white"] h2,
section[style*="background: white"] p {
    color: #0f1620 !important;
}

.text-block {
    max-width: 860px;
    margin: 0 auto;
    font-size: 1.22rem;
    line-height: 1.78;
    text-align: center;
}

.text-block p {
    margin-bottom: 2.5.8rem;   /* mer luft mellan punkterna */
}

.text-block strong {
    color: inherit;
    font-weight: 600;
}
