/* =========================
   Base Styles
========================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'Albert Sans', sans-serif;
  color: #4c4637;
}

p {
  line-height: 1.6;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =========================
   Header & Navigation
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #4a5d23;
  color: #daded8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-sizing: border-box;
  padding: 0 4rem;
}

.site-logo {
  max-width: 120px;
}

nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  padding-left: 10rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 18px;
}

nav ul li a {
  color: #daded8;
  text-decoration: none;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Desktop-only nav */
.desktop-nav {
  display: flex;
}

/* Mobile menu toggle */
.menu {
  display: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: white;
  text-decoration: underline;
}

/* Dropdown menu (mobile) */
.dropdown {
  display: none;
  flex-direction: column;
  text-align: center;
  position: absolute;
  left: 0;
  width: 100%;
  gap: 2rem;
  background-color: #4a5d23;
  padding: 2rem 0;
  z-index: 2000;
}

.dropdown a {
  color: #daded8;
  text-decoration: none;
  font-size: 1rem;
}

.dropdown.show {
  display: flex;
}

/* =========================
   Buttons
========================= */
.book-btn, .book-btn-home, .giftvoucher-btn {
  color: #daded8;
  font-weight: bolder;
  background: #4c4637;
  border: none;
  border-radius: 115px;
  cursor: pointer;
  text-decoration: none;
}

.book-btn {
  font-size: 18px;
  padding: 0.75rem 1.5rem;
  margin-left: 10rem;
}

.book-btn-home, .giftvoucher-btn {
  font-size: 18px;
  padding: 1rem 3rem;
  margin-left: 0;
}

.book-btn:hover, .book-btn-home:hover, .giftvoucher-btn:hover {
  background: #807966;
  text-decoration: underline;
}

/* =========================
   Body (welcome page)
========================= */

/* Section 1: Carousel */
.section-1 {
  margin-top: 5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 3rem;
  height: 80vh;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: block;
}

.carousel-slide.active {
  opacity: 1;
}

.mobile-text-container {
  display: none;
}

/* Section 2 */
.Section-2 {
  background-color: #98a281;
  border-top-left-radius: 600px;
  border-bottom-left-radius: 600px;
  margin-left: 8%;
  max-width: 3000px;
  height: 60vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-circle {
  position: absolute;
  left: 2%;
  width: 50vh;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.Section-2-text {
  font-size: 3vh;
  max-width: 45%;
  padding-left: 20%;
  padding-bottom: 2%;
}

.section2-p2 {
  padding-bottom: 1rem;
}

/* Section 3 */
.section-3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
  text-align: center;
  padding: 4rem 11%;
}

.Section-3-text {
  flex: 1;
  font-size: 3vh;
  line-height: 1.6;
}

.section-3-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.section-3-image {
  width: 40vh;
  height: 40vh;
  max-width: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Section 4 */
.section-4 {
  background-color: #98a281;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  height: 60vh;
  width: 100%;
  max-width: 3000px;
}

.section-4-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90vh;
  height: 50vh;
  margin-top: 5rem;
  overflow: hidden;
  align-self: flex-end;
}

.section-4-text {
  font-size: 3vh;
  max-width: 20%;
  padding-bottom: 3rem;
}

/* Section 5 */
.section-5 {
  width: 100%;
  max-width: 3000px;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 5%;
}

.massage-logo,
.southern-cross {
  height: 20vh;
}

/* =========================
   Footer
========================= */
footer {
  background-color: #4a5d23;
  color: #daded8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2rem;
}

.footer-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.footer-text {
  padding-top: 1rem;
}

.map-link, .phone-number, .policy-link a {
  text-decoration: none;
  color: #daded8;
}

.map-link:hover, .phone-number:hover, .policy-link a:hover {
  text-decoration: underline;
}

.facebook-logo, .instagram-logo {
  height: 50px;
}

/* =========================
   Booking Modal
========================= */
.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.booking-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  height: 80%;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.close-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: #2b361c;
  color: #fefae3;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;
}

/* =========================
   Media Queries
========================= */

/* Tablets <= 1024px */
@media (max-width: 1024px) {
  .site-logo {
    max-width: 100px;
  }

  nav {
    padding-left: 2rem;
  }

  nav ul {
    font-size: 12px;
  }

  .book-btn {
    font-size: 16px;
    padding: 0.6rem 1.2rem;
    margin-left: 2rem;
    display: block;
  }

  /* Section 2 tablet */
  .Section-2 {
    flex-direction: column;
    padding: 2rem;
    height: auto;
    margin-left: 0;
    border-radius: 0;
  }

  .logo-circle {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 2rem;
    margin-left: -5%;
  }

  .logo {
    height: 70%;
  }

  .Section-2-text {
    max-width: 90%;
    text-align: center;
    font-size: 2.5vh;
    padding: 0 10%;
  }

  .book-btn-home {
    font-size: 20px;
    padding: 0.8rem 2rem;
    margin-left: 0;
    margin-top: 1rem;
  }

  .section-3 {
    flex-direction: column;
    padding: 3rem 5%;
    gap: 2rem;
  }

  .Section-3-text {
    font-size: 2.5vh;
    text-align: center;
    padding: 0 10%;
  }

  .section-3-image {
    height: 250px;
    width: 250px;
  }

  .section-4 {
    flex-direction: column;
    height: auto;
  }

  .section-4-image {
    width: 600px;
    height: 300px;
    margin-top: -1rem;
    margin-left: auto;
    margin-right: auto;
    order: 2;
    align-self: center;
  }

  .section-4-text {
    max-width: 80%;
    margin-left: 0;
    padding: 0 15%;
    font-size: 2.5vh;
    text-align: center;
    order: 1;
    padding-bottom: 3rem;
  }

  .section-5 {
    flex-wrap: wrap;
    height: auto;
    padding: 3rem 5%;
    gap: 3rem;
  }

  .massage-logo,
  .southern-cross {
    height: 120px;
  }
}

/* Mobiles <= 768px */
@media (max-width: 768px) {
  /* Header */
  header {
    position: relative;
    flex-direction: column;
    height: 100px;
  }

    .book-btn {
    display: none;
    margin: 0;
    width: auto;
  }

  .site-logo {
    max-width: 100px;
    margin-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Hide desktop nav, show menu */
  .desktop-nav {
    display: none;
  }
  .menu {
    display: block;
  }

  nav {
    width: 100%;
    position: relative;
  }

  .dropdown {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: absolute; /* Change to absolute to make it non-sticky */
    left: 0;
    background-color: #4a5d23;
    width: 100%;
    z-index: 2000;
    padding: 0;
    margin: 0;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }


  .dropdown.show {
    display: flex;
  }


  /* Section 1 carousel */
  .section-1 {
    margin-top: 0px;
    height: 255px;
    padding-bottom: 15%;
  }

  /* Section 2 mobile */
  .Section-2 {
    flex-direction: column;
  }

  .logo-circle {
    margin-top: 8%;
  }

  .Section-2-text {
    font-size: 2.3vh;
  }

  .book-btn-home {
    font-size: 2vh;
    padding: 1rem 2rem;
  }

  /* Section 3 mobile */
  .section-3 {
    padding: 2rem 5%;
  }

  .section-3-image {
    width: 220px;
    height: 220px;
  }

  /* Section 4 mobile */
  .section-4 {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .section-4-image {
    width: 450px;
    height: 250px;
    order: 2;
    margin: -2rem 0 0 0;
    position: static;
    align-self: center;
  }
    .giftvoucher-btn {
    font-size: 2vh;
    padding: 1rem 2rem;
  }


  .section-4-text {
    max-width: 90%;
    margin: 0 auto;
    font-size: 2.2vh;
    text-align: center;
    order: 1;
    padding-bottom: 3rem;
  }

  .p-2-section-4 {
    padding-bottom: 15%;
  }

  /* Section 5 mobile */
  .section-5 {
    flex-wrap: wrap;
    height: auto;
    padding: 2rem 0;
    gap: 2rem;
  }

  .massage-logo,
  .southern-cross {
    height: 100px;
  }

  /* Footer mobile */
  footer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    font-size: 1.5vh;
  }

  .footer-icons {
    justify-content: center;
  }

  .container {
    min-height: auto;
  }
  

 /*booking modal */
  .booking-content {
  width: 95%;
  height: 70%;
  max-width: 95%;
  border-radius: 8px;
}

.close-button {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}
}
