/* ==========================================
   ARTISAN STORIES PAGE STYLES
   ========================================== */

body.stories-page {
    background-color: #fdfbf7;
    color: #2b2b2b;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* HERO SECTION */
.stories-hero {
    position: relative;
    height: 50vh;
    min-height: 380px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('../images/ChatGPT_Image_Aug_8__2026__03_07_17_AM-removebg-preview.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 850px;
    color: #ffffff;
    z-index: 1;
}

.sub-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #e2c074;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
    max-width: 750px;
    margin: 0 auto;
}

/* MAIN LAYOUT */
.stories-container {
    max-width: 1200px;
    margin: 70px auto 100px;
    padding: 0 20px;
}

/* STORY ROW - ALTERNATING GRID */
.story-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

/* RIGHT-LEFT ALTERNATION */
.story-row.right-left {
    grid-template-columns: 1.1fr 1fr;
}

.story-row.right-left .artisan-image-wrapper {
    grid-column: 2;
}

.story-row.right-left .artisan-details {
    grid-column: 1;
    grid-row: 1;
}

/* IMAGE FRAME & BADGE */
.artisan-image-wrapper {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border: 1px solid #eae0d0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.image-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(184, 134, 11, 0.2);
}

.artisan-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    filter: brightness(0.97) contrast(1.03);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    border-left: 3px solid #b8860b;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.experience-badge .number {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #e2c074;
}

.experience-badge .label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ccc;
}

/* DETAILS & TYPOGRAPHY */
.artisan-region {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b8860b;
    font-weight: 600;
}

.artisan-region i {
    margin-right: 5px;
}

.artisan-name {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin: 5px 0;
}

.artisan-craft {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 20px;
}

.story-text {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.artisan-quote {
    background: #f4eee2;
    border-left: 4px solid #b8860b;
    padding: 18px 22px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
    position: relative;
}

.artisan-quote i {
    color: #b8860b;
    font-size: 1.1rem;
    margin-right: 10px;
}

.artisan-quote span {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #2c2c2c;
    line-height: 1.6;
}

.quote-modal-btn {
    background: transparent;
    border: 1px solid #b8860b;
    color: #b8860b;
    padding: 10px 22px;
    border-radius: 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.quote-modal-btn:hover {
    background: #b8860b;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

/* DIVIDER */
.story-divider {
    text-align: center;
    margin: 50px 0;
    position: relative;
}

.story-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    width: 80%;
    height: 1px;
    background: #e6dac6;
    z-index: 0;
}

.motif-diamond {
    position: relative;
    background: #fdfbf7;
    padding: 0 15px;
    color: #b8860b;
    font-size: 1.2rem;
    z-index: 1;
}

/* SCROLL REVEAL ANIMATION */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MODAL STYLES */
.story-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-box {
    background: #ffffff;
    border-radius: 12px;
    max-width: 550px;
    width: 100%;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-top: 4px solid #b8860b;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #b8860b;
}

.modal-body .quote-icon {
    font-size: 2rem;
    color: #b8860b;
    margin-bottom: 15px;
}

.modal-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.modal-body p {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.modal-body .signature {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #b8860b;
    font-weight: 600;
}

/* RESPONSIVE DESIGN */
@media (max-width: 902px) {
    .story-row, .story-row.right-left {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-row.right-left .artisan-image-wrapper,
    .story-row.right-left .artisan-details {
        grid-column: 1;
        grid-row: auto;
    }

    .artisan-img {
        height: 380px;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }
}