html,
body {
  overflow-x: hidden;
  box-sizing: border-box;
}


/* =================================== */
/* NEW: Intro Section (Image/Text)     */
/* =================================== */
.intro-section {
  padding: 80px 20px;
  background-color: #fff;
}

.intro-layout {
  display: flex;
  align-items: center;
  /* Vertically align text and image */
  gap: 50px;
}

.intro-text-col {
  flex: 1;
  max-width: 50%;
}

.intro-image-col {
  flex: 1;
  max-width: 50%;
  /* Container for the image and the decoration */
  position: relative;
  padding: 20px;
  /* Padding to ensure the decoration box has space around the image */
}

/* Text Styling */
.intro-subtitle {
  color: var(--secondary-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.intro-title {

  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--primary-text);
}

.intro-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--secondary-text);
}

/* Image and Decoration Styling */
.intro-image-container {
  position: relative;
  z-index: 1;
  /* This ensures the entire column uses the space, but we control the image/decoration size */
}

.main-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  z-index: 2;
  position: relative;
  border-radius: 6px;
  /* Bring image slightly forward */
}

.image-decoration {
  /* The pink decorative block */
  position: absolute;
  bottom: -10%;
  /* Move slightly below the image */
  right: -10%;
  top: -80%;
  rotate: -90deg;
  /* Move slightly to the right of the image */
  width: 80%;
  /* Adjust size relative to the container */
  height: 80%;
  background-color: var(--accent-pink);
  opacity: 0.3;
  /* Make it subtle */
  z-index: 0;
  /* Keep it behind the image */
  border-radius: 4px;
  /* Subtle rounding */
  margin-right: -100px;
}

/* Tablet and Mobile Responsiveness for Intro Section */
/* Tablet: Switch to stacked layout earlier to prevent cramped side-by-side */
@media (max-width: 1024px) {
  .intro-layout {
    flex-direction: column;
    gap: 30px;
  }

  .intro-text-col,
  .intro-image-col {
    max-width: 100%;
  }

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

  .intro-image-col {
    padding: 10px;
    /* Reduce padding on tablet/mobile */
  }

  .image-decoration {
    bottom: -5%;
    right: -5%;
    width: 90%;
    height: 90%;
  }
}

/* Mobile: Further refinements for smaller screens */
@media (max-width: 600px) {
  .intro-title {
    font-size: 2rem;
  }

  .intro-subtitle {
    font-size: 0.75rem;
  }
}




/* =================================== */
/* NEW: Price List Section Styles      */
/* =================================== */
.price-section {
  padding: 80px 20px;
  background-color: #fff;
}

.price-section .price-title {

  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 50px;
}

.price-list-grid {
  display: grid;
  /* Two equal columns for desktop view */
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 60px;
  /* Vertical and horizontal gap */
  max-width: 800px;
  /* Constrain the list width */
  margin: 0 auto;
  padding-bottom: 40px;
}

.price-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.price-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* Align the bottom of the text */
  margin-bottom: 5px;
  font-weight: 500;
}

.service-name {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-text);
  /* Prevents the name from wrapping poorly near the dots */
  white-space: nowrap;
}

.service-price {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-text);
  white-space: nowrap;
}

.dotted-line {
  /* Flex item to take up available space between name and price */
  flex-grow: 1;
  border-bottom: 1px dotted var(--secondary-text);
  margin: 0 10px;
  /* Ensures line doesn't disappear if content pushes it */
  min-width: 15px;
}

.service-length {
  font-size: 0.9rem;
  color: var(--secondary-text);
  font-weight: 400;
  /* Keeps the service length text below the name, flush left */
  text-align: left;
}

/* Button Styling for the centered 'Book Online' button */
.price-section .book-btn {
  display: block;
  width: 200px;
  padding: 15px 30px;
  margin: 20px auto 0;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--primary-text);
  border: 2px solid var(--primary-text);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.price-section .book-btn:hover {
  background-color: var(--accent-pink);
  color: #fff;
  border-color: var(--accent-pink);
}

/* ----------------------------------- */
/* Responsive Adjustments              */
/* ----------------------------------- */

@media (max-width: 900px) {

  /* Stack Location cards */
  .locations-grid {
    grid-template-columns: 1fr;
  }

  /* Stack Contact info and Form */
  .contact-layout {
    flex-direction: column;
    gap: 30px;
  }

  .contact-info-col {
    max-width: 100%;
  }

  /* Make form fields stack on small screens */
  .contact-form-col form {
    grid-template-columns: 1fr;
  }

  .contact-form-col form>div {
    grid-column: 1 / -1;
  }

  .section-header .main-title {
    font-size: 2.5rem;
  }

  /* Price List: force stack to one column on mobile */
  .price-list-grid {
    grid-template-columns: 1fr !important;
    max-width: 100% !important;
  }
}

/* Testimonials slider (cards) */
.testimonials-section {
  padding: 48px 20px;
}

.testimonials-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Track holds slides positioned absolutely for crossfade or side-by-side layout */
.testimonials-track {
  position: relative;
  height: auto;
}

/* Slide */
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .9, .3, 1);
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.testimonial-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  position: relative;
  /* Give height to the track */
}

/* Card visuals */
.testimonial-card {
  width: 100%;
  max-width: 1050px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 18px 30px rgba(18, 24, 34, 0.06);
  display: grid;
  grid-template-columns: 12px 72px 1fr;
  /* accent bar / avatar (skipped) / body */
  gap: 18px;
  align-items: center;
  padding: 28px 28px;
  box-sizing: border-box;
  position: relative;
}

/* accent vertical bar */
.accent-bar {
  width: 4px;
  height: 100%;
  background: var(--gold);
  /* accent color, match screenshot */
  border-radius: 2px;
  margin-left: 4px;
}

/* quote icon (placed visually over card) */
.quote-icon {
  font-size: 94px;
  color: var(--gold);
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* testimonial text */
.testimonial-body {
  grid-column: 3 / 4;
}

.testimonial-text {
  margin: 0 0 18px 0;
  color: #6b6b6b;
  font-size: 16px;
  line-height: 1.8;
  font-style: italic;
}

/* reviewer */
.reviewer-name {
  font-weight: 700;
  font-size: 18px;
  color: #1e2430;
}

/* controls */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  width: 100%;
}

.test-prev,
.test-next {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

.dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.dots button.active {
  background: var(--gold);
  border-color: transparent;
}

/* Responsive: on large screens show two columns (two cards side-by-side visual) */
@media (min-width: 992px) {

  /* To mimic screenshot where two cards appear side-by-side, we show two slides at once using CSS: 
     We will show the active slide and the next slide side-by-side by adjusting layout via JS (see script).
     Keep track layout here for single card width. */
  .testimonial-card {
    grid-template-columns: 8px 64px 1fr;
    max-width: 520px;
  }

  .testimonials-wrapper {
    display: flex;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    /* Allow wrapping if needed, though we want side-by-side */
    width: 100%;
  }

  .testimonials-track {
    width: auto;
    height: auto;
    display: block;
    flex: 0 0 auto;
    /* Don't take full width */
  }

  /* Slides still positioned absolute; JS will copy second visible card next to active one on wide screens */
}

/* Mobile stacking */
@media (max-width: 991px) {
  .testimonial-card {
    grid-template-columns: 8px 64px 1fr;
    padding: 22px;
  }

  .testimonial-slide {
    padding: 8px;
  }

  .testimonial-body {
    grid-column: 2 / 4;
  }

  .quote-icon {
    display: none;

  }


}


/* Gallery Grid Layout */
/* --- GALLERY GRID --- */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  /* Reduced padding */
  display: grid;
  /* Smart responsive grid: Will fit as many as possible, minimum 250px wide */
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.lightbox.active {
  position: fixed;
  inset: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  /* Perfect Square */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background: #222;
  /* Placeholder color while loading */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  touch-action: none;
  /* Prevents scrolling background on mobile */
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 95%;
  /* Wider on mobile */
  max-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  /* Keeps image within view vertically */
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* --- CONTROLS --- */
.lightbox-btn {
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  /* Semi-transparent background for visibility */
  border: none;
  color: white;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  transition: background 0.3s, color 0.3s;
  user-select: none;
  z-index: 10001;
}

.lightbox-btn:hover {
  background: #d4a373;
  color: #000;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 10002;
  padding: 10px;
  /* Bigger touch target */
}

.image-counter {
  position: absolute;
  bottom: -35px;
  left: 0;
  right: 0;
  text-align: center;
  color: #ccc;
  font-size: 0.9rem;
}





/* --- MOBILE SPECIFIC FIXES --- */
@media (max-width: 768px) {
  .gallery-container {
    /* Force 2 columns on mobile (looks better for photos) */
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .lightbox-btn {
    /* Make buttons smaller and translucent on mobile so they don't block image */
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
  }

  .lightbox-btn:active {
    background: #d4a373;
    /* Feedback on tap */
  }

  /* Move buttons slightly off the image if possible, or to edges */
  .prev {
    left: 5px;
  }

  .next {
    right: 5px;
  }
}

/* General */
.ttl-desc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  text-align: center;
}

.team-section {
  padding: 80px 20px;
  background-color: var(--accent);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--black);
}

/* Header Styling */
.team-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.team-header h2 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.team-header span {
  font-weight: 700;
  color: var(--gold);
}

.team-header p {
  font-size: 1.1rem;
  color: #666;
}

/* --- GRID LAYOUT --- */
.team-grid {
  display: grid;
  /* Responsive layout: 3 columns on desktop, adapts to screen size */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual Card Styling */
.team-member-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(17, 13, 8, 0.3);
  /* Subtle accent shadow on hover */
}

/* Photo Container */
.member-photo-container {
  width: 100%;
  /* Square aspect ratio for more compact cards */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(10%);
  /* Subtle grayscale for sleekness */
}

.team-member-card:hover .member-photo {
  transform: scale(1.05);
  filter: grayscale(0%);
  /* Color returns on hover */
}

/* Info Text */
.member-info {
  padding: 20px 15px 18px;
}

.member-name {
  font-size: 1.4rem;
  margin: 0 0 5px;
  font-weight: 600;
  color: var(--black);
}

.member-title {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 12px;
}

/* Bio Toggle Button */
.bio-toggle-btn {
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 15px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-bottom: 15px;
}

.bio-toggle-btn:hover {
  background: var(--gold);
  color: white;
}

/* Bio Content (JS controls this) */
.member-bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, opacity 0.4s ease;
  opacity: 0;
  padding-top: 5px;
}

.member-bio.active {
  max-height: 200px;
  /* Adjust based on max expected bio length */
  opacity: 1;
}

.member-bio p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #444;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
  .team-section {
    padding: 50px 15px;
  }

  .team-header h2 {
    font-size: 1.8rem;
  }

  .team-grid {
    gap: 20px;
  }

  .team-member-card {
    max-width: 320px;
    /* Constrain card width on very narrow screens */
    margin: 0 auto;
  }

  .member-info {
    padding: 15px 12px 15px;
  }

  .member-name {
    font-size: 1.2rem;
  }

  .member-title {
    font-size: 0.8rem;
  }
}

#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: none;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: #555;
  /* Set a background color */
  color: white;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 13px 20px;
  /* Some padding */
  border-radius: 10px;
  /* Rounded corners */
  font-size: 20px;

}

#myBtn:hover {
  background-color: #777;
  /* Add a darker background on hover */
}