/* ===== OUR STORY PAGE STYLES ===== */

/* Story Hero */
.story-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.story-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.story-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.40));
    z-index: 1;
}

.story-hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 60px;
}

.story-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sand);
    margin-bottom: 16px;
}

.story-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.story-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: var(--color-white);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Story Sections */
.story-section {
    padding: 120px 0;
    background-color: var(--color-cream);
    position: relative;
}

.story-section-alt {
    background-color: var(--color-white);
}

/* Elegant Timeline Connector */
.story-section::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--color-sand) 10%,
        var(--color-sand) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Dot */
.story-section::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 60px;
    width: 16px;
    height: 16px;
    background-color: var(--color-sand);
    border: 3px solid var(--color-white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(212, 197, 185, 0.4);
}

/* Hide timeline on first section (has hero above it) */
.story-section:first-of-type::before {
    top: 60px;
    height: calc(100% - 60px);
}

/* Hide timeline line on last section before CTA */
.story-section:last-of-type::before {
    height: 60%;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-grid-reverse {
    direction: rtl;
}

.story-grid-reverse > * {
    direction: ltr;
}

.story-image-col {
    position: relative;
}

.story-image {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.story-text-col {
    padding: 40px 0;
}

.story-heading {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 32px;
}

.story-text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-black);
    margin-bottom: 24px;
}

.story-text strong {
    font-weight: 500;
}

.story-text em {
    font-style: italic;
    opacity: 0.8;
}

/* Story CTA */
.story-cta {
    padding: 120px 0;
    background-color: var(--color-black);
    text-align: center;
}

.story-cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.story-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.story-cta-text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: var(--color-white);
    opacity: 0.9;
    margin-bottom: 40px;
}

/* Story CTA Button - Sand/Beige style */
.story-cta .btn-primary {
    background-color: var(--color-sand);
    color: var(--color-black);
    border: 2px solid var(--color-sand);
}

.story-cta .btn-primary:hover {
    background-color: transparent;
    color: var(--color-sand);
    border-color: var(--color-sand);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 197, 185, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .story-hero {
        min-height: 100vh;
    }
    
    .story-hero-content {
        padding: 100px 0 40px;
    }
    
    .story-section {
        padding: 80px 0;
    }
    
    /* Hide timeline on mobile for cleaner look */
    .story-section::before,
    .story-section::after {
        display: none;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-grid-reverse {
        direction: ltr;
    }
    
    .story-text-col {
        padding: 0;
    }
    
    .story-heading {
        margin-bottom: 24px;
    }
    
    .story-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .story-cta {
        padding: 80px 0;
    }
    
    .story-cta-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .story-hero {
        min-height: 100vh;
    }
    
    .story-section {
        padding: 60px 0;
    }
    
    .story-cta {
        padding: 60px 0;
    }
}
