/* ============================================
   VARIABLES & FOUNDATION
   ============================================ */

:root {
    /* Color Palette */
    --navy: #1a3a3a;
    --cream: #faf8f5;
    --sage: #6b8e7f;
    --taupe: #8b7d6b;
    --teal: #4a9b8e;
    --light-gray: #f5f3f0;
    --text-dark: #2a2a2a;
    --text-light: #6a6a6a;
    
    /* Typography */
    --font-display: 'Gelasio', Georgia, serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    
    /* Sizing */
    --max-width: 900px;
    --spacing-unit: 1rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    font-size: 16px;
}

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

a:hover {
    color: var(--sage);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--teal);
    outline-offset: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    color: var(--navy);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 75ch;
    line-height: 1.8;
}

p.text-light {
    color: var(--text-light);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    background-color: var(--navy);
    color: var(--cream);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--cream);
    transition: var(--transition);
    flex-shrink: 0;
}

.logo:hover {
    color: var(--teal);
}

.logo-text {
    font-size: 1.25rem;
}

.logo-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.9;
}

.nav {
    flex: 1;
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    justify-content: center;
}

.nav-link {
    color: var(--cream);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--teal);
    text-decoration: none;
}

/* Header CTA Section */
.header-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.header-phone {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--cream);
    text-decoration: none;
}

.button-header {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .header-phone {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .nav {
        order: 3;
        flex-basis: 100%;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .header-cta {
        gap: 0.75rem;
    }
    
    .header-phone {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
    
    .button-header {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .header .container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .nav-list {
        justify-content: center;
    }
    
    .header-cta {
        width: 100%;
        gap: 0.5rem;
    }
    
    .header-phone {
        flex: 1;
        text-align: center;
    }
    
    .button-header {
        flex: 1;
    }
}

/* ============================================
   HERO / CAROUSEL SECTION
   ============================================ */

.carousel-hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
    flex: 1;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 58, 0.45) 0%, rgba(107, 142, 127, 0.35) 100%);
    z-index: 1;
}

/* Carousel Content */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: var(--cream);
}

.hero-content .container {
    text-align: center;
}

.hero-title {
    color: var(--cream);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    color: var(--cream);
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--cream);
    opacity: 0.9;
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--teal);
    border-color: var(--teal);
}

.indicator:hover {
    border-color: var(--cream);
}

/* Benefit Badges */
.benefit-badges {
    background-color: var(--cream);
    padding: 3rem 0;
    border-top: 1px solid #e8e5e0;
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--teal);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.badge-text {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .carousel-container {
        height: 300px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .benefit-badges {
        padding: 2rem 0;
    }
}

/* ============================================
   BUTTONS
   ============================================ */

.button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-family: var(--font-body);
}

.button-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.button-primary {
    background-color: var(--teal);
    color: var(--cream);
}

.button-primary:hover {
    background-color: var(--sage);
    color: var(--cream);
    text-decoration: none;
}

.button-secondary {
    background-color: var(--sage);
    color: var(--cream);
}

.button-secondary:hover {
    background-color: var(--teal);
    color: var(--cream);
    text-decoration: none;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 600px) {
    .button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .button-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ============================================
   SECTION STYLES
   ============================================ */

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 65ch;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

/* ============================================
   ABOUT SECTION - PRACTITIONER PROFILES
   ============================================ */

.about-section {
    background-color: white;
}

.practitioner-profile {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e8e5e0;
}

.practitioner-profile:last-child {
    border-bottom: none;
}

/* Practitioner Header */
.practitioner-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3rem;
}

.practitioner-image {
    width: 200px;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.practitioner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.practitioner-intro h3 {
    color: var(--navy);
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.credential {
    font-size: 1rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.tagline {
    font-size: 1.1rem;
    color: var(--sage);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 0 !important;
}

/* Bio Sections */
.practitioner-sections {
    margin-bottom: 2.5rem;
}

.bio-section {
    margin-bottom: 2.5rem;
}

.bio-section:last-of-type {
    margin-bottom: 2rem;
}

.section-label {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--navy);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--teal);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.bio-section p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.bio-section p:last-child {
    margin-bottom: 0;
}

/* Specialty Tags */
.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    display: inline-block;
    background-color: #e8f4f2;
    color: var(--teal);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--teal);
}

.tag:hover {
    background-color: var(--teal);
    color: white;
    transition: var(--transition);
}

/* Credentials List */
.credentials-list,
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.credentials-list li,
.highlights-list li {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.credentials-list li::before,
.highlights-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-weight: bold;
}

/* Experience Section */
.experience-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: #f5f3f0;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--teal);
}

.experience-block {
    display: flex;
    flex-direction: column;
}

.experience-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.experience-value {
    font-size: 1.5rem;
    color: var(--navy);
    font-weight: 700;
    font-family: var(--font-display);
}

/* Practitioner CTAs */
.practitioner-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid #e8e5e0;
}

.practitioner-ctas .button {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .practitioner-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start;
    }

    .practitioner-image {
        width: 100%;
        height: auto;
        aspect-ratio: 2/3;
    }

    .practitioner-intro h3 {
        font-size: 1.75rem;
    }

    .experience-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .practitioner-ctas {
        flex-direction: column;
    }

    .practitioner-ctas .button {
        min-width: auto;
    }

    .specialty-tags {
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================
   APPROACH SECTION
   ============================================ */

.approach-section {
    background-color: var(--light-gray);
}

.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.approach-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--teal);
}

.approach-card h3 {
    margin-bottom: 0.75rem;
}

.duration {
    font-size: 0.95rem;
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.approach-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.reset-switch {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--sage);
    margin-bottom: 3rem;
}

.reset-switch h3 {
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.reset-switch p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.reset-switch p strong {
    color: var(--navy);
    font-weight: 600;
}

@media (max-width: 768px) {
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .reset-switch {
        padding: 2rem;
    }
}

/* ============================================
   LOCATIONS SECTION
   ============================================ */

.locations-section {
    background-color: white;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.location-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--teal);
}

.location-card h3 {
    margin-bottom: 1.5rem;
}

.location-address {
    font-style: normal;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.location-hours h4 {
    margin-bottom: 1rem;
}

.location-hours p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.practice-note {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--sage);
    text-align: center;
}

.practice-note p {
    color: var(--text-light);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.phone-link {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--teal);
    margin-top: 1rem;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--sage);
}

.session-cost {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--teal);
}

.session-cost h3 {
    margin-bottom: 1rem;
}

.cost-amount {
    font-size: 2.5rem;
    font-family: var(--font-display);
    color: var(--teal);
    font-weight: 700;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--navy);
    color: var(--cream);
    padding: 3rem 0;
    text-align: center;
    border-top: 4px solid var(--teal);
}

.footer p {
    color: var(--cream);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-credentials {
    opacity: 0.8;
    margin-bottom: 0;
}

/* ============================================
   CONDITIONS/WHAT WE TREAT SECTION
   ============================================ */

.conditions-section {
  padding: 80px 20px;
  background-color: white;
}

.conditions-container {
  max-width: 900px;
  margin: 0 auto;
}

.conditions-title {
  font-family: 'Gelasio', serif;
  font-size: 48px;
  font-weight: 400;
  color: #1a3a3a;
  margin-bottom: 16px;
  text-align: center;
}

.conditions-intro {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.conditions-intro p {
  font-size: 18px;
  line-height: 1.6;
  color: #2d4a4a;
}

.condition-category {
  margin-bottom: 32px;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #4a9b8e;
}

.category-title {
  font-family: 'Gelasio', serif;
  font-size: 22px;
  font-weight: 400;
  color: #2d5f5f;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #8fb4a8;
}

.condition-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}

.condition-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #3a5a5a;
  padding-left: 24px;
  position: relative;
}

.condition-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8fb4a8;
  font-weight: bold;
}

.approach-section-conditions {
  margin-top: 32px;
  padding: 40px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-left: 4px solid #4a9b8e;
}

.section-subtitle {
  font-family: 'Gelasio', serif;
  font-size: 22px;
  font-weight: 400;
  color: #2d5f5f;
  margin-bottom: 20px;
}

.approach-section-conditions p {
  font-size: 16px;
  line-height: 1.8;
  color: #3a5a5a;
  margin-bottom: 16px;
}

.approach-section-conditions strong {
  color: #1a3a3a;
  font-weight: 500;
}

/* ============================================
   ACCESSIBILITY & UTILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Skip to content link (for screen readers) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--teal);
    color: var(--cream);
    padding: 8px;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* Print styles */
@media print {
    .header, .footer, .cta-buttons, .carousel-indicators {
        display: none;
    }
}

/* Mobile Responsive - Conditions Section */
@media (max-width: 768px) {
  .conditions-section {
    padding: 60px 20px;
  }

  .conditions-title {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .conditions-intro {
    margin-bottom: 40px;
  }

  .conditions-intro p {
    font-size: 16px;
  }

  .condition-category {
    margin-bottom: 36px;
  }

  .category-title {
    font-size: 20px;
  }

  .condition-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .approach-section-conditions {
    margin-top: 40px;
  }

  .section-subtitle {
    font-size: 20px;
  }

  .approach-section-conditions p {
    font-size: 15px;
  }
}
