html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}
body {
  background-color: #faf6ff;
}
.brand-logo {
  left: 30px;
}

.logo img {
  height: 120px;
  width: auto;
}
.footer-logo {
  height: 120px;
  width: auto;
}
.content {
  flex: 1;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px 0px 20px 0px;
}
.footer-column p,
.footer-column a {
  margin: 0;
}
.footer-logo img {
  max-width: 160px;
}
.page-footer a {
  color: #fff;
}
.page-footer a:hover {
  color: #c5cae9;
}
.copyright {
  text-align: center;
  padding: 10px;
}
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero .hero-images {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero .hero-images img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}
.hero .hero-images img.active {
  opacity: 1;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 0;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  padding: 20px;
  border-radius: 10px;
  z-index: 1;
}
@media (max-width: 768px) {
  .hero {
    height: 40vh;
  }
  .hero-content {
    transform: translate(-50%, -60%);
    padding: 10px;
  }
  .hero-content h1 {
    font-size: 1.6rem;
    font-weight: 600;
  }
  a.brand-logo {
    font-size: 1rem;
  }
  .logo img {
    display: none;
  }
}
@media (max-height: 670px) {
  .hero-content h1 {
    font-size: 1rem;
  }
}
#properties .col:first-child {
  margin-bottom: 20px;
}
.property-img {
  width: 100%;
  height: auto;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease-in-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
.carousel {
  height: 200px;
}
.carousel img {
  height: 200px; /* Adjust the height as needed */
  object-fit: cover;
  width: 100%;
}
/* Ensure the carousel fills the card */
.card .carousel {
  width: 100%;
  height: 300px; /* Adjust based on your preference */
  overflow: hidden;
}

/* Stretch images inside the carousel */
.carousel .carousel-item img {
  width: 100%; /* Ensures full width */
  height: 300px; /* Set a fixed height for consistency */
  object-fit: cover; /* Crops images to fit within the set height */
}
.modal img {
  width: 100%;
  height: auto;
}
.modal-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  cursor: pointer;
}
.modal-prev {
  left: 24px;
}
.modal-next {
  right: 24px;
}
.btn,
.btn-small {
  border-top-right-radius: 10px;
  overflow: hidden;
}
.card {
  border-top-right-radius: 30px;
  overflow: hidden;
}
.card-image img {
  border-top-right-radius: 30px;
  max-height: 200px;
  overflow: hidden;
}
/* Override the datepicker header */
.datepicker-date-display {
  background-color: #283593 !important; /* Indigo Darken-3 */
  color: white !important;
}

/* Override the calendar navigation buttons */
.datepicker-controls .btn-flat {
  color: white !important;
}

/* Override the weekday labels */
.datepicker-table th {
  color: #283593 !important; /* Indigo Darken-3 */
  font-weight: bold;
}

/* Override selected day */
.datepicker-day-button.selected {
  background-color: #3949ab !important; /* Indigo Lighten-1 */
  color: white !important;
}

/* Override hover effect on days */
.datepicker-day-button:hover {
  background-color: #5c6bc0 !important; /* Indigo */
  color: white !important;
}

/* Override today’s highlight */
.datepicker-day-button.is-today {
  border: 1px solid #3949ab !important; /* Indigo Lighten-1 */
  color: #3949ab !important;
}

/* Override OK and Cancel buttons */
.datepicker-done,
.datepicker-clear {
  background-color: #283593 !important; /* Indigo Darken-3 */
  color: white !important;
}
.copyright {
  text-align: right;
  padding-right: 10px;
  font-size: 0.8rem;
}
.location img {
  width: 100%;
  height: auto;
}
.card-map img {
  width: 100%;
  height: auto;
}
.coordinates {
  margin: 0px;
  padding: 10px;
}
.sidenav {
  background-color: #faf6ff;
}

.sidenav li {
  padding-top: 12px;
}

.sidenav a {
  display: block;
  color: white;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.sidenav li:hover,
.sidenav a:hover {
  background-color: #3949ab; /* Indigo lighten-1 */
  color: #fff;
}

.sidenav .sidenav-logo {
  padding: 20px;
  background-color: #283593; /* Indigo darken-3 */
}

.sidenav .sidenav-logo img {
  max-width: 100px;
  display: block;
  margin: 0 auto;
}

.sidenav .sidenav-header {
  font-size: 1.5rem;
  padding: 16px;
  text-align: center;
  color: white;
  background-color: #303f9f; /* Indigo darken-2 */
}
.modal {
  border-top-right-radius: 15px;
}
.imprint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.imprint-logo {
  max-width: 100px;
  height: auto;
}
.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.privacy-logo {
  max-width: 100px;
  height: auto;
}
h2 {
  font-size: 2.4rem;
  text-align: left;
}
h3 {
  font-size: 2rem;
}
/* Active language button */
.active-lang {
  background-color: #283593 !important; /* Dark Indigo */
  font-weight: bold;
}

.small-text {
  font-size: 1.4rem;
}
.material-icons {
  vertical-align: text-bottom;
  margin-right: 8px;
}
