:root {
  --primary-color: #9370DB;  /* Medium Purple */
  --primary-hover: #8A5FD7;  /* Slightly darker medium purple */
  --secondary-color: #333333;  /* Dark gray */
  --accent-color: #e67e22;
  --text-color: #ffffff;  /* White text */
  --light-bg: #333333;  /* Dark gray background */
  --card-bg: #444444;  /* Slightly lighter gray for cards */
  --body-bg: #D2B48C;  /* Very dark gray for body */
  --heading-color: #9370DB;  /* Medium Purple for headings */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.tan-bg {
  background-color: #ddcdbe;
}

/* Dark sections only on landing page */
.landing-page .section {
  background-color: #b4a394;  /* Dark beige for sections */
}

.cursive {
  font-family: 'Dancing Script', cursive;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--secondary-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.section {
  padding: 4rem 2rem;
  margin: 2rem 0;
}

.section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.videos-section {
  padding-top: 8rem;  /* Extra padding for the videos page */
}

.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?auto=format&fit=crop&q=80&w=2070')
              center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
  margin-top: 60px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-secondary {
  background: var(--secondary-color);
}

.btn-secondary:hover {
  background: #404040;
}

.service-container {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  background-color: #b4a394;  /* Dark beige */
  padding: 2rem;
  border-radius: 10px;
}

.service-container .section-intro {
  margin-bottom: 0;  /* Remove bottom margin when inside container */
}

.service-container + .service-container,
.service-container + .therapists-grid {
  margin-top: 2rem;
}

.service-card {
  background: #c4b5a4;  /* Darker beige that complements the tan background */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.service-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Career page specific styles */
#careers .service-img {
  height: 600px;  /* Default height for desktop */
  object-fit: contain;  /* Show full image without cropping */
  background-color: #c4b5a4;  /* Match service card color */
}

#careers .service-card > a {  /* Only target the main image link */
  display: block;
  padding-top: 2rem;  /* Add space above the link containing the image */
}

/* Responsive breakpoints for career page images */
@media (max-width: 1024px) {
  #careers .service-img {
    height: 500px;
  }
}

@media (max-width: 768px) {
  #careers .service-img {
    height: 400px;
  }
}

@media (max-width: 480px) {
  #careers .service-img {
    height: 250px;
  }
}

.cellcore-img {
  height: 200px;
  object-fit: contain;
  background-color: white;
  padding: 1rem;
}

.fullscript-img {
  height: 200px;
  object-fit: contain;
  background-color: white;
  padding: 1rem;
}

.metagenics-img {
  height: 200px;
  object-fit: contain;
  background-color: white;
  padding: 1rem;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.therapists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  background-color: #b4a394;  /* Dark beige */
  padding: 2rem;
  border-radius: 10px;
}

.therapist-card {
  background: #c4b5a4;  /* Lighter beige to match service cards */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.therapist-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  background-color: var(--card-bg);
}

.therapist-content {
  padding: 1.5rem;
}

.therapist-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.therapist-content h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  background-color: #b4a394;  /* Dark beige */
  padding: 2rem;
  border-radius: 10px;
}

.contact-card {
  background: #c4b5a4;  /* Lighter beige to match service cards */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-icon {
  font-style: normal;
}

.contact-divider {
  height: 1px;
  background: #555;
  margin: 1.5rem 0;
}

.contact-card h3, .contact-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.location {
  color: var(--text-color);
}

footer {
  background: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 2rem;
}

h2.cursive {
  color: var(--primary-color);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-item {
  background: #c4b5a4;  /* Lighter beige to match service cards */
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pricing-item h4 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  font-size: 1.8rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: bold;
}

.price-note {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.pricing-item ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.pricing-item ul li {
  margin: 0.5rem 0;
  color: var(--text-color);
}

.service-section {
  background-color: #b4a394;  /* Dark beige */
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.service-section h3 {
  color: var(--primary-color);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #555;
  border-radius: 5px;
  background: var(--body-bg);
  color: var(--text-color);
}

/* Full width image styling */
.full-width-image {
  width: 100%;
  height: auto;
  margin-top: 2rem;
  border-radius: 8px;
}

/* Service images container */
.booking-page .service-images {
  margin-top: 2rem;
  height: 800px;
  overflow: hidden;
}

.booking-page .service-images .full-width-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.logo-section {
  text-align: center;
  padding: 2rem 0;
}

.logo-section img {
  max-width: 300px;
  height: auto;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #b4a394;  /* Beige background for mobile menu */
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .section {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}