/* Emily Contact/About Page Styles */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-green: #2a5434;
    --accent-green: #4a7c59;
    --light-sage: #87a878;
    --cream: #faf8f5;
    --warm-white: #fffef9;
    --earth-brown: #6b4423;
    --text-dark: #2c2c2c;
    --text-light: #6b6b6b;
    --border-light: #e5e5e5;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-max: 1200px;

    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--warm-white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Base */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* Hero Section */
.about-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--section-padding) * 0.6) 0 var(--section-padding) 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    overflow: hidden;
}

.hero-texture-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grain' x='0' y='0' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='50' cy='50' r='1' fill='%23000'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23grain)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
}

.image-ring-animated {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.image-ring-animated::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    border: 3px solid var(--accent-green);
    animation: rotate-ring 20s linear infinite;
}

.image-ring-animated::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    border-radius: 50%;
    border: 2px dashed var(--light-sage);
    animation: rotate-ring-reverse 30s linear infinite;
    opacity: 0.5;
}

@keyframes rotate-ring {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-ring-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(42, 84, 52, 0.2);
}

.floating-quote {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-green);
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.quote-1 {
    top: 20%;
    right: -40px;
    animation-delay: 0s;
}

.quote-2 {
    bottom: 20%;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--accent-green);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fade-in-up 0.8s ease forwards;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-line-1, .title-line-2 {
    display: block;
    opacity: 0;
    animation: fade-in-up 0.8s ease forwards;
}

.title-line-1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-light);
    animation-delay: 0.2s;
}

.title-line-2 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--primary-green);
    animation-delay: 0.4s;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fade-in-up 0.8s ease forwards;
    animation-delay: 0.6s;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.btn-scroll-indicator {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-base);
}

.btn-scroll-indicator:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

.btn-scroll-indicator svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(5px); }
    60% { transform: translateY(3px); }
}

/* Journey Timeline Section */
.journey-timeline-section {
    padding: var(--section-padding) 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.timeline-wrapper {
    position: relative;
    padding: 0 40px;
}

.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--light-sage) 0%, var(--primary-green) 100%);
    transform: translateX(-50%);
}

.timeline-chapter {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.timeline-chapter.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-chapter:nth-child(even) .chapter-content {
    grid-column: 3;
    text-align: left;
}

.timeline-chapter:nth-child(odd) .chapter-content {
    grid-column: 1;
    text-align: right;
}

.chapter-marker {
    grid-column: 2;
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all var(--transition-base);
}

.timeline-chapter:hover .chapter-marker {
    background: var(--primary-green);
    transform: scale(1.1);
}

.timeline-chapter:hover .marker-number {
    color: white;
}

.marker-number {
    font-weight: 700;
    color: var(--primary-green);
    font-size: 1.2rem;
    transition: color var(--transition-base);
}

.chapter-content {
    padding: 20px;
}

.chapter-title {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.chapter-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.chapter-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform var(--transition-base);
}

.chapter-image:hover {
    transform: scale(1.02);
}

.chapter-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.chapter-highlight {
    padding: 20px;
    background: var(--cream);
    border-left: 4px solid var(--accent-green);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.chapter-highlight span {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-green);
    font-weight: 500;
}

.diet-journey-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

.timeline-chapter:nth-child(odd) .diet-journey-badges {
    justify-content: flex-end;
}

.timeline-chapter:nth-child(even) .diet-journey-badges {
    justify-content: flex-start;
}

.diet-badge {
    padding: 6px 16px;
    background: var(--light-sage);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    animation: pop-in 0.5s ease forwards;
}

.timeline-chapter.visible .diet-badge:nth-child(1) { animation-delay: 0.1s; }
.timeline-chapter.visible .diet-badge:nth-child(2) { animation-delay: 0.2s; }
.timeline-chapter.visible .diet-badge:nth-child(3) { animation-delay: 0.3s; }
.timeline-chapter.visible .diet-badge:nth-child(4) { animation-delay: 0.4s; }
.timeline-chapter.visible .diet-badge:nth-child(5) { animation-delay: 0.5s; }
.timeline-chapter.visible .diet-badge:nth-child(6) { animation-delay: 0.6s; }

@keyframes pop-in {
    to {
        opacity: 1;
        transform: scale(1);
    }
    from {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Philosophy Section */
.philosophy-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.philosophy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.philosophy-title {
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.philosophy-tagline {
    font-size: 1.4rem;
}

.tagline-highlight {
    display: inline-block;
    position: relative;
    color: var(--primary-green);
    font-weight: 600;
    font-style: italic;
}

.tagline-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.philosophy-section:hover .tagline-highlight::after {
    transform: scaleX(1);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 3rem;
}

.philosophy-block {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all var(--transition-base);
}

.philosophy-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.block-left {
    position: relative;
}

.block-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.block-full {
    grid-column: span 2;
}

.block-content {
    padding: 40px;
}

.block-right .block-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.philosophy-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.block-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--light-sage) 0%, var(--accent-green) 100%);
    opacity: 0.1;
    border-radius: 0 16px 0 100%;
}

.block-image {
    height: 100%;
    min-height: 300px;
}

.block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manifesto-quote {
    padding: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
}

.manifesto-quote blockquote {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--primary-green);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.manifesto-quote blockquote::before,
.manifesto-quote blockquote::after {
    content: '"';
    font-size: 4rem;
    color: var(--light-sage);
    opacity: 0.3;
    position: absolute;
}

.manifesto-quote blockquote::before {
    top: -20px;
    left: -40px;
}

.manifesto-quote blockquote::after {
    bottom: -40px;
    right: -40px;
}

.manifesto-quote cite {
    color: var(--text-light);
    font-style: normal;
    font-weight: 500;
}

/* Experience Section */
.experience-section {
    padding: var(--section-padding) 0;
    background: white;
}

.experience-wrapper {
    margin-top: 3rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

.credential-card {
    position: relative;
    height: 250px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
}

.credential-card:hover {
    transform: rotateY(180deg);
}

.credential-card.flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-front {
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    border: 2px solid var(--border-light);
}

.card-back {
    background: var(--primary-green);
    color: white;
    transform: rotateY(180deg);
}

.credential-icon {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.credential-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.years-count, .diet-count, .client-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.farm-badge {
    font-size: 1.4rem;
    color: var(--accent-green);
    font-weight: 600;
    padding: 8px 20px;
    background: var(--cream);
    border-radius: 20px;
}

.card-back p {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 40px;
    background: var(--cream);
    border-radius: 16px;
}

.skill-tag {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--accent-green);
    color: var(--primary-green);
    border-radius: 25px;
    font-weight: 500;
    transition: all var(--transition-base);
    cursor: default;
}

.skill-tag:hover {
    background: var(--accent-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 124, 89, 0.3);
}

/* Difference Section */
.difference-section {
    padding: var(--section-padding) 0;
    background: var(--cream);
}

.comparison-wrapper {
    margin-top: 3rem;
}

.comparison-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
}

.toggle-btn {
    padding: 14px 40px;
    background: white;
    border: 2px solid var(--border-light);
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
}

.toggle-btn:first-child {
    border-radius: 50px 0 0 50px;
}

.toggle-btn:last-child {
    border-radius: 0 50px 50px 0;
    border-left: none;
}

.toggle-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

.comparison-content {
    position: relative;
    min-height: 400px;
}

.comparison-view {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-base);
    pointer-events: none;
}

.comparison-view.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.comparison-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all var(--transition-base);
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.item-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.item-icon.negative {
    color: #e74c3c;
}

.item-icon.positive {
    color: var(--accent-green);
}

.comparison-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.comparison-item p {
    font-size: 1rem;
    line-height: 1.6;
}

.personal-touch {
    margin-top: 4rem;
    padding: 40px;
    background: white;
    border-radius: 16px;
    text-align: center;
}

.emily-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--primary-green);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
}

/* Final CTA Section */
.about-cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    color: white;
}

.cta-wrapper {
    text-align: center;
}

.cta-title {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.service-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 30px;
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transition: left var(--transition-base);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.card-icon {
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: white;
}

.service-card p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.card-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    display: inline-block;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-green);
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-green);
    transform: translateY(-2px);
}

.contact-info {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.contact-info a {
    color: white;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image-wrapper {
        margin-bottom: 3rem;
    }

    .image-ring-animated {
        width: 300px;
        height: 300px;
    }

    .floating-quote {
        display: none;
    }

    .journey-timeline-section .container {
        padding: 0;
        max-width: 100%;
    }

    .journey-timeline-section .section-header {
        padding: 0 15px;
    }

    .timeline-wrapper {
        padding: 0;
    }

    .timeline-chapter {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .timeline-track {
        display: none;
    }

    .timeline-chapter:nth-child(even) .chapter-content,
    .timeline-chapter:nth-child(odd) .chapter-content {
        grid-column: 1;
        text-align: left;
    }

    .chapter-marker {
        grid-column: 1;
        grid-row: 1;
        margin: 0 auto;
    }

    .chapter-content {
        grid-row: 2;
        padding: 15px;
    }

    .diet-journey-badges {
        justify-content: flex-start !important;
    }

    .skills-cloud {
        display: none;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-quote blockquote::before,
    .manifesto-quote blockquote::after {
        display: none;
    }

    .block-full {
        grid-column: 1;
    }

    .block-right {
        grid-template-columns: 1fr;
    }

    .block-image {
        min-height: 200px;
    }

    /* Disable hover on mobile, use click with .flipped class */
    .credential-card:hover {
        transform: none;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px;
    }

    h2 {
        font-size: 2rem;
    }

    .title-line-1 {
        font-size: 2rem;
    }

    .title-line-2 {
        font-size: 2.5rem;
    }

    .comparison-toggle {
        flex-direction: column;
        gap: 0;
    }

    .toggle-btn {
        width: 100%;
        border-radius: 8px !important;
        border: 2px solid var(--border-light) !important;
        margin-bottom: 10px;
    }

    .manifesto-quote {
        padding: 30px;
    }

    .manifesto-quote blockquote {
        font-size: 1.2rem;
    }
}

/* Animations on Scroll */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Print Styles */
@media print {
    .floating-quote,
    .btn-scroll-indicator,
    .comparison-toggle,
    .service-cards,
    .cta-buttons {
        display: none;
    }
}