/* Base Styles */
:root {
  --color-primary: #e9f1f0; /* Mint/teal header background */
  --color-text: #333;
  --color-light: #fff;
  --color-accent: #4a4a4a;
  
  /* Service card colors */
  --color-card-1: #ccc6c6; /* Beige */
  --color-card-2: #f0eded; /* Off-white */
  --color-card-3: #fadcd6; /* Light pink */
  --color-card-4: #e5c7b5; /* Tan */
  --color-card-5: #f7f6f6; /* Light gray */

  /* Sections colors */
  --color-section-cite: #fadcd6; /* Light pink */
  --color-section-hero-bottom: #e8eff1; /* Light mint */
  
  
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;
  --font-content: 'Montserrat', sans-serif;
  --font-headers: 'Josefin Sans', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-content);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 400;
  margin-bottom: 1rem;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #000;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background-color: var(--color-primary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: flex-start; /* Align content to the left for desktop view */
  align-items: center;
}

.header-title {
  background-color: transparent;
}

.header-subtitle {
  background-color: #e9f0f2; 
  padding: 60px 0;
  margin-top: -110px;
  margin-bottom: -110px;
  position: relative;
  z-index: -1;
  padding-bottom: 150px;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav li {
  margin: 0 15px;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto; /* Push to the right side */
  margin-right: 1rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: transparent;
  padding: 80px 0;
  text-align: center;
}

.therapist-title {
  font-size: 8rem;
  letter-spacing: 0rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.therapist-name {
  font-size: 2rem;
  margin-bottom: 0;
}

/* Services Section */
.services {
  padding: 0;
}

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

.service-card {
  padding: 40px;
  min-height: 280px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  align-items: center;
  overflow-y: auto;
}

.card-1 {
  background-color: var(--color-card-1);
}

.card-2 {
  background-color: var(--color-card-2);
}

.card-3 {
  background-color: var(--color-card-3);
}

.card-4 {
  background-color: var(--color-card-4);
}

.service-number {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.service-card h3 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  flex-grow: 1;
  line-height: 1.6;
}

/* Style for price text in markdown content */
.service-card p strong {
  display: block;
  font-weight: bold;
  margin-top: 15px;
  font-size: 1rem;
}

.service-price {
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Read more button removed */

/* Section Styles */
section {
  padding: 80px 0;
  margin: 0; /* Remove any margin between sections */
}

section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Service Detail Page */
.service-detail {
  background-color: #f9f9f9;
  padding: 100px 0;
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.service-header .service-number {
  font-size: 3rem;
  font-weight: 700;
  margin-right: 20px;
}

.service-header h1 {
  font-size: 2.6rem;
  margin: 0;
}

.service-content {
  max-width: 800px;
  margin-bottom: 40px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.back-to-services {
  margin-top: 40px;
}

.back-link {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

.back-link:hover {
  background-color: var(--color-accent);
  color: #fff;
}

.content {
  max-width: 800px;
}

/* About Approach Row */
.about-approach-row {
  background-color: #f9f9f9;
  padding: 0;
}

.approach-photo-about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  width: 100%;
}

.about-column {
  background-color: #f0f0f0;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center; /* Center content vertically */
}

.photo-column {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
}

.therapist-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-column {
  background-color: var(--color-card-5);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center; /* Center content vertically */
}

.about-content, .approach-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-column h2, .approach-column h2 {
  margin-bottom: 30px;
  font-size: 2.4rem;
  text-align: center;
}

/* Getting Help Section */
.getting-help {
  background-color: #ffffff;
  padding: 80px 0;
  width: 100%;
}

.getting-help h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 30px;
  width: 100%;
}

.getting-help .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

.getting-help .content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.getting-help .content p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.therapy-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.topic-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 160px;
}

.circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Different colors for each circle */
.circle-1 {
  background-color: #d7d1c9; /* light gray */
}

.circle-2 {
  background-color: #f9e7e4; /* light pink */
}

.circle-3 {
  background-color: #e4d2c4; /* light tan */
}

.circle-4 {
  background-color: #c5d8d7; /* light teal */
}

.circle-5 {
  background-color: #e9f1f0; /* lightest mint */
}

.circle span {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.8rem;
  color: #333;
}

.topic-label {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  margin-top: 5px;
  line-height: 1.4;
}

.section-divider {
  width: 100px;
  height: 1px;
  background-color: #333;
  margin: 40px auto 0;
}

/* Citation Section */
.citation {
  background-color: #f9f9f9;
  padding: 100px 0;
  text-align: center;
  background-color: var(--color-section-cite);
}

.quote {
  max-width: 800px;
  margin: 0 auto;
}

blockquote {
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Contact Info */
.contact {
  background-color: #ffffff;
  padding: 80px 0;
}

.contact h2 {
  text-align: center;
}

.text-center {
  text-align: center;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.contact-column {
  flex: 1;
  text-align: center;
}

.contact-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.contact-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.contact-column .phone {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 15px 0;
}

/* Footer */
.site-footer {
  background-color: #e9f1f0;
  padding: 30px 0;
  text-align: center;
}

.copyright-text {
  font-size: 14px;
  color: #666;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .therapist-name {
    font-size: 2rem;
  }

  .therapist-title {
    font-size: 6rem;
  }

  .header-subtitle {
    margin-top: -90px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .three-column-grid {
    grid-template-columns: 1fr;
  }
  
  /* Adjust the approach-photo-about grid */
  .approach-photo-about-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-column {
    height: 400px;
  }
  
  .about-column, .approach-column {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    justify-content: space-between; /* Ensure proper spacing in mobile view */
  }
  
  .main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    opacity: 0;
  }
  
  .main-nav.active {
    max-height: 300px; /* Adjust this value based on your menu height */
    padding: 20px 0;
    opacity: 1;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    transform: translateY(-10px);
    transition: transform 0.3s ease-in-out;
  }
  
  .main-nav.active ul {
    transform: translateY(0);
  }
  
  .main-nav li {
    margin: 10px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  
  .main-nav.active li {
    opacity: 1;
    transform: translateX(0);
  }
  
  /* Add transition delays for each menu item */
  .main-nav li:nth-child(1) { transition-delay: 0.1s; }
  .main-nav li:nth-child(2) { transition-delay: 0.2s; }
  .main-nav li:nth-child(3) { transition-delay: 0.3s; }
  .main-nav li:nth-child(4) { transition-delay: 0.4s; }
  .main-nav li:nth-child(5) { transition-delay: 0.5s; }
  .main-nav li:nth-child(6) { transition-delay: 0.6s; }
  .main-nav li:nth-child(7) { transition-delay: 0.7s; }
  
  /* Hamburger menu icon animation */
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu-toggle span {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .therapist-title {
    font-size: 3rem;
  }
  
  .therapist-name {
    font-size: 1.5rem;
  }

  .header-subtitle {
    margin-top: -55px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* Ensure photo and text sections stack properly on mobile */
  .approach-photo-about-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-column {
    height: 350px;
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-links {
    margin-top: 20px;
  }
  
  .footer-links ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .footer-links li {
    margin: 5px 10px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 40px;
  }
  
  .therapy-topics {
    gap: 20px;
  }
  
  .circle {
    width: 100px;
    height: 100px;
  }
  
  blockquote {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .therapist-title {
    font-size: 2rem;
  }
  
  .therapist-name {
    font-size: 1.2rem;
  }
  
  section h2 {
    font-size: 1.8rem;
  }

  .header-subtitle {
    margin-top: -40px;
  }
}

/* 404 Error Page Styles */
.error-page {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-page .container {
  max-width: 600px;
  margin: 0 auto;
}

.error-page h1 {
  font-size: 120px;
  margin: 0;
  color: var(--color-primary);
  line-height: 1;
}

.error-page h2 {
  font-size: 32px;
  margin-top: 0;
  margin-bottom: 20px;
  color: #333;
}

.error-page p {
  margin-bottom: 30px;
  color: #666;
  font-size: 18px;
}

.error-page .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.error-page .btn-primary:hover {
  background-color: var(--color-primary-dark, #007a6b);
}

/* 404 Error Page */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.error-page h1 {
  font-size: 6rem;
  font-weight: 700;
  color: #e9f1f0;
  margin-bottom: 1rem;
}

.error-page h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
}

.error-page p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.error-page a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #e9f1f0;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.error-page a:hover {
  background-color: #d8e8e6;
  transform: translateY(-2px);
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-primary);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0 20px;
}

.cookie-content p {
  margin: 0;
  font-size: 0.9rem;
}

.cookie-btn {
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-btn:hover {
  background-color: #333;
}

@media (max-width: 768px) {
  .cookie-content {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
  }
}