/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette - Soft, warm, and calming */
  --cream: #faf8f5;
  --light-pink: #f4e6e1;
  --soft-pink: #e8d5d0;
  --sage-green: #8a9682;
  --warm-white: #ffffff;
  /* Updated text colors to black */
  --text-dark: #000000;
  --text-light: #000000;
  /* Updated accent pink to #ffcfcf */
  --accent-pink: #ffcfcf;
  --card-bg: #ffffff;
  --border-light: #e0e0e0;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-heading: "Playfair Display", serif;
  --font-handwritten: "Caveat", cursive;

  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 12px;
  --navbar-height: 70px;

  /* Shadows */
  --soft-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  /* Text color now uses black via --text-dark variable */
  color: var(--text-dark);
  background-color: var(--cream);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

/* Navigation */
.navbar {
  background-color: var(--warm-white);
  box-shadow: var(--soft-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 400;
  white-space: nowrap;
}

.nav-cta {
  /* Reduced nav button size while keeping design consistent */
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--accent-pink);
  color: #000000;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--soft-shadow);
}

.nav-cta:hover {
  background-color: #ffe0e0;
  color: #000000;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  /* Hamburger menu now uses black text color */
  background-color: var(--text-dark);
  margin: 3px 0;
  display: block;
}

/* Mobile menu active states */
.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);
}

.nav-menu.active {
  display: flex !important;
  position: fixed;
  left: 0;
  top: var(--navbar-height);
  flex-direction: column;
  background-color: var(--warm-white);
  width: 100%;
  text-align: center;
  box-shadow: var(--soft-shadow);
  padding: 2rem 0;
  gap: 1.5rem;
  z-index: 999;
}

/* Hero Section */
.hero {
  padding-top: var(--navbar-height);
  background-color: var(--cream);
  min-height: 65vh; /* Increased height from 35vh to 65vh */
}

.hero-content {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  min-height: calc(65vh - var(--navbar-height)); /* Increased height from 35vh to 65vh */
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Updated background styling for video instead of image */
.hero-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-text {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  background: rgba(255, 207, 207, 0.9); /* Increased opacity from 0.3 to 0.9 */
  padding: 3rem;
  border-radius: 15px;
  text-align: left;
  margin: 0 auto;
}

.tagline {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 3.2rem;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--accent-pink);
  color: #000000;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.1rem;
  box-shadow: var(--soft-shadow);
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #ffe0e0;
  color: #000000;
}

/* About Section */
.about {
  padding: var(--section-padding);
  background-color: var(--warm-white);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  /* Changed about section heading from sage green to black */
  color: #000000;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.about-text h2::before {
  content: "";
  width: 40px;
  height: 40px;
  background-image: url("images/favicon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

/* About Me Section */
.about-me {
  padding: var(--section-padding);
  background-color: var(--cream);
}

.about-me-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.about-me-text p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-me-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

/* Services Section */
.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: #000000;
  text-align: center;
  margin-bottom: 1rem;
  /* Added flex layout and icon for section titles */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Added icon before section titles */
.section-title::before {
  content: "";
  width: 40px;
  height: 40px;
  background-image: url("images/favicon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.services-intro {
  font-size: 1.1rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--light-pink) 0%, var(--cream) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: var(--warm-white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  /* Added flexbox layout to align buttons at bottom */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-handwritten);
  font-size: 1.9rem;
  /* Changed service card headings from sage green to black */
  color: #000000;
  margin-bottom: 1.5rem;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  /* Allow paragraph to grow and push button down */
  flex-grow: 1;
}

.service-book-btn {
  /* Updated service buttons to match hero button styling */
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--accent-pink);
  color: #000000;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.1rem;
  box-shadow: var(--soft-shadow);
  /* Removed margin-top since flexbox handles positioning */
  margin-top: 0;
  /* Align button to start of container */
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

/* Added missing hover effect to match other buttons */
.service-book-btn:hover {
  background-color: #ffe0e0;
  color: #000000;
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--warm-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--cream);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.testimonial-card p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card cite {
  font-family: var(--font-heading);
  font-size: 1rem;
  /* Changed testimonial author names from sage green to black */
  color: #000000;
  font-weight: 500;
  font-style: normal;
}

/* Benefits Section */
.benefits {
  padding: var(--section-padding);
  background-color: var(--warm-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem;
  background-color: var(--cream);
  border-radius: var(--border-radius);
}

.benefit-icon {
  margin-bottom: 1.5rem;
}

.benefit-icon svg {
  color: var(--sage-green);
  width: 60px;
  height: 60px;
}

.benefit-item h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  /* Changed benefit item headings from sage green to black */
  color: #000000;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: var(--text-dark);
  line-height: 1.6;
}

/* Contact Section (Merged with Location) */
.contact {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--soft-pink) 0%, var(--light-pink) 100%);
}

.contact-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  line-height: 1.7;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-details-section {
  margin-bottom: 0.5rem;
}

.location-details-section {
  margin-top: 0.5rem;
}

.contact-details-section h3,
.location-details-section h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  /* Changed contact section headings from sage green to black */
  color: #000000;
  margin-bottom: 1.5rem;
}

.contact-details {
  margin-bottom: 1rem;
}

.contact-item {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-item strong {
  /* Changed contact item labels from sage green to black */
  color: #000000;
  display: inline-block;
  width: 80px;
}

.contact-item a {
  color: var(--text-dark);
  text-decoration: none;
  word-break: break-word;
}

.contact-cta {
  margin-top: 1.5rem;
}

.booking-note {
  margin-top: 1rem;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.location-details {
  padding: 1.5rem;
  background-color: var(--warm-white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.location-item {
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
}

.location-item:last-child {
  margin-bottom: 0;
}

.contact-map {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: fit-content;
}

.contact-map iframe {
  width: 100%;
  height: 500px;
  border: 0;
  border-radius: var(--border-radius);
}

/* Footer */
.footer {
  background-color: var(--accent-pink);
  color: #000000;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-logo {
  height: 75px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.9;
  color: #000000;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 280px; /* Give specific width to middle column */
}

.footer-hours h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 260px; /* Add minimum width */
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  opacity: 0.9;
  white-space: nowrap; /* Prevent wrapping */
  color: #000000;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Social Media Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #ffffff;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Vertibase Link in Copyright */
.vertibase-credit {
  font-size: 0.9rem;
}

.vertibase-credit a {
  color: var(--text-light);
  text-decoration: none;
}

.vertibase-credit .verti {
  color: white;
}

.vertibase-credit .base {
  color: #00b0f0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #000000;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  /* Changed default background to accent pink with black text */
  background-color: var(--accent-pink);
  color: #000000;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 999;
}

.scroll-to-top:hover {
  /* Changed hover to lighter pink background */
  background-color: #ffe0e0;
  color: #000000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:focus {
  outline: 2px solid var(--sage-green);
  outline-offset: 2px;
}

/* Therapy Photos Section */
.therapy-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.therapy-photo {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop border radius adjustments */
.therapy-photo:nth-child(1) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.therapy-photo:nth-child(2) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .therapy-photos {
    grid-template-columns: 1fr;
  }

  /* Mobile border radius for 2-photo vertical stack */
  .therapy-photo:nth-child(1) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .therapy-photo:nth-child(2) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

@media (max-width: 480px) {
  .therapy-photos {
    grid-template-columns: 1fr;
  }

  .therapy-photo:nth-child(1) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .therapy-photo:nth-child(2) {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* Intro Section */
.intro {
  padding: var(--section-padding);
  background: var(--cream);
  text-align: center;
}

.intro-content {
  max-width: 1000px;
  margin: 0 auto;
}

.intro .tagline {
  font-family: "Caveat", cursive;
  font-weight: 700;
  font-size: 3.2rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.intro-description {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  :root {
    --navbar-height: 60px;
    --section-padding: 50px 0;
  }

  .nav-menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    height: var(--navbar-height);
    padding: 0 15px;
  }

  .logo-image {
    height: 45px;
  }

  .hero-logo {
    height: 80px;
  }

  .hero-text {
    max-width: 100%;
    background: rgba(255, 207, 207, 0.9); /* Added back opacity background for mobile instead of none */
    padding: 2rem 1rem;
    /* Remove margin-left override for mobile, keep centered */
    margin-left: auto;
    margin-right: auto;
  }

  .tagline {
    /* Made tagline bigger on mobile */
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-me-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-me-image {
    order: 1;
  }

  .about-me-text {
    order: 2;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .location-details {
    text-align: left;
  }

  .service-icons {
    gap: 2rem;
  }

  .service-descriptions {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .section-title {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .section-title::before {
    width: 35px;
    height: 35px;
  }

  .about-text h2 {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .about-text h2::before {
    width: 35px;
    height: 35px;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .footer-content {
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding-top: 2.5rem;
  }

  .contact-map iframe {
    height: 350px;
  }

  .location-item strong {
    width: 110px;
    flex-shrink: 0;
  }

  .location-item:nth-child(2) span {
    flex-basis: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.6rem;
  }

  /* Responsive styling for testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem;
  }

  /* Intro Section Mobile Responsive Styling */
  .intro .tagline {
    font-size: 2rem;
  }

  .intro-description {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --navbar-height: 55px;
  }

  .nav-container {
    padding: 0 10px;
  }

  .logo-image {
    height: 30px;
  }

  .hero-logo {
    height: 60px;
  }

  .footer-logo {
    height: 25px;
  }

  .hero-text {
    padding: 1.5rem 1rem;
  }

  .tagline {
    /* Made tagline bigger on small mobile too */
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .service-card-combined,
  .benefit-item {
    padding: 1.5rem;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
  }

  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }

  .section-title::before {
    width: 30px;
    height: 30px;
  }

  .about-text h2::before {
    width: 30px;
    height: 30px;
  }

  .service-icons {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-map iframe {
    height: 300px;
  }

  .location-details {
    padding: 1rem;
  }

  .location-item {
    font-size: 0.9rem;
  }

  .location-item strong {
    width: 100px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  /* Small Mobile Styling for Intro Section */
  .intro .tagline {
    font-size: 1.8rem;
  }

  .intro-description {
    font-size: 0.9rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--sage-green);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .cta-button {
    display: none;
  }

  body {
    background-color: white;
  }

  .hero,
  .services,
  .benefits,
  .contact {
    background: white;
  }
}

a.acuity-embed-button,
.acuity-embed-button {
  background-color: #ffcfcf !important; /* or your chosen brand colour */
  color: #000000 !important;
  padding: 12px 24px !important;
  border-radius: 30px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 500 !important;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;

  /* Remove the 3D inset shadow */
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}


/* Override the close “X” in the popup */
.acuity-modal-close {
  color: #000000 !important;
}
