body {
    font-family: "Playfair Display SC";
    position: relative;          
    margin: 0;                   
    min-height: 100vh; 
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/tmrback.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -1;              
}

h1,
h1.about-title {
  font-family: 'Petit Formal Script', cursive !important;
  text-align: center;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  height: 100px;
  z-index: 100;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.nav-logo img {
  height: 90px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 60px;
  padding: 0;
  gap: 2.5rem;
  width: 100%;
  justify-content: space-between;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links li a:hover {
  color: #c9a227;
}

.nav-links li:nth-child(-n+3) {
  margin-right: auto;
}
.nav-links li:nth-child(n+4) {
  margin-left: auto;
}

/* Hamburger button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  padding: 0;
  position: absolute;
  right: 1.5rem;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE */
@media (max-width: 900px) {
  .navbar {
    height: 80px;
    justify-content: flex-end;
  }

  .nav-logo img {
    height: 65px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    background: rgba(255, 255, 255, 0.8);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    gap: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li:nth-child(-n+3),
  .nav-links li:nth-child(n+4) {
    margin: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* TREATMENTS nav */
.container {
  background-color: rgba(255, 255, 255, 0.5);
  position: relative;
  margin: 20px;
  padding: 20px;
}


.subs li a {
  text-decoration: none;
  color: #5a3e2b;
}

.subs li a:hover {
  color: #c9a227;
}

/* ABOUT */
.about-section {
  padding: 5rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.8)
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-family: "Petit Formal Script", cursive, !important;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 400;
  color: #3a2f2a;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.about-title span {
  font-size: 0.7em;
  opacity: 0.7;
}

.about-statement {
  max-width: 620px;
  margin: 0 auto 3.5rem;
}

.about-statement p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #5a4a42;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

/* Instagram Embed */
.instagram-wrapper {
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

.instagram-media {
  min-width: 100% !important;
  width: 100% !important;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-section {
    padding: 3.5rem 1.25rem;
  }

  .about-title {
    margin-bottom: 2rem;
  }

  .about-statement p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .about-statement p {
    font-size: 1.05rem;
  }
}

/* HERO */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slide {
  flex: 0 0 33.3333%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-family: "Petit Formal Script", cursive;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  margin-bottom: 0.8rem;
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin-bottom: 2rem;
  letter-spacing: 1px;
  opacity: 0.95;
  text-transform: uppercase;
}

.btn {
  display: inline-block;
  padding: 15px 36px;
  background: #86615c;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: white;
  color: #86615c;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    height: 75vh;
    min-height: 480px;
  }

  .slide {
    flex: 0 0 100%; /* Show one image at a time */
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
  }

  .btn {
    padding: 14px 30px;
    font-size: 0.95rem;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* TESTIMONIALS grid */
   .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: repeat(3, 140px);   
      gap: 16px;
      width: 500px;
      margin:0 auto;        
    }

    .item {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 6px;
      border-style:groove;
      overflow: hidden;
      border-radius: 10px;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .item:hover {
      transform: scale(1.03);
    }

    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease;
      z-index: 1000;
    }

    .lightbox.active {
      opacity: 1;
      visibility: visible;
    }

    .lightbox img {
      max-width: 90%;
      max-height: 90%;
      border-radius: 8px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    }

    .close-btn {
      position: absolute;
      top: 25px;
      right: 35px;
      font-size: 40px;
      color: white;
      cursor: pointer;
      user-select: none;
      line-height: 1;
    }

    .close-btn:hover {
      color: #ff6b6b;
    }

    iframe {
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 16/9;
      border: 0;
      max-width: 100%;
    }

.copy {
        text-align: center;
    }

/* TABLET */
@media (max-width: 768px)
    {
        .header {
    padding: 0.8rem 1.2rem; 
  }

  
  .logo img {
    height: 42px;             
  }

  /* Hide the side navigations */
  .nav-left,
  .nav-right {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu (when open) */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  z-index: 15;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  text-align: center;
}
    

