body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: #184848;
  background-color: #e9dfd0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

hr {
  border: 0.5px solid #184848;
  opacity: 0.6;
}

header {
  background-color: #e9dfd0;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  height: 60px;
}

header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin: 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  color: #184848;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.nav-fullscreen {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  background-color: #184848;
  z-index: 1001;
  animation: fadeIn 0.4s ease forwards;
}

.nav-fullscreen a {
  color: #fff;
  font-size: 1.5rem;
  margin: 1rem 0;
  text-decoration: none;
  font-weight: bold;
}

#navMenu .active {
  color: #406d63;
  text-decoration: underline;
}

.nav-fullscreen.show {
  display: flex;
  animation: slideDown 0.4s ease forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 1;
    transform: translateY(0%);
  }
  to {
    opacity: 0;
    transform: translateY(-10%);
  }
}

nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #184848;
  font-weight: 600;
  transition: 0.3s ease;
}

nav a:hover {
  font-size: 18px;
  color: #406d63;
}

.hero-carousel {
  position: relative;
  height: 50vh;
  overflow: hidden;
}

.hero-carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-carousel .slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-carousel h2 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  z-index: 2;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
  animation: fadeInDown 1s ease-out;
}

.hero-carousel a {
  z-index: 2;
  text-decoration: none;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #184848;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-carousel a:hover {
  background-color: #406d63;
}

@keyframes fadeInDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.section {
  padding: 2rem 0.5rem;
  max-width: 1200px;
  margin: auto;
}

.section h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: #184848;
  margin-bottom: 1rem;
}

.section p {
  padding: 1rem;
}

.features-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.features-header h3 {
  font-family: "Playfair Display", serif;
  color: #184848;
  padding-left: 0.5rem;
}

.energylabel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.energylabel p {
  margin: 0;
  font-weight: 600;
  color: #184848;
}

.label {
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
}

.label-c {
  background-color: #b6e03e;
}

.label-d {
  background-color: #f5d000;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1rem;
  gap: 1rem;
}

.features-grid h4 {
  font-family: "Playfair Display", serif;
  color: #184848;
  margin-bottom: 0.5rem;
}

.features-grid ul {
  list-style: "✔ ";
  padding-left: 1.2rem;
}

.features-grid li {
  margin-bottom: 0.4rem;
}

#omschrijving h4 {
  font-family: "Playfair Display", serif;
  color: #184848;
  padding-left: 1rem;
}

#omschrijving p {
  line-height: 1.7;
}

.floorplan {
  background: #000;
  width: 100%;
  max-width: 2000px;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.photo-overview {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

.category-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.category-thumbnails a {
  text-align: center;
  text-decoration: none;
  color: #184848;
  max-width: 120px;
}

.category-thumbnails img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.category-thumbnails img:hover {
  transform: scale(1.05);
}

.category-thumbnails span {
  display: block;
  margin-top: 0.3rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.photo-category {
  max-width: 1200px;
  margin: 2rem auto;
  color: #184848;
  margin-bottom: 3rem;
  padding-left: 0.5rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
  gap: 1rem;
}

.photo-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer {
  background: #2b4d45;
  color: #fff;
  padding: 3rem 1.5rem 1rem;
  font-size: 0.95rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  gap: 4rem;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 250px;
}

.footer-section h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-section h4,
.footer-section .socials {
  text-align: center;
}

.footer-section .socials {
  justify-content: center;
  margin-left: 15px;
}

.footer-section i {
  margin-right: 0.5rem;
  color: #bfeee4;
}

address,
.footer-section p {
  font-style: normal;
  color: #d8f0ec;
  line-height: 1.6;
  margin: 0.3rem 0;
}

.footer-section a {
  color: #d8f0ec;
  text-decoration: none;
}

.footer-section a:hover {
  color: #ffffff;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 0.5rem;
}

.socials a {
  font-size: 1.5rem;
  color: #bfeee4;
  transition: transform 0.2s ease, color 0.3s;
}

.socials a:hover {
  transform: scale(1.2);
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
}

.contact-section {
  background-color: #f4f1eb;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  animation: fadeInDown 1s ease-out;
}

.contact-section h3 {
  font-family: "Playfair Display", serif;
  color: #184848;
  margin-bottom: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #184848;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  color: #184848;
  background: #fff;
}

.contact-form textarea {
  resize: none;
}

.contact-form button {
  background-color: #184848;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #406d63;
}

.section .map-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

@media (max-width: 1024px) {
  .floorplan {
    width: 90%;
  }

  .contact-section {
    max-width: 800px;
  }
}

@media (max-width: 768px) {
  .hero-carousel a {
    font-size: 0.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
  }

  nav {
    display: none;
  }

  .contact-section {
    max-width: 500px;
  }

  .form-group {
    margin-bottom: 1rem;
    width: 90%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 1rem;
  }

  .contact-form button {
    font-size: 1rem;
  }

  .photo-grid img {
    max-width: 80%;
  }
}

@media (max-width: 426px) {
  .contact-section {
    max-width: 300px;
  }

  .contact-section p {
    font-size: 14px;
  }

  .contact-form {
    max-width: 500px;
  }

  .hero-carousel h2 {
    font-size: 1.5rem;
  }
}
