/* Decorative line above first homepage paragraph */
.homepage-content-right > p:first-of-type {
  position: relative;
  padding-top: 2.2em;
}
.homepage-content-right > p:first-of-type::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3a2300;
  border-radius: 2px;
}
@media (min-width: 601px) {
  .homepage-hero-left {
    position: fixed;
    left: 0;
    top: 0;
    width: 50vw;
    height: 100vh;
    min-width: 320px;
    min-height: 320px;
    background: none;
    z-index: 1;
    overflow: hidden;
  }
  .hero-gradient-logo-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
  }
  .homepage-gradient-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .homepage-hero-logo {
    position: relative;
    z-index: 3;
    max-width: 96%;
    max-height: 264px;
    width: auto;
    height: auto;
    margin: 0 auto;
    display: block;
    pointer-events: auto;
  }
}
@media (max-width: 600px) {
  .homepage-content-right::before {
    display: none !important;
    content: none !important;
  }
  .homepage-hero-left {
    position: relative !important;
    width: 100vw !important;
    min-width: 0 !important;
    height: 60vh !important;
    min-height: 60vh !important;
    background: none !important;
    z-index: auto !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .homepage-split {
    display: block !important;
    width: 100vw !important;
    height: auto !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .homepage-content-right {
    margin-left: 0 !important;
    width: 100vw !important;
    height: auto !important;
    min-height: 60vh !important;
    padding: 2.5rem 8vw 2rem 8vw !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    display: block !important;
  }
  .hero-gradient-logo-wrap {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    min-height: 60vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
    pointer-events: auto !important;
    overflow: hidden !important;
  }
  .homepage-gradient-bg {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    min-height: 60vh !important;
    object-fit: cover !important;
    z-index: 1 !important;
    display: block !important;
  }
  .homepage-hero-logo {
    position: relative !important;
    z-index: 2 !important;
    width: 84vw !important;
    max-width: 448px !important;
    max-height: 168px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}
.home-specialties, .home-specialties * {
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.home-specialties p {
  margin-left: 0;
  padding-left: 0;
}
/* Homepage split hero left, scrollable right layout */
.homepage-split {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.homepage-content-right {
  margin-left: 50vw;
  width: 50vw;
  height: 100vh;
  overflow-y: auto;
  padding: 8rem 7vw 3rem 7vw;
  box-sizing: border-box;
  background: rgb(199, 232, 216);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  overflow-x: hidden;
  position: relative;
}

.homepage-content-right::before {
  content: '';
  position: fixed;
  left: 50vw;
  top: 0;
  width: 50vw;
  height: 8rem;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(to bottom, rgb(199,232,216,1) 60%, rgb(199,232,216,0));
  /* Adjust the color to match .homepage-content-right background */
}

.homepage-content-right footer {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}
}
@media (max-width: 900px) {
  .homepage-split {
    flex-direction: column;
    height: auto;
  }
  .homepage-hero-left {
    position: static;
    width: 100vw;
    height: 40vh;
    min-height: 220px;
  }
  .homepage-gradient-bg {
    position: absolute;
    width: 100vw;
    height: 40vh;
    min-height: 220px;
  }
  .homepage-content-right {
    margin-left: 0;
    width: 100vw;
    height: auto;
    min-height: 60vh;
    padding: 2.5rem 5vw 2rem 5vw;
  }
}
@media (min-width: 900px) {
  .site-2col-left {
    margin-left: max(132px, 1.5vw) !important;
  }
}
footer {
  text-align: left;
  font-size: 0.75em;
  font-weight: 300;
  color: #c7e8d8;
  margin-left: max(132px, 1.5vw);
  padding-left: 0;
}
/* Home 2-column layout */
.home-2col {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: none;
  margin: 0;
  width: 100vw;
  padding: 0;
}
.home-col1, .home-col2 {
  flex: 1 1 0;
  min-width: 0;
}
.home-col1 {
  max-width: 60%;
}
.home-col2 {
  max-width: 40%;
  padding-left: 2rem;
}
.home-specialties {
  list-style: disc inside;
  padding-left: 1.2em;
  margin: 0 0 1.5rem 0;
}
.home-specialties li {
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
}
@media (max-width: 900px) {
  .home-2col {
    flex-direction: column;
    gap: 2rem;
  }
.home-col1, .home-col2 {
  min-width: 0;
  width: 50%;
  flex: none;
  display: block;
}
.home-col2 {
  margin-left: 0;
}
.home-col2 .cta-button {
  display: inline-block;
  margin-left: 0;
  text-align: left;
  align-self: flex-start;
}
}
.hero-logo-center img {
    pointer-events: auto;
}
.hero-content-below-gradient {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: 0;
}
/* 
   Common Stylesheet for Self to Self Therapy
   Created on July 5, 2025
*/

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

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rethink Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #3a2300;
    background-color: #c7e8d8;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
}

/* Header & Navigation */
  header {
    background: #c7e8d8 !important;
    /* Removed border-bottom */
    padding: 0; /* Removed top/bottom padding from header */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    transition: background-color 0.3s ease;
  }

header.transparent-header {
    background: transparent !important;
    box-shadow: none !important;
}

nav {
    width: 100%;
    margin: 0;
    padding: 2rem 2vw;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: transparent !important;
    box-shadow: none !important;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #3a2300;
}

.logo svg, .logo img {
    margin-right: 0.5rem;
    width: 60px;
    height: auto;
}

.logo-text {
    font-family: 'Lexend', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3a2300;
    display: none; /* Hide the text for now */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    opacity: 0;
    animation: fadeInDown 0.5s ease forwards;
}

.nav-links li:nth-child(1) {
    animation-delay: 0.1s;
}

.nav-links li:nth-child(2) {
    animation-delay: 0.2s;
}

.nav-links li:nth-child(3) {
    animation-delay: 0.3s;
}

.nav-links li:nth-child(4) {
    animation-delay: 0.4s;
}

.nav-links li:nth-child(5) {
    animation-delay: 0.5s;
}

.nav-links a {
    color: #3a2300;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #76a58a;
}

.portal-nav-link {
    background: #3a2300;
    color: #c7e8d8 !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.portal-nav-link:hover {
    background: #76a58a !important;
    color: #c7e8d8  !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #3a2300;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
    color: #76a58a;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #c7e8d8;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to flex-start for top alignment */
    padding-top: 6rem; /* Add padding to push content down */
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Make sure the logo is visible in the mobile menu overlay */
.mobile-menu-overlay.active ~ header .logo {
    position: relative;
    z-index: 2001; /* Higher than the overlay */
}

/* Fix to ensure logo is always visible when mobile menu is active */
.mobile-menu-overlay.active + header .logo {
    position: relative;
    z-index: 2001; /* Higher than the overlay */
}

/* Alternative selector to ensure the logo remains visible */
header .logo {
    position: relative;
    z-index: 2001; /* Higher than the overlay */
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 1.5rem 0;
}

.mobile-menu-links a {
    color: #3a2300;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-menu-links a:hover {
    color: #76a58a;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1800px;
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    top: 1.2rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #3a2300;
    transition: color 0.3s ease;
}

/* Position the X icon in the same place as hamburger icon for mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1.5rem 3rem; /* Updated side padding to 1.5rem */
    }

    section {
        padding: 3rem 1.5rem; /* Updated side padding to 1.5rem */
    }

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

    nav {
        padding: 1.5rem; /* Equal padding to 1.5rem */
    }

    .mobile-menu-links a {
        font-size: 1.25rem;
    }

    .mobile-menu-close {
        top: 1.5rem; /* Match nav padding on mobile */
        right: 1.5rem; /* Match nav padding on mobile */
    }
  
    .mobile-menu-close::after {
      content: '×';
    }

    .mobile-menu-close:hover {
      color: #76a58a;
    }
    
    footer {
        padding: 1.5rem; /* Updated padding to match */
    }
}

/* Main Content */
main {
    margin-top: 0; /* Remove top margin */
    flex: 1; /* Allow main to grow and push footer down */
}

/* Hero Section */
.hero {
    position: relative;
    text-align: left;
    padding: 0 2rem 4rem;
    z-index: 1;
    background: none;
    margin-top: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    z-index: 0;
    background: linear-gradient(120deg, #c7e8d8 0%, #b6d6f2 50%, #f7e6e6 100%);
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.hero-image {
    max-width: 100%;
    height: 300px;
    background: #e2e8f0;
    border-radius: 8px;
    margin: 0 auto 3rem;
    position: absolute;
    top: 25vh;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3a2300;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #3a2300;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #3a2300;
    font-weight: 500;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px; /* Reduced from 800px to maintain proportion with container */
    margin: 0 auto 1.5rem;
    color: #3a2300;
    line-height: 1.6;
}

.hero .therapist-name {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #3a2300;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background: #3a2300;
    color: #c7e8d8;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

.cta-button:hover {
    background: #76a58a;
}

/* Sections */
section {
    width: 100vw;
    max-width: none;
    margin: 0;
    padding: 4rem 1vw;
}

.page-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #3a2300;
    font-weight: 500;
    text-align: left; 
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #3a2300;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #3a2300;
    font-weight: 600;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Changed from center to flex-start to align everything to the left */
    margin-top: 2rem;
    max-width: 700px;
    margin-left: 0; /* Changed from auto to 0 to align to the left */
    margin-right: auto;
}

.about-image {
    text-align: left; /* Changed from center to left */
    margin-bottom: 3rem;
}

.about-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
}

/* Headshot placeholder styles */
.headshot-placeholder {
    width: 250px;
    height: 250px;
    background-color: #f3f4f6;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px dashed #cbd5e0;
    margin-bottom: 1rem;
}

.headshot-icon {
    margin-bottom: 1rem;
}

.headshot-text {
    color: #3a2300;
    font-size: 0.9rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3a2300;
    text-align: left;
    width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3a2300;
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 1.1rem;
    color: #3a2300;
    line-height: 1.7;
}

/* Fees Section */
.fees-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3a2300;
    max-width: 700px; /* Reduced from 800px to maintain proportion with container */
    text-align: left;
}

.fees-content p {
    margin-bottom: 1.5rem;
}

.rate {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3a2300;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    justify-content: left;
    margin-top: 2rem;
    text-align: left;
}

.contact-info {
    /* Removed background, border-radius, and adjusted padding */
    padding: 0;
    max-width: 500px;
    width: 100%;
}

.contact-info h3 {
    color: #3a2300;
    margin-bottom: 1.5rem;
    font-size: 1.5rem; /* Slightly larger */
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 1.25rem; /* Increased spacing between lines */
    color: #3a2300;
    font-size: 1.1rem; /* Slightly larger text */
}

.contact-info a {
    color: #3a2300;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    /* Removed background color and border */
    background: transparent;
    border-top: none;
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
    color: #76a58a; /* Lighter color for more discrete appearance */
    font-size: 0.9rem; /* Smaller font size */
    font-weight: 300;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateX(-20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.fade-in, .slide-up, .slide-in {
    opacity: 0;
}

.fade-in.animate {
    animation: fadeIn 1s ease forwards;
}

.slide-up.animate {
    animation: slideUp 0.8s ease forwards;
}

.slide-in.animate {
    animation: slideIn 0.8s ease forwards;
}

/* Delay Classes */
.delay-100.animate {
    animation-delay: 0.1s;
}

.delay-200.animate {
    animation-delay: 0.2s;
}

.delay-300.animate {
    animation-delay: 0.3s;
}

.delay-400.animate {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

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

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

@media (max-width: 480px) {
    .hero {
        padding: 4rem 2rem 3rem 2rem !important;
        text-align: left !important;
    }

    section {
        padding: 3rem 1.5rem; /* Updated side padding to 1.5rem */
    }

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

    nav {
        padding: 1.5rem; /* Equal padding to 1.5rem */
    }

    .mobile-menu-links a {
        font-size: 1.25rem;
    }

    .mobile-menu-close {
        top: 1.5rem; /* Match nav padding on mobile */
        right: 1.5rem; /* Match nav padding on mobile */
    }
    
    footer {
        padding: 1.5rem; /* Updated padding to match */
    }
}
