/* About Page - Story First Design */

/* Variables */
:root {
    --primary-color: #2c1810;
    --secondary-color: #d4a574;
    --text-light: #666;
    --text-dark: #333;
    --bg-light: #f8f6f3;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section defaults */
section {
    padding: 80px 0;
    position: relative;
}

/* Typography defaults */
h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Button styles */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-align: center;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #c09560;
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Text utilities */
.text-center {
    text-align: center;
}

.emphasis {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Story Hero - Simple and elegant */

.story-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3d2418 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Add hero background animation */
.story-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,50 Q30,20 40,50 T60,50 T80,50" stroke="white" fill="none" opacity="0.3"/></svg>') repeat;
    opacity: 0.1;
    animation: steamFloat 20s infinite linear;
}

@keyframes steamFloat {
    0% { transform: translate(-50%, 0) rotate(0deg); }
    100% { transform: translate(0, -50%) rotate(360deg); }
}

/* Update story intro styles for white text on dark background */
.story-intro {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.story-intro h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
}

.story-tagline {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Add a subtle scroll hint */
.story-hero::after {
    content: '';
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 50px;
    background: rgba(255,255,255,0.3);
    animation: scrollDown 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .story-hero {
        min-height: 60vh;
    }
    
    .story-intro h1 {
        font-size: 2.5rem;
    }
    
    .story-tagline {
        font-size: 1.1rem;
        padding: 0 20px;
    }
}

/* Hero trust signals */
.hero-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.hero-trust i {
    color: var(--secondary-color);
}

/* Chapter Markers */
.chapter-marker {
    margin-bottom: 3rem;
}

.chapter-marker span {
    display: inline-block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.chapter-marker h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

/* Story Content Layout */
.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-opener {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.story-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-color);
    border-left: 4px solid var(--secondary-color);
    padding-left: 2rem;
    margin: 2rem 0;
}

.story-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1rem;
    font-style: italic;
}

/* Discovery Section */
.story-discovery {
    background: var(--bg-light);
    padding: 80px 0;
}

.discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

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

.discovery-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.discovery-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Problem Visual */
.problem-visual {
    margin: 3rem 0;
}

.scattered-roasters {
    position: relative;
    height: 300px;
    background: rgba(0,0,0,0.02);
    border-radius: 20px;
    overflow: hidden;
}

.roaster-dot {
    position: absolute;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
}

.question-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Timeline Visual */
.timeline-visual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.milestone {
    text-align: center;
}

.milestone .year {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Beliefs */
.our-beliefs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.belief h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Today Section */
.personal-note {
    font-size: 1.1rem;
    line-height: 1.8;
}

.signature {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.signature-image {
    height: 60px;
}

.signature-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.signature-text span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Community Stats */
.community-highlight {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    text-align: center;
}

.community-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

.community-stats .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Simple CTA */
.story-cta {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.story-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.story-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.cta-buttons .or {
    color: rgba(255,255,255,0.6);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .story-grid,
    .discovery-grid,
    .timeline-visual,
    .our-beliefs {
        grid-template-columns: 1fr;
    }
    
    .story-intro h1 {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}


/* CTA Content */
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Story sections specific styles */
.story-beginning,
.story-problem,
.story-birth,
.story-difference,
.story-today {
    padding: 80px 0;
}

.story-beginning {
    background: white;
}

.story-problem {
    background: white;
}

.story-birth {
    background: var(--bg-light);
}

.story-difference {
    background: white;
}

.story-today {
    background: var(--bg-light);
}

/* Discovery journey */
.discovery-journey p {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

/* Problem narrative */
.problem-narrative {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Birth story */
.birth-story {
    max-width: 900px;
    margin: 0 auto;
}

/* Difference story */
.difference-story {
    max-width: 900px;
    margin: 0 auto;
}

/* Today content */
.today-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Additional typography for stat labels */
.community-stats .label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Ensure all images are responsive */
img {
    max-width: 100%;
    height: auto;
}