/* Stories Section - Minimalistic Design */
.stories-section {
    background: var(--bg-dark);
    padding: 80px 0;
}

.stories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.stories-header {
    text-align: center;
    margin-bottom: 60px;
}

.stories-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: var(--white);
    margin-bottom: 12px;
}

.stories-header p {
    font-size: 0.875rem;
    color: rgba(245, 242, 237, .6);
    letter-spacing: 0.05em;
}

/* Swiper Container */
.stories-swiper {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.swiper-wrapper {
    display: flex;
}

/* Story Card */
.story-card {
    background: var(--bg-card);
    border-radius: 2px;
    overflow: hidden;
    height: auto;
}

/* Before/After Container */
.before-after-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: ew-resize;
}

.before-after-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.before-image {
    z-index: 1;
}

.after-image {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--brass);
    z-index: 3;
    transform: translateX(-50%);
}

.slider-handle::before {
    content: '⟨⟩';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    letter-spacing: -4px;
}

.image-labels {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 4;
    pointer-events: none;
}

.image-labels span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 12px;
    border-radius: 2px;
}

/* Story Content */
.story-content {
    padding: 30px;
}

.story-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brass);
    margin-bottom: 16px;
}

.story-problem,
.story-solution {
    margin-bottom: 20px;
}

.story-problem h4,
.story-solution h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brass);
    margin-bottom: 8px;
    font-weight: 600;
}

.story-problem p,
.story-solution p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(245, 242, 237, .85);
    margin: 0;
}

.story-quote {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(184, 149, 106, .2);
}

.story-quote blockquote {
    font-family: var(--font-display);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.6;
    color: rgba(245, 242, 237, .9);
    margin: 0 0 12px 0;
}

.story-author {
    font-size: 0.75rem;
    color: rgba(245, 242, 237, .6);
}

.story-author strong {
    color: var(--brass);
    font-weight: 600;
}

/* Navigation */
.stories-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.stories-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(184, 149, 106, .3);
    background: transparent;
    color: var(--brass);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.stories-arrow:hover {
    background: var(--brass);
    color: white;
}

.stories-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.stories-dots {
    display: flex;
    gap: 8px;
}

.story-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(184, 149, 106, .3);
    cursor: pointer;
    transition: all 0.3s;
}

.story-dot.active {
    background: var(--brass);
    width: 24px;
    border-radius: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stories-section {
        padding: 60px 0;
    }
    
    .stories-container {
        padding: 0 20px;
    }
    
    .stories-header {
        margin-bottom: 40px;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .stories-arrow {
        display: none;
    }
    
    .before-after-container {
        aspect-ratio: 4/3;
    }
}
