/* Stories Page Complete Styles */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.4) 0%, rgba(27, 38, 59, 0.3) 100%), url('../images/stories_photo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.2) 0%, rgba(27, 38, 59, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #e0e1dd;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Featured Story Section */
.featured-story {
    padding: 5rem 0;
    background-color: #ffffff;
}

.featured-story h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0d1b2a;
}

.featured-story-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 3rem;
    border: 2px solid rgba(13, 27, 42, 0.15);
    box-shadow: 0 8px 30px rgba(13, 27, 42, 0.2);
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.featured-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.story-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.3);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-header h3 {
    font-size: 2rem;
    color: #0d1b2a;
    margin-bottom: 0.5rem;
}

.story-location {
    color: #1b263b;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.story-debt-amount {
    color: #0d1b2a;
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid rgba(13, 27, 42, 0.2);
}

.story-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #1b263b;
    line-height: 1.6;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 8px;
    border-left: 4px solid #0d1b2a;
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 3rem;
    color: #0d1b2a;
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-family: serif;
}

.story-details {
    color: #1b263b;
    line-height: 1.7;
}

.story-details p {
    margin-bottom: 1.5rem;
}

.story-details strong {
    color: #0d1b2a;
    font-weight: 600;
}

.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 8px;
    border: 1px solid rgba(13, 27, 42, 0.1);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #1b263b;
    font-weight: 500;
}

/* Stories Grid Section */
.stories-grid-section {
    padding: 5rem 0;
    background-color: #e0e1dd;
}

.stories-grid-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0d1b2a;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.story-card {
    background: linear-gradient(135deg, #ffffff 0%, #e0e1dd 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(13, 27, 42, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(13, 27, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(13, 27, 42, 0.3);
    border-color: rgba(13, 27, 42, 0.3);
}

.story-image-small {
    text-align: center;
    margin-bottom: 1.5rem;
}

.placeholder-image-small {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(13, 27, 42, 0.3);
}

.story-card-content h3 {
    font-size: 1.4rem;
    color: #0d1b2a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.story-location-small {
    color: #1b263b;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.story-debt-small {
    color: #0d1b2a;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e0e1dd 0%, #ffffff 100%);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(13, 27, 42, 0.2);
}

.story-quote-small {
    font-size: 1rem;
    font-style: italic;
    color: #1b263b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.story-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.highlight {
    background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    color: #ffffff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Stories CTA Section */
.stories-cta {
    padding: 5rem 0;
    background-color: #ffffff;
    text-align: center;
}

.stories-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0d1b2a;
}

.stories-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #1b263b;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 3rem;
        min-height: 50vh;
        background-size: cover;
        background-position: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .featured-story-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .placeholder-image {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    .story-header h3 {
        font-size: 1.6rem;
    }
    
    .story-quote {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .story-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-grid-section h2,
    .stories-cta h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .story-highlights {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 40vh;
        padding: 3rem 0 2rem;
        background-size: cover;
        background-position: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .featured-story-card {
        padding: 1.5rem;
    }
    
    .story-card {
        padding: 1.5rem;
    }
    
    .placeholder-image {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .placeholder-image-small {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
