[x-cloak] {
  display: none !important;
}

::selection {
  background-color: #4c21a8;
  color: white;
}

.hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/bedroom.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 5; /* Zorg ervoor dat dit lager is dan de modals (z-index: 30) */
}

.content-wrapper {
  background-color: white;
  position: relative;
  z-index: 5;
}

html {
  scroll-behavior: smooth;
}

/* Verbeterde In Progress Banner Styling */
.in-progress-banner {
  position: absolute;
  top: 15px;
  left: -35px;
  background: linear-gradient(45deg, #4c21a8, #4c21a8);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 5px 40px;
  transform: rotate(-45deg);
  transform-origin: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 15;
  white-space: nowrap;
  border: 1px solid #170933;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* Zorg ervoor dat de parent container relative positioning heeft */
.relative {
  position: relative;
}

/* Stijlen voor de afbeeldingscontainer en vergrootglas */
.image-container {
  position: relative;
  overflow: hidden;
}

.magnify-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(76, 33, 168, 0.8);
  color: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
  z-index: 10;
}

.image-container:hover .magnify-icon {
  opacity: 1;
}

/* Stijlen voor de lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50; /* Verhoogd om boven alles te komen */
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(76, 33, 168, 0.7);
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  transition: background-color 0.3s, transform 0.3s;
}

.lightbox-arrow:hover {
  background-color: rgba(76, 33, 168, 1);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
  left: -70px;
}

.lightbox-arrow.next {
  right: -70px;
}

/* Modal styles */
.modal-container {
  max-height: calc(100vh - 120px);
  margin: 60px auto; /* Zorgt voor ruimte boven en onder */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 40; /* Verhoogd om boven hero content te komen */
}

.modal-content {
  overflow-y: auto;
  max-height: calc(100vh - 200px); /* Verminderde hoogte om ruimte te maken */
  padding-right: 10px; /* Ruimte voor scrollbar */
}

/* Scrollbar styling */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #4c21a8;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: #7e57c2;
}

/* Contact iconen styling */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #4c21a8;
  color: white;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.contact-item:last-child {
  margin-bottom: 0;
}

/* Text shadow utility */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}