/*
 * Free to Nurture - Website Styles
 * Trauma-informed design principles applied for web
 */

/* ===================================
   Color Palette - Soft & Calming
   =================================== */
:root {
    /* Primary Colors */
    --sage-green: #A8B5A0;
    --dusty-mauve: #C8A5B8;
    --warm-cream: #FAF7F2;
    --soft-sage-light: #D8E0D3;
    --soft-sage-lighter: #E8EDE5;

    /* Accent Colors */
    --terracotta: #D4A59A;
    --soft-charcoal: #4A4A4A;
    --warm-gray: #6B6B6B;
    --light-gray: #F5F5F5;

    /* Typography */
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Content Width */
    --content-width: 1200px;
    --content-narrow: 800px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.7;
    color: var(--soft-charcoal);
    background: var(--warm-cream);
}

.container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2.5rem;
    color: var(--dusty-mauve);
}

h3 {
    font-size: 1.8rem;
    color: var(--sage-green);
}

h4 {
    font-size: 1.3rem;
    color: var(--dusty-mauve);
}

p {
    margin-bottom: var(--spacing-sm);
}

em {
    font-style: italic;
    color: var(--warm-gray);
}

strong {
    font-weight: 600;
    color: var(--soft-charcoal);
}

a {
    color: var(--sage-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dusty-mauve);
}

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

/* ===================================
   Navigation
   =================================== */
.nav-bar {
    background: white;
    padding: var(--spacing-sm) 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    filter: sepia(50%) hue-rotate(290deg) saturate(80%);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--sage-green);
    margin-bottom: 0;
}

.tagline {
    font-size: 0.85rem;
    color: var(--dusty-mauve);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.nav-cta {
    background: var(--sage-green);
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--dusty-mauve);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--soft-sage-lighter) 0%, var(--warm-cream) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    color: var(--dusty-mauve);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--warm-gray);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
}

.hero-accent {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--soft-sage-light);
    border-radius: 50%;
    opacity: 0.3;
    z-index: 1;
}

/* ===================================
   Buttons
   =================================== */
.cta-button {
    display: inline-block;
    background: var(--sage-green);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 32px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 181, 160, 0.3);
}

.cta-button:hover {
    background: var(--dusty-mauve);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(168, 181, 160, 0.4);
}

/* ===================================
   Introduction Section
   =================================== */
.intro-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.intro-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--soft-charcoal);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* ===================================
   Signs Section
   =================================== */
.signs-section {
    padding: var(--spacing-xl) 0;
    background: var(--soft-sage-lighter);
}

.section-heading {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--sage-green);
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto;
}

.sign-card {
    background: white;
    padding: 1.25rem 1.5rem 1.25rem 3.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px;
    border-left: 3px solid var(--soft-sage-light);
}

/* Decorative leaf element */
.sign-card::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 14px;
    height: 14px;
    opacity: 0.5;
    background: var(--sage-green);
    border-radius: 2px 50% 50% 50%;
}

.sign-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left-color: var(--sage-green);
}

.sign-card:hover::before {
    opacity: 0.85;
}

.sign-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--soft-charcoal);
}

/* ===================================
   About Section
   =================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.about-layout {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: var(--content-narrow);
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--sage-green);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
}

.about-heading {
    color: var(--dusty-mauve);
    margin-bottom: var(--spacing-md);
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: var(--soft-sage-lighter);
}

.testimonials-container {
    max-width: var(--content-narrow);
    margin: 0 auto;
    position: relative;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.testimonial-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.testimonial-content {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
}

.testimonial-quote {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--soft-charcoal);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: left;
}

.testimonial-quote::before,
.testimonial-quote::after {
    font-size: 4.5rem;
    color: var(--sage-green);
    opacity: 0.4;
    position: absolute;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
}

.testimonial-quote::before {
    content: '\201C';  /* Left double curly quote " */
    top: -0.8rem;
    left: 0;
}

.testimonial-quote::after {
    content: '\201D';  /* Right double curly quote " */
    bottom: -1.5rem;
    right: 0;
}

.testimonial-author {
    font-size: 1rem;
    color: var(--warm-gray);
    font-weight: 500;
    margin-top: var(--spacing-md);
}

/* Carousel controls */
.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--sage-green);
    opacity: 0.3;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot:hover {
    opacity: 0.6;
    transform: scale(1.2);
}

.testimonial-dot.active {
    opacity: 1;
    background: var(--dusty-mauve);
}

.testimonial-dot:focus {
    outline: 2px solid var(--sage-green);
    outline-offset: 2px;
}

/* Arrow navigation (optional, subtle) */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--sage-green);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    z-index: 10;
}

.carousel-nav:hover {
    opacity: 1;
    background: var(--sage-green);
    color: white;
}

.carousel-nav:focus {
    outline: 2px solid var(--sage-green);
    outline-offset: 2px;
}

.carousel-nav-prev {
    left: -20px;
}

.carousel-nav-next {
    right: -20px;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    stroke: var(--sage-green);
}

.carousel-nav:hover svg {
    stroke: white;
}

/* ===================================
   What to Expect Section
   =================================== */
.expect-section {
    padding: var(--spacing-xl) 0;
    background: var(--warm-cream);
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* 2x2 grid on tablets */
@media (max-width: 1000px) {
    .expect-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

.expect-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--sage-green);
}

.expect-card h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--sage-green);
}

.expect-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pricing styling */
.pricing-simple {
    margin-bottom: var(--spacing-sm);
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dotted var(--soft-sage-light);
}

.price-line:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.price {
    font-weight: 600;
    color: var(--sage-green);
}

.pricing-note {
    font-style: italic;
    color: var(--warm-gray);
    font-size: 0.85rem !important;
    margin-top: var(--spacing-sm) !important;
    text-align: center;
}

/* ===================================
   Contact Section
   =================================== */
.contact-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--soft-sage-light) 0%, var(--warm-cream) 100%);
}

.contact-content {
    max-width: var(--content-narrow);
    margin: 0 auto;
    text-align: center;
}

.contact-heading {
    font-size: 2.2rem;
    color: var(--dusty-mauve);
    margin-bottom: var(--spacing-sm);
}

.contact-subheading {
    font-size: 1.2rem;
    color: var(--warm-gray);
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.contact-method {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-icon {
    color: var(--sage-green);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-info h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--sage-green);
}

.contact-info a {
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--soft-charcoal);
}

.contact-info a:hover {
    color: var(--sage-green);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--warm-gray);
    font-style: italic;
    margin: 0;
}

.contact-location {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: white;
    border-radius: 12px;
    font-size: 1.05rem;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--spacing-xl) 0;
    background: white;
    border-top: 1px solid var(--soft-sage-light);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.credentials {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.quality-badge {
    height: 60px;
    width: auto;
}

.credential-text {
    text-align: left;
}

.credential-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--warm-gray);
}

.credential-text strong {
    color: var(--soft-charcoal);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.5;
}

.footer-note {
    font-style: italic;
    font-size: 0.8rem;
}

.footer-website {
    margin-top: var(--spacing-xs);
    font-size: 0.85rem;
}

.footer-website a {
    color: var(--sage-green);
    text-decoration: none;
    font-weight: 500;
}

.footer-website a:hover {
    color: var(--dusty-mauve);
    text-decoration: underline;
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablets */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-2xl: 4rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-layout {
        flex-direction: column;
        text-align: center;
    }

    .profile-photo {
        width: 160px;
        height: 160px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

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

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

    .signs-grid {
        grid-template-columns: 1fr;
    }

    .carousel-nav-prev {
        left: -10px;
    }

    .carousel-nav-next {
        right: -10px;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    .nav-content {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .logo {
        flex-direction: row;
        gap: 0.5rem;
    }

    .logo-image {
        height: 38px;
    }

    .logo-text {
        text-align: left;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .tagline {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .expect-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .profile-photo {
        width: 140px;
        height: 140px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
    }

    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }

    .testimonial-quote {
        font-size: 1rem;
        padding-left: 2.2rem;
        padding-right: 2.2rem;
    }

    .testimonial-quote::before,
    .testimonial-quote::after {
        font-size: 3rem;
    }

    .testimonial-quote::before {
        top: -0.5rem;
    }

    .testimonial-quote::after {
        bottom: -1.2rem;
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --sage-green: #7A8F72;
        --dusty-mauve: #B088A0;
        --soft-charcoal: #000000;
    }
}

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

    body {
        background: white;
    }

    .hero,
    .signs-section,
    .expect-section,
    .contact-section {
        background: white;
    }
}
