/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
}

/* Layout */
.container {
  display: flex;
  min-height: 100vh;
  flex-direction: row;
}

/* Sidebar */
.sidebar {
  background-color: #0f172a;
  width: 220px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
}

.logo {
  width: 200px;
}

/* Main Content */
.main-content {
  flex: 1;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ========== Navbar ========== */
.navbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
  position: relative;
  align-items: center;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #1e293b;
  padding: 10px;
  z-index: 999;
  background: none;
  border: none;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
}

.navbar a.active {
  color: #2563eb;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: #334155;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #1d4ed8;
}

.hero-image img {
  width: 300px;
  max-width: 100%;
}

/* Floating Image */
.floating-image {
  position: absolute;
  top: 180px;
  right: 200px;
  z-index: 1;
  width: 280px;
  max-width: 90%;
}

.floating-image img {
  width: 100%;
  height: auto;
}

/* ===== Responsive: breedte ≤ 900px ===== */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    padding: 20px;
    justify-content: center;
  }

  .main-content {
    padding: 20px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image img {
    margin-top: 30px;
  }
}

/* ===== Mobielweergave: breedte ≤ 767px ===== */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    padding: 0 16px;
  }

  .sidebar {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 160px;
  }

  .main-content {
    padding: 24px 16px;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    justify-content: space-between;
  }

 .navbar ul {
  display: none;
  flex-direction: column;
  gap: 14px;
  background-color: #f8fafc;
  position: absolute;
  top: 60px;
  left: auto;
  right: 0;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

  .navbar ul.show {
    display: flex;
  }

  .navbar li {
    list-style: none;
  }

  .navbar a {
    font-size: 16px;
    padding: 6px 0;
    display: inline-block;
  }

  .navbar {
  justify-content: flex-end;
}

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero-text p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .cta-button {
    font-size: 15px;
    padding: 12px 20px;
  }

  .hero-image img {
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
  }

  .floating-image {
    position: relative;
    top: unset;
    right: unset;
    margin: 30px auto 0;
    width: 80%;
    max-width: 280px;
    z-index: 0;
  }

  .floating-image img {
    width: 100%;
    height: auto;
  }

  .hero-graphic {
    display: none !important;
  }
}

