:root {
  --color-bg: #FFFBF4;
  --color-cream: #F0EADC;
  --color-sand: #C7AF94;
  --color-mocha: #8C7357;
  --color-peach: #E8B59F;
  --color-rose: #AE7869;
  --color-cocoa: #7C554B;
  --color-cocoa-deep: #65443b;
  --color-deep: #3D1E16;

  --font-main: 'Afacad', sans-serif; 
}

@font-face {
  font-family: 'Soligant';
  src: url('fonts/Soligant.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* NAVBAR BASE */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: stretch; 
  height: 80px; 
  padding: 0 60px;
  background: transparent;
  border-bottom: 2px solid var(--color-cream);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  max-width: 100vw;
  box-sizing: border-box;
}

.navbar.scrolled {
  background-color: rgba(255, 251, 244, 0.95);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.logo img {
  height: 60px;
  margin-top: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links li a {
  position: relative;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-deep);
  padding-bottom: 5px;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--color-rose);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-menu {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.book-btn {
  height: 100%;
  display: flex;
  align-items: center;
}

.book-btn a {
  display: flex;
  letter-spacing: 0.05em;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 30px;
  background-color: var(--color-rose);
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  border-radius: 0;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.book-btn a:hover {
  background-color: var(--color-cocoa);
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-deep);
}

.nav-menu {
  display: none;
}

.desktop-only {
  display: flex;
}

.dropdown .submenu {
  display: none;
  flex-direction: column;
  padding-left: 20px;
  margin-top: 10px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  overflow: scroll;
  
}

.dropdown.open .submenu {
  display: flex;
  max-height: 500px;
  
}

.dropdown-toggle .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

/* Align icon images to the right inside submenu */
.submenu li a {
  display: flex;
  justify-content: space-between; /* Text left, icon right */
  align-items: center;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--color-cocoa) !important;
  text-decoration: none;
}

.submenu li a::after {
  display: none !important;
}

/* Icon size */
.menu-icon {
  width: 80px;
  height: 80px;
  margin-left: 10px;
}

/* Separator line */
.submenu li {
  border-bottom: 1px solid #ddd;
}

.submenu li:last-child {
  border-bottom: none;
}



/* BANNER */

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  gap: 10px;
  height: 100%;
}

.banner-slide {
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.banner-left {
  flex: 1;
  color: var(--color-cocoa-deep);
}

.banner-title {
  font-family: 'Soligant', serif;
  font-size: 4rem;
  margin-bottom: 20px;
}

.banner-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--color-cocoa);
  /*text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);*/
}

.banner-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  flex: 1 1 200px; 
  text-align: center;
  min-width: 150px;
  font-size: 1.2rem;
}

.btn.primary {
  background-color: var(--color-rose);
  color: white;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid var(--color-rose);
  color: var(--color-rose);
  transition: all 0.3s ease;
}

.btn.primary:hover {
  background-color: var(--color-cocoa);
}

.btn.secondary:hover {
  background-color: var(--color-cocoa);
  color: white;
  border: 2px solid var(--color-cocoa);
}

.banner-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.banner-right img {
  max-width: 80%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

/* Banner 2 overrides */
.banner2 .banner-content {
  gap: 100px; /* wider gap between image and text */
}

.banner2 .banner-right {
  flex: 1.3; /* make image side larger */
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.banner2 .banner-right img {
  max-width: 85%;
  width: 85%;
  height: auto;
  margin-top: 60px;
  margin-right: 60px;
}

.banner2 .banner-left {
  flex: 0.9; /* make text side smaller */
}

.banner2 .banner-subtitle {
  display: block;
  margin-bottom: 14px;
}

.banner2 .banner-subtitle strong{
  display: block;
  margin-bottom: 14px;
}

/* Banner 3 overrides */
.banner3 .banner-content {
  gap: 40px; /* wider gap between image and text */
}

.banner3 .banner-right {
  flex: 01.1; 
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.banner3 .banner-right img {
  max-width: 95%;
  width: 95%;
  height: auto;
  margin-top: 60px;
}

.banner3 .banner-left {
  flex: 0.9; 
}

.banner3 .banner-subtitle {
  display: block;
  margin-bottom: 14px;
}

.banner3 .banner-subtitle strong{
  display: block;
  margin-bottom: 14px;
}

/* Banner 4 overrides */
.banner4 .banner-content {
  gap: 40px; /* wider gap between image and text */
}

.banner4 .banner-right {
  flex: 01.1; 
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.banner4 .banner-right img {
  max-width: 95%;
  width: 95%;
  height: auto;
  margin-top: 80px;
}

.banner4 .banner-left {
  flex: 0.9; 
}

.banner4 .banner-subtitle {
  display: block;
  margin-bottom: 14px;
}

.banner4 .banner-subtitle strong{
  display: block;
  margin-bottom: 14px;
}

.banner5 .banner-content {
  gap: 80px;
}

.banner5 .banner-left {
  flex: 1;
}

.banner5 .banner-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.banner5 .banner-right img {
  max-width: 90%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}





.banner1 {
  background: linear-gradient(160deg, #C7AF94 0%, #F0EADC 71%);
}
.banner2 {
  background: linear-gradient(160deg, var(--color-cream) 16%, var(--color-peach) 100%);
}
.banner3 {
  background: linear-gradient(160deg, var(--color-cream) 16%, var(--color-peach) 100%);
}
.banner4 {
  background: linear-gradient(160deg, var(--color-peach) 0%, var(--color-cream) 65%);
}
.banner5 {
  background: linear-gradient(160deg, #C7AF94 0%, #F0EADC 71%);
}



/* Swiper Buttons */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  padding: 20px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev { left: 20px; }
.swiper-button-next { right: 20px; }

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(99, 48, 14, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-content {
  flex-direction: column;
  text-align: center;
  align-items: center;
  padding: 20px;
  gap: 30px;
}

.banner-slide {
  height: auto;
  min-height: auto;
  padding: 80px 0 60px;
}

.banner-left,
.banner-right {
  width: 100%;
  text-align: center;
}

.banner-right img {
  max-width: 90%;
  margin: 30px auto 0;
  display: block;
  height: auto;
  object-fit: contain;
}

.banner-title {
  font-size: 2.5rem;
}

.banner-subtitle {
  font-size: 1.1rem;
  margin-bottom: 16px;
  padding: 0 10px;
}

.banner-subtitle strong {
  font-size: 1.3rem;
  margin-bottom: 12px;
  display: block;
}

.banner-buttons {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0 10px;
}

.btn {
  width: 90%;
  max-width: 300px;
  font-size: 1rem;
  padding: 12px 20px;
  flex: none;
}

.swiper-button-next,
.swiper-button-prev {
  padding: 12px;
  font-size: 1.5rem;
}

.banner3 .banner-content,
.banner4 .banner-content {
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  padding: 0px 0px;
  gap: 5px !important;
}

  .banner3 .banner-left,
  .banner3 .banner-right,
  .banner4 .banner-left,
  .banner4 .banner-right {
    width: 100%;
    flex: unset;
  }

  .banner3 .banner-right,
  .banner4 .banner-right {
    margin-bottom: 5px;
  }


  .banner3 .banner-right img,
  .banner4 .banner-right img {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    height: auto;
  }

  .banner5 .banner-content {
    flex-direction: column;
    text-align: center;
    padding-bottom: 80px;
  }

  .banner5 .banner-right {
    order: -1; /* Show image above text */
    justify-content: center;
  }

  .banner5 .banner-right img {
    width: 85%;
    margin-top: 40px;
  }

  .banner1 .banner-title {
    margin-top: 80px;
  }

  /* Banner 1: Reduce gap between image and text */
  .banner1 .banner-content {
    gap: 10px;
  }






  .nav-right,
  .book-btn.desktop-only {
    display: none;
  }

  .navbar {
    padding: 0 20px; /* Logo & burger closer to edges */
    justify-content: space-between;
  }

  .logo img {
    height: 50px;
    margin-top: 10px;
  }

  .hamburger {
    display: block;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--color-deep);
  }

  .nav-menu {
  display: none;
  position: fixed; /* Fixed instead of absolute for full width */
  top: 80px;
  left: 0;
  right: 0;
  width: 100vw; /* Ensure it spans full viewport width */
  background-color: var(--color-bg);
  border-top: 1px solid var(--color-cream);
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  overflow-x: hidden; /* Prevent horizontal scroll */
  box-sizing: border-box;
}


  .nav-menu.active {
    display: block;
  }

  /* Remove inner padding so it touches edges */
  .nav-menu ul,
.nav-links {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  width: 100%; /* Ensure no overflow */
}

  .nav-links li{
  width: 100%;
  box-sizing: border-box;
}

  .nav-links li a {
  font-size: 1.1rem;
  color: var(--color-deep);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
  .dropdown-toggle::after {
    content: "▼";
    margin-left: 8px;
    font-size: 0.7em;
  }

  .mobile-book-btn {
    margin-top: 10px;
    padding: 14px 20px;
  }

  .mobile-book-btn a {
  background-color: var(--color-rose);
  color: #fff !important; /* Force white text */
  text-align: center;
  display: inline-block !important;
  width: auto; /* Or 90% for full width */
  padding: 12px 24px;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

  /* Submenu styling */
  .submenu {
  width: 100%;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  
}

  .submenu li {
    border-bottom: 1px solid var(--color-sand);
    width: 100%;
    box-sizing: border-box;
  }

  .submenu li:last-child {
    border-bottom: none;
  }

  .submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }

  .submenu li a img.menu-icon {
    max-width: 60px;
    max-height: 60px;
    margin-left: 10px;
    flex-shrink: 0;
  }
}


@media (min-width: 769px) {
  .dropdown {
    position: relative;
  }

  .dropdown .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg);
    border: 1px solid #ddd;
    padding: 10px 0;
    z-index: 999;
    min-width: 300px;
    display: none;
  }

  .dropdown.open .submenu {
    display: block;
  }

  .submenu li {
    border-bottom: 1px solid var(--color-sand);
  }

  .submenu li:last-child {
    border-bottom: none;
  }

  /* Icon size */
  .submenu li a img.menu-icon {
    width: 70px;
    height: 70px;
    margin-left: 10px;
    flex-shrink: 0;
  }

  .submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--color-deep);
    text-decoration: none;
    white-space: nowrap; /* Prevent text from breaking */
  }

  .submenu li a:hover {
    background-color: var(--color-cream);
  }
}

/* SECTIONS */
#treatments,
#services,
#testimonials {
  padding: 80px 40px;
}

.treatment-carousel,
.services-list,
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* FOOTER */
footer {
  padding: 20px 40px;
  background-color: #222;
  color: white;
  text-align: center;
}




