@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Trirong:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  margin: 0;
}

.top-banner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.banner-img {
  width: 100%;               /* ensures image fills the container horizontally */
  height: 100%;              /* keeps height matching the container */
  object-fit: cover;         /* ensures image covers container without distortion */
  object-position: center;   /* centers the image */
}

.top-banner h1 {
  position: absolute;
  font-family: "Trirong", serif;
  font-size: 50px;
  font-weight: 600;
  color: white;
   text-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.8),  /* deeper shadow for more contrast */
    0 0 10px rgba(0, 0, 0, 0.5);    /* soft glow effect */
  letter-spacing: 2px;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2); /* adds subtle outline */
  margin-top: 300px;
  margin-left: 150px;
}



/* Responsive adjustment */
@media (max-width: 768px) {
  .centered-text {
    left: 5%;
  }

  .centered-text h1 {
    font-size: 48px;
    font-weight: 50px;
  }
}

/* Bottom color panel under the hero image */
.bottom-panel {
  position: relative; 
  background-color: #5a653b;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Trirong", serif;
  color: white;
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  z-index: 9999;
  will-change: transform;
  transition: transform 0s; /* no delay, real-time update */
}

.bottom-nav {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}

.nav-label {
  font-size: 15px;
  font-weight: 200px;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-label:hover {
  color: #d4c89a;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .bottom-panel {
    height: 100px;
    font-size: 16px;
    padding: 0 20px;
  }
}

.hidden {
  display: none;
}

/* Modal styling */
.modal {
  display: none; /* hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999; /* <- add this line */
}


.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #fff;
  z-index: 10000; /* make sure close button is above everything */
}

.modal img {
  max-width: 40%;
  max-height: 40%;
  transition: transform 0.3s ease;
  cursor: zoom-in;
  touch-action: none; /* needed for touch gestures */
  position: relative;
  margin-left: 40%;
}

.modal img.zoomed {
  cursor: grab;
}

.modal img.dragging {
  cursor: grabbing;
}

.arrow {
  position: absolute;
  top: 50%;
  color: #fff;
  font-size: 50px;
  padding: 10px;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10001;
  background-color: rgba(0,0,0,0.3);
  border-radius: 50%;
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
}

.thumbnails img.thumb {
  width: 80px;
  height: auto;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.thumbnails img.thumb.active {
  border-color: #fff;
}
.hidden {
  display: none;
}

.label-text {
  background-color: #ffffff;         /* clean white background */
  width: 100%;
  padding: 60px 0;                  /* vertical spacing */
  text-align: center;               /* center the text */
  font-family: "Trirong", serif;
  color: #3a3a3a;                   /* elegant dark gray text */
  
}

.label-text h1 {
  font-size: 52px;
  font-weight: 800;
  color: #5a653b;                   /* spa green tone */
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.label-text h2 {
  font-size: 28px;
  font-weight: 500;
  color: #8a7b5f;                   /* softer neutral color */
  margin-top: -25px;
  letter-spacing: 1px;
}

/* Optional: subtle fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.label-text h1, 
.label-text h2 {
  animation: fadeInUp 0.8s ease both;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .label-text {
    padding: 40px 20px;
  }

  .label-text h1 {
    font-size: 36px;
  }

  .label-text h2 {
    font-size: 20px;
  }
}

.service-description {
  max-width: 900px;
  margin: 20px auto 10px auto;
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  font-family: "Poppins", sans-serif;
  text-align: center;
  padding: 0 30px;
}

.service-description strong {
  color: #5a653b; /* same green accent as heading */
  font-weight: 600;
}

.tagline {
  margin-top: 15px;
  font-size: 20px;
  color: #7a6b4b; /* warm neutral tone */
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-align: center;
  font-family: "Trirong", serif;
  animation: fadeInUp 1s ease both;
}

/* Optional: Soft fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Each massage panel */
.massage-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  background-color: #fff;
  padding: 50px 0;
  margin-top: -110px;
}

.massage-card {
  background-color: #f9efe4;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 360px;
  transition: transform 0.3s ease;
}

.massage-card:hover {
  transform: translateY(-5px);
}

.image-container {
  position: relative;
  overflow: hidden;
  
}

.image-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
  
}

/* Hover overlay text */
.hover-text {
  position: absolute;
  inset: 0;
  background: rgba(133, 131, 131, 0.65);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

.image-container:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.image-container:hover .hover-text {
  opacity: 1;
}

/* Bottom info */
.massage-info {
  padding: 20px;
  text-align: left;
  font-family: "Poppins", sans-serif;
}

.massage-info h3 {
  font-size: 18px;
  color: #5a4632;
  font-weight: 600;
  margin-bottom: 10px;
}

.massage-info p {
  font-size: 14px;
  color: #6d5a47;
  margin: 4px 0;
}

.book-btn {
  background-color: #5a653b;
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 5px;
  margin-top: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: block;
  margin-left: auto;   /* pushes button to the right */
  margin-right: 0;     /* optional */
}


.book-btn:hover {
  background-color: #8a6b4d;
}

/* Responsive */
@media (max-width: 992px) {
  .massage-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .massage-card {
    width: 90%;
  }
}


.section-divider {
  display: block;
  width: 75%;
  margin: 30px auto;
  border: none;
  border-top: 3px solid rgba(212, 177, 152, 0.8);
  background-color: transparent !important;
}

.massage-gallery,
.label-text {
  position: relative;
  z-index: 1;
  background: none;
}





.popup-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #5a653b;
  height: 70px;
  padding: 15px 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: none;
  display: block;
  z-index: 10000;
  
}

.popup-panel.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.popup-panel{
  transition: top 0.3s ease-out; /* smooth slide */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.popup-panel.hide {
  top: -100px; /* move it above the viewport */
}

.popup-panel {
  transition: top 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.popup-panel:not(.show) {
  opacity: 0;
  pointer-events: none; /* so it’s not clickable when hidden */
}



/* Flex layout for menu */
.menu {
  display: flex;
  justify-content: center;

  
}

.notification-dropdown {
  position: relative;
  display: inline-block;
}

.notification-icon {
  width: 26px;
  height: 26px;
  cursor: pointer;
  vertical-align: middle;
  margin-left: 10px;
  position: absolute;
  left: 750px; /* adjust beside account icon */
  top: 2px;
  transition: transform 0.2s ease;
  margin-top: -6px;
}

.notification-icon:hover {
  transform: scale(1.1);
}

/* Notification dropdown box */
.notification-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 530px; /* align with your current account menu layout */
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  min-width: 240px;
  padding: 12px 10px;
  z-index: 10000;
  
}

.notification-content::before {
  content: '';
  position: absolute;
  top: -8px;
  right: 18px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent white transparent;
  
}

.notification-content.show {
  display: block;
  margin-top: 50px;
}

.notification-content .notif-title {
  font-weight: bold;
  color: #5a653b;
  border-bottom: 1px solid #ddd;
  margin-bottom: 8px;
  padding-bottom: 6px;
  text-align: center;
  font-family: "Trirong", serif;
  
}

#notifList p {
  font-size: 0.9em;
  margin: 6px 0;
  color: #333;
  font-family: "Poppins", sans-serif;
  
}

#notifList p:hover {
  background-color: #f3f3f3;
  border-radius: 5px;
  padding: 5px;
  
}
.account-icon {
  width: 30px; /* try increasing if it's too small */
  height: 30px;
  vertical-align: middle;
  cursor: pointer;
  margin-top: -5px;
  position: absolute;
  left: 700px;  /* moves it to the right edge */
}


/* Menu item styling */
.menu-item {
  position: relative;
  border-radius: 5px;
  color: #fafafa;                       /* White-ish text */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: background-color 0.2s ease;
  font-family: "Trirong", serif;       /* Elegant serif font */
  text-decoration: none;
  display: inline-block;
  font-size: 16.5px;                     /* Adjust as needed */
  font-weight: 400;                    /* Match screenshot weight */
      
}
.menu-item:last-child {
  margin-right: 0;
}


/* Center-growing underline effect */
.menu-item::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease, left 0.3s ease;
  transform: translateX(-50%);
}

.menu-item:hover::after {
  width: calc(100% - 40px);
}

/* Dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  font-family: "Trirong", serif;
  display: block;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 600px;

  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  min-width: 150px;
  z-index: 10000;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dropdown-content a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-content a:hover {
  background-color: #5a653b;
  color: white;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Flex container for logo + menu */
.menu-wrapper {
  display: flex;
  align-items: center; /* vertical alignment */
  justify-content: center; /* center everything horizontally */
  gap: 10px; /* space between logo and menu */
  margin-left: -750px;
  margin-top: -15px;
}

/* Logo styling */
.logo-container .logo {
  height: 100px; /* adjust logo size */
  margin-left: 0px;
  
}

/* Menu styling */
.menu {
  display: flex;
  gap: 50px; /* space between menu items */
}
.logo{
  margin-right: 20px;
}

/* Remove margin-left hack */
.menu {
  margin-left: 0;
}


/* Responsive design */
@media (max-width: 768px) {
  .menu {
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .menu-item {
    padding: 8px 15px;
    font-size: 0.9em;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: 20px;
  }
  
  .footer-nav {
    gap: 20px;
  }
}

footer {
  position: relative; /* For absolute footer bottom line */
  background-color: #d8c6ab;
  font-family: 'Poppins', Arial, sans-serif;
  
}

/* MAIN FOOTER CONTAINER */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #dcc7a4;
  padding: 60px 170px;
  flex-wrap: wrap;
  box-sizing: border-box;
  height: auto;
  width: 100%;
 
}

/* LEFT SECTION */
.footer-left {
  max-width: 350px;
  text-align: left;
}

.footer-left p {
  color: #333;
  line-height: 1.8;
  margin-bottom: 15px;
}

.social-link {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.social-link img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-link img:hover {
  transform: scale(1.1);
}

/* CENTER SECTION (NAVIGATION + MENU) */
.footer-center {
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: center;
}

.nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-column h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #2d2d2d;
}

.nav-column a {
  color: #444;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.nav-column a:hover {
  color: #9d7002;
}

/* RIGHT SECTION (LOGO) */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-right .logo {
  width: 400px;
  height: auto;
  margin-bottom: 15px;
}

/* COPYRIGHT + POLICY LINE (BOTTOM SINGLE LINE) */
.footer-bottom {
  position: absolute;
  bottom: 10px;
  left: 200px;
  white-space: nowrap; /* Keep in one line */
  font-size: 13px;
  color: #333;
  font-family: 'Poppins', Arial, sans-serif;
}

/* Adds nice spacing between “All rights reserved.” and policy links */
.footer-bottom span {
  margin-right: 200px; /* ✅ space between text and links */
  margin-left: 130px;
}

.footer-bottom a {
  color: #333;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #9d7002;
}



 
