.home-page-hero-image {
  position: relative;
}

.hero-photo {
  width: 100%;
}

@media screen and (max-width: 800px) {
  .home-page-hero-image {
    height: 90vh;
    width: 100%;
  }
  
  .hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

  }  
}

.casaazul-homepage-picture-flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 80vw;
  max-height: 100%;

}

@media screen and (min-width: 481px) {
  .casaazul-homepage-picture-flex-container {
    min-width: unset;
    max-height: 100%;

  }
}

.casaazul-homepage-picture {
  max-width: 80vw;
  width: 100%; /* Adjust if necessary */
  
}

@media screen and (min-width: 481px) {
  .casaazul-homepage-picture {
    /* max-width: 500px; */
    max-height: 60vh;
    width: 100%; 
    
  }
  
}

@media screen and (min-width: 768px) {
  .home-page-list-text-image-blocks {
    padding: 3rem 0 3rem 0;
  }
  
  
}

.home-page-list-text-image-blocks {
  padding: 3rem 1.5rem 3rem 1.5rem;
}


.home-text-image-block {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
}





.home-text-image-block-image {
  max-width: 700px;
  max-height: 700px;
  /* border-radius: 50% 50% 0 50%; */
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;

}

.home-text-image-block:nth-child(even) > .home-text-image-block-image {
  /* border-radius: 0 50% 50% 50%; */
}

.home-text-image-block-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    overflow: clip;
    border-radius: inherit;
    /* border: 4px solid var(--accent-colour); */

  }


.home-text-image-block-text {
  max-width: 100%;

}

@media screen and (min-width: 768px) {
  .home-text-image-block {
    flex-direction: row;
    align-items: center;

  }
  .home-text-image-block:nth-child(even) {
    flex-direction: row-reverse;
  }
  .home-text-image-block-text-container {
    max-width: 50%;
    padding: 1.5rem;
  }


  .home-text-image-block-image {
    padding: 1.5rem;

  }
  
}

.amenities-container {
  max-width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.all-amenities-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 900px;
  margin: 4rem auto;
  padding: 4rem 1.5rem 4rem 1.5rem;


}

.amenity-home-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.852);

}

/* .amenity-home-grid-item * {
  color: var(--blue-background-colour)
} */

.amenity-home-grid-item-image {
  max-width: 40px;
  object-fit: cover;
}

.amenity-home-grid-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.location-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding: 3rem 1.5rem 3rem 1.5rem;
  gap: 2rem;
}

.location-section-map {
  width: 100%;
  /* height: 100%; */
  aspect-ratio: 1/1;

}

.location-section-text {
  width: 100%;
}


.location-section-map iframe {
  width: 100%;
  height: 100%;
}

.location-contact {
  position: relative;
  height: 100%;
  width: 100%;
  /* padding: 3rem; */
  background-color: rgba(255, 255, 255, 0.412);
}

.location-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: url('/media/images/Screenshot_20241015_211854_Gallery.original.jpg'); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5; /* Adjust this value for desired transparency */
  z-index: -1;
}

@media screen and (min-width: 800px) {
  .location-section {
    flex-direction: row;
    max-width: 100%;
    width: 100%;
  }

  .location-contact {
    max-width: 50%;
  }
  
}

.location-section-text, .contact-section-text, .social-media-container {
  padding-bottom: 2rem;
}

.location-section-text *, .contact-section-text *, .social-media-container *{
  text-decoration: none;
}

/* Text sizes for homepage */
.home-text-image-block-text h2 {
  font-size: clamp(4rem, 10vw, 9rem);
  color: var(--santorini-blue);
  text-decoration: underline;
  text-decoration-color: var(--secondary-blue-colour);
  letter-spacing: -1px;
  font-weight: 200;
}

.home-text-image-block-text h3 {
  font-size: clamp(3rem, 9vw, 5rem);
  color: var(--santorini-blue);
  text-decoration: underline;
  text-decoration-color: var(--secondary-blue-colour);
  letter-spacing: -1px;
  font-weight: 200;
  word-break: break-all;
}
