/* Global styles */
body {
  background-color: #373434;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Arial, sans-serif;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}


body::-webkit-scrollbar {
  width: 8px;
  z-index: 9999;
}

body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}


.sliding-image-container {
  display: flex;
  overflow-x: scroll;
  width: 100%;
  height: 90%;
  scroll-snap-type: x mandatory;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
  position: relative;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sliding-image-container::-webkit-scrollbar {
  display: none;
}

.sliding-image-wrapper {
  position: relative;
  width: 100%;
  height: 100vh; /* Adjust as needed */
}

.sliding-image-container {
  display: flex;
  overflow-x: scroll;
  width: 100%;
  height: 90%;
  scroll-snap-type: x mandatory;
  box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
  position: relative;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.sliding-image-container::-webkit-scrollbar {
  display: none;
}

.sliding-image-container img {
  flex: 0 0 100%;
  scroll-snap-align: start;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Zoom out all slider images to show more of the image */
#slide-1,
#slide-2,
#slide-3 {
  object-fit: contain;
  background-color: #000;
}

.why-jaclyn {
  position: relative;
  top: -30vh;
  height: auto;
  background-color: rgb(255, 255, 255);
  color: black;
  font-size: 2vh;
  text-align: center;
  padding: 2rem;
  max-width: 100%;
  margin-bottom: -10rem;
}

.why-jaclyn h1, .why-jaclyn h2, .why-jaclyn p, .why-jaclyn .booking-button-homepage {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.why-jaclyn h1 {
  animation-delay: 0.2s;
}

.why-jaclyn h2 {
  animation-delay: 0.4s;
}

.why-jaclyn .booking-button-homepage {
  animation-delay: 0.6s;
}

.why-jaclyn p {
  animation-delay: 0.8s;
}

@media (max-width: 1000px) {
  .why-jaclyn {
    padding: 1.5rem;
  }
}


@media (max-width: 1000px) {
  /* Center Why Jaclyn section */
  .why-jaclyn {
    text-align: center;
    padding: 1.5rem;
  }

  .why-jaclyn h1 {
    font-size: 24px;
    bottom: 1.5rem;
    text-align: center;
  }

  .why-jaclyn h2 {
    font-size: 40px;
    bottom: 4.5rem;
    text-align: center;
  }

  .why-jaclyn p {
    font-size: 14px;
  }

  /* Center info sections */
  .info-section,
  .info-section-reversed {
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
  }

  .info-section h1,
  .info-section-reversed h1 {
    text-align: center;
  }

  .info-section h2,
  .info-section-reversed h2 {
    font-size: 40px;
    margin-top: 20px;
    text-align: center;
  }

  .info-section p,
  .info-section-reversed p {
    font-size: 14px;
    margin-top: 10px;
  }

  .info-section img,
  .info-section-reversed img {
    margin-top: 20px;
  }

  /* Center contact location section */
  .contact-location {
    text-align: center;
    padding: 20px 0;
  }

  .contact-location h2 {
    font-size: 40px;
    text-align: center;
  }
}

.why-jaclyn h1 {
  position: relative;
  bottom: 2rem;
  color: #c2a76b;
  font-size: 29px;
}

.why-jaclyn h2 {
  color: black;
  font-size: 40px;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 10px;
}

.why-jaclyn a {
  text-decoration: none;
  display: inline-block;
  margin: 20px auto;
}

.booking-button-homepage {
  display: block;
  margin: 0;
  background-color: #0f0f0f;
  color: white;
  height: 7rem;
  width: 12rem;
  font-size: 25px;
  font-family: times, serif;
  border: none;
  cursor: pointer;
  text-align: center;
  opacity: 1 !important;
}

.booking-button-homepage:hover {
  background-color: #c1b46c;
  transition: 0.7s;
}

.booking-button-homepage:focus {
  outline-color: transparent;
  outline-style: solid;
  box-shadow: 0 0 0 4px black;
  transition: 0.9s;
}

.booking-button-homepage:active {
  background-color: #baa94a;
}

.why-jaclyn p {
  color: grey;
  line-height: 1.6;
  font-size: 3vh;
  word-wrap: break-word;
}

.why-jaclyn {
  background-color: #f0f0f0;
  padding: 20px;
}

.why-jaclyn h1 {
  color: #c2a76b;
  font-size: 29px;
}

.why-jaclyn h2 {
  color: black;
  font-size: 50px;
  font-family: 'Times New Roman', Times, serif;
  margin-top: -50px;
}

.why-jaclyn p {
  color: grey;
  line-height: 1.6;
  font-size: 22px;
  margin-top: 10px;
}

/* Center info sections */
.info-section,
.info-section-reversed {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-top: 130px;
  background: white;
}

.info-section h1, .info-section h2, .info-section p, .info-section .learn-more-button,
.info-section-reversed h1, .info-section-reversed h2, .info-section-reversed p, .info-section-reversed .learn-more-button-reversed {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.info-section h1, .info-section-reversed h1 {
  animation-delay: 0.2s;
}

.info-section h2, .info-section-reversed h2 {
  animation-delay: 0.4s;
}

.info-section p, .info-section-reversed p {
  animation-delay: 0.6s;
}

.info-section .learn-more-button, .info-section-reversed .learn-more-button-reversed {
  animation-delay: 0.8s;
}

.info-section img, .info-section-reversed img {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
}

.info-section-reversed {
  margin-bottom: 5rem;
}

.info-section h1,
.info-section-reversed h1 {
  color: #c2a76b;
  font-size: 30px;
}

.info-section h2,
.info-section-reversed h2 {
  color: black;
  font-size: 40px;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 20px;
}

.info-section p, .info-section-reversed p {
  color: grey;
  line-height: 1.6;
  font-size: 22px;
  margin-top: 10px;
}

.info-section .text-content, .info-section-reversed .text-content-reversed {
  padding-right: 20px;
  padding-left: 20px;
  text-align: center;
}

.info-section img, .info-section-reversed img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 20px;
}

/* Make the services image bigger on desktop */
.info-section img {
  max-width: 100%;
  width: 750px;
}

/* Responsive image sizing for tablets and smaller */
@media (max-width: 768px) {
  .info-section img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .info-section img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}


@media (min-width: 1000px) {
  .info-section, .info-section-reversed {
    flex-direction: row;
    justify-content: space-between;
  }

  .info-section-reversed {
    flex-direction: row-reverse;
  }

  .info-section .text-content, .info-section-reversed .text-content-reversed {
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
  }

  .info-section img, .info-section-reversed img {
    margin-top: 0;
  }
}


.learn-more-button, .learn-more-button-reversed {
  display: inline-block;
  background-color: #0f0f0f;
  color: white;
  height: 7rem;
  width: 12rem;
  font-size: 25px;
  font-family: times, serif;
  margin-top: 20px;
  text-align: center;
  line-height: 7rem;
  text-decoration: none;
  transition: background-color 0.7s;
  border-radius: 5px;
}

.learn-more-button:hover, .learn-more-button-reversed:hover {
  background-color: #c1b46c;
}

.learn-more-button:focus, .learn-more-button-reversed:focus {
  outline: none;
  box-shadow: 0 0 0 4px black;
  transition: box-shadow 0.9s;
}

.learn-more-button:active, .learn-more-button-reversed:active {
  background-color: #baa94a;
}

.a1 {
  position: absolute;
  color: black;
  text-decoration: none;
  left: 150px;
  top: 70px;
  font-size: 30px;
  font-weight: 700;
}

.a2 {
  position: absolute;
  color: black;
  text-decoration: none;
  top: 70px;
  left: 350px;
  font-size: 30px;
  font-weight: 700;
}

.a3 {
  position: absolute;
  color: black;
  text-decoration: none;
  top: 70px;
  left: 1050px;
  font-size: 30px;
  font-weight: 700;
}

.a4 {
  position: absolute;
  color: black;
  text-decoration: none;
  top: 70px;
  left: 1250px;
  font-size: 30px;
  font-weight: 700;
}

.reviews {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-x: auto;
  padding: 20px 0;
  gap: 20px;
}

.reviews::-webkit-scrollbar {
  width: 4px;
  height: 5px;
}

.reviews::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.reviews::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 4px;
}

.review-title {
  color: #c2a76b;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

.review-card {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 29%;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.review-info h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.review-text {
  font-size: 22px;
  line-height: 1.5;
  color: grey;
  margin-top: 10px;
  flex-grow: 1;
}

.review-rating {
  display: flex;
  align-items: center;
  color: #ffc107;
  margin-bottom: 8px;
}

.review-rating .star {
  font-size: 30px;
  color: #ffc107;
  margin-right: 5px;
}

.review-rating .star.checked {
  color: #ffc107;
}

/* Media Queries for Responsive Design */
@media (max-width: 1200px) {
  .review-card {
    width: calc(45% - 10px);
  }
}

@media (max-width: 1000px) {
  .reviews {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
  }

  .review-card {
    width: calc(60% - 20px);
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .review-card {
    width: calc(80% - 20px);
    margin-right: 20px;
  }
}

@media (max-width: 480px) {
  .review-card {
    width: calc(100% - 20px);
    margin-right: 0;
  }
}


.slider-wrapper {
  position: relative;
  max-width: 48rem;
  margin: 0 auto;
}

.contact-location {
  background-color: #ffffff;
  padding: 20px 0;
  position: relative;
  margin-top: 6rem;
  color: black;
}

.contact-location .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  color: black;
  background-color: #f3f3f3;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-location h1 {
  color: #c2a76b;
  font-size: 35px;
}

.contact-location h2 {
  color: black;
  font-size: 50px;
  font-family:'Times New Roman', Times, serif;
}

.map-container {
  max-width: 40rem;
  margin: 0 auto;
  margin-bottom: 10px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.contact-info p{
  font-size: 20px;
}

#homepage-footer-container {
  position: relative;
  top: 9rem;
}

#homepage-footer-button {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 6rem;
}

#homepage-footer-copyright-text {
  position: relative;
  top: 6.5rem;
}

/* Prevent text selection from causing layout jumps */
.why-jaclyn, .why-jaclyn * {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

.why-jaclyn h1, .why-jaclyn h2, .why-jaclyn p {
  position: static;
  margin: 1rem auto;
}

/* Homepage Google Reviews Section */
.reviews-section-homepage {
  background-color: #ffffff;
  padding: 60px 5%;
  margin-top: 80px;
}

.review-title-homepage {
  text-align: center;
  font-size: 2.5rem;
  color: #c2a76b;
  margin-bottom: 30px;
  font-family: 'Spectral', serif;
}

.overall-rating-homepage {
  text-align: center;
  margin-bottom: 40px;
}

.rating-summary-homepage {
  display: inline-block;
  padding: 15px 30px;
  background: rgba(194, 167, 107, 0.1);
  border-radius: 8px;
}

.stars-homepage {
  font-size: 36px;
  margin-bottom: 10px;
}

.stars-homepage .star {
  color: #ffd700;
  margin-right: 5px;
}

.rating-text-homepage {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

.loading-state-homepage {
  text-align: center;
  padding: 40px;
  color: #666;
}

.loading-state-homepage i {
  font-size: 36px;
  color: #c2a76b;
  margin-bottom: 15px;
}

.reviews-homepage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 0 auto;
  max-width: 1400px;
}

.reviews-homepage .review-card {
  flex: 1 1 300px;
  max-width: 400px;
  min-width: 300px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  min-height: 250px;
}

.reviews-homepage .review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.view-more-homepage {
  text-align: center;
  margin-top: 40px;
}

.view-more-btn-homepage {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #c2a76b, #8b7355);
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(194, 167, 107, 0.3);
}

.view-more-btn-homepage:hover {
  background: linear-gradient(135deg, #d4c08d, #c2a76b);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 167, 107, 0.5);
}

.view-more-btn-homepage i {
  margin-left: 8px;
}

@media (max-width: 768px) {
  .reviews-homepage {
    grid-template-columns: 1fr;
  }
  
  .review-title-homepage {
    font-size: 2rem;
  }
}

.navbar-menu .book-now-nav {
    background: linear-gradient(135deg, #c5a663, #c2a76b);
    color: #000;
    font-weight: bold;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: #c2a76b
}

.navbar-menu .book-now-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 242, 242, 0.6);
    color: #000;
}
