/* ==========================================================================
   Our Story / About Us Page - Aanyaas Enterprises
   Ultra-Luxury Editorial Design System
   ========================================================================== */

:root {
    --story-gold: #d4af37;
    --story-gold-light: #f5e6c8;
    --story-gold-gradient: linear-gradient(135deg, #e8c08a 0%, #d4af37 50%, #b8860b 100%);
    --story-rose: #ba6286;
    --story-rose-dark: #8c3b5d;
    --story-wine: #381523;
    --story-bg-cream: #fbf7f2;
    --story-bg-sand: #f5eee6;
    --story-card-bg: rgba(255, 255, 255, 0.88);
    --story-shadow-subtle: 0 10px 30px rgba(74, 30, 51, 0.06);
    --story-shadow-hover: 0 20px 45px rgba(74, 30, 51, 0.12);
    --story-font-heading: 'Boska', 'Playfair Display', Georgia, serif;
    --story-font-body: 'General Sans', 'Poppins', sans-serif;
}

/* Page Container */
.story-page-wrapper {
    background-color: var(--story-bg-cream);
    color: #2f2a26;
    overflow-x: hidden;
}

/* 1. HERO EDITORIAL SECTION */
.story-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-color: #1a1215;
    background-image: url('../img/story/story_hero.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
    overflow: hidden;
}

.story-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(26, 17, 21, 0.94) 0%,
        rgba(40, 20, 30, 0.82) 45%,
        rgba(26, 17, 21, 0.55) 100%
    );
    z-index: 1;
}

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

.story-crest-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: rgba(232, 192, 138, 0.12);
    border: 1px solid rgba(232, 192, 138, 0.35);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    color: #f7dfbe;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.story-crest-badge i {
    color: #e8c08a;
    font-size: 0.85rem;
}

.story-hero-title {
    font-family: var(--story-font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.story-hero-title span {
    background: linear-gradient(135deg, #ffffff 30%, #e8c08a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.story-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: #e2d7d7;
    font-weight: 300;
    line-height: 1.8;
    max-width: 650px;
    margin-bottom: 36px;
}

.story-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.btn-story-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ba6286 0%, #8c3b5d 100%);
    color: #ffffff !important;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 10px 25px rgba(186, 98, 134, 0.35);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
}

.btn-story-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(186, 98, 134, 0.5);
    background: linear-gradient(135deg, #c77194 0%, #9e466c 100%);
    color: #ffffff !important;
}

.btn-story-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #f7dfbe !important;
    border: 1px solid rgba(232, 192, 138, 0.45);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.88rem;
    letter-spacing: 1px;
    text-decoration: none !important;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-story-outline:hover {
    background: rgba(232, 192, 138, 0.15);
    border-color: #e8c08a;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Fast stat bar at bottom of hero */
.story-fast-bar {
    margin-top: 60px;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.story-fast-item {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.story-fast-item:last-child {
    border-right: none;
}

.story-fast-num {
    font-family: var(--story-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #e8c08a;
    display: block;
    line-height: 1.1;
}

.story-fast-label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #d1c5c5;
    margin-top: 4px;
    display: block;
}

/* 2. ORNAMENTAL SECTION HEADERS */
.story-sec-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 55px;
}

.story-sec-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--story-rose);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.story-sec-title {
    font-family: var(--story-font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #1a1215;
    line-height: 1.2;
    margin-bottom: 18px;
}

.story-sec-title em {
    font-style: italic;
    color: var(--story-rose);
    font-family: var(--story-font-heading);
}

.story-divider-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px auto 0;
    width: 220px;
}

.story-divider-ornament::before,
.story-divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(186, 98, 134, 0.4), transparent);
}

.story-divider-ornament i {
    color: var(--story-gold);
    font-size: 0.85rem;
}

/* 3. CHAPTER 1: ORIGIN STORY ("WHERE IT ALL BEGAN") */
.story-origin-section {
    padding: 100px 0 80px;
    background: var(--story-bg-cream);
    position: relative;
}

.story-dropcap::first-letter {
    font-family: var(--story-font-heading);
    font-size: 3.8rem;
    line-height: 0.85;
    float: left;
    margin-right: 12px;
    margin-top: 4px;
    color: var(--story-rose);
    font-weight: 700;
}

.story-origin-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 45px;
    box-shadow: var(--story-shadow-subtle);
    border: 1px solid rgba(186, 98, 134, 0.12);
    position: relative;
    height: 100%;
}

.story-origin-card::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 30px;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    pointer-events: none;
}

.story-name-meaning-badge {
    background: linear-gradient(135deg, rgba(253, 246, 240, 0.95), rgba(248, 238, 228, 0.9));
    border-left: 4px solid var(--story-rose);
    padding: 24px 28px;
    border-radius: 12px;
    margin: 30px 0;
}

.story-name-meaning-badge h4 {
    font-family: var(--story-font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--story-wine);
    margin-bottom: 8px;
}

.story-name-meaning-badge p {
    font-size: 0.92rem;
    color: #634b54;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 4. CHAPTER 2: FOUNDER'S CHRONICLE */
.story-founder-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5eee6 0%, #fbf7f2 100%);
    position: relative;
    overflow: hidden;
}

.story-founder-img-wrapper {
    position: relative;
    padding: 20px;
}

.story-founder-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(56, 21, 35, 0.18);
    border: 8px solid #ffffff;
}

.story-founder-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center top;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-founder-frame:hover img {
    transform: scale(1.04);
}

.story-founder-tag {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(186, 98, 134, 0.2);
}

.story-founder-tag h5 {
    font-family: var(--story-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1215;
    margin-bottom: 2px;
}

.story-founder-tag span {
    font-size: 0.76rem;
    color: var(--story-rose);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.story-founder-quote-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--story-shadow-subtle);
    border-left: 5px solid var(--story-gold);
    position: relative;
}

.story-quote-symbol {
    font-family: var(--story-font-heading);
    font-size: 4.5rem;
    color: rgba(212, 175, 55, 0.22);
    line-height: 0;
    position: absolute;
    top: 35px;
    right: 30px;
    user-select: none;
}

.story-founder-quote {
    font-family: var(--story-font-heading);
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-style: italic;
    color: #2b1720;
    line-height: 1.7;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.story-founder-author {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--story-rose);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 5. CHAPTER 3: THE KARIGAR GUILD & CRAFTSMANSHIP */
.story-artisan-section {
    padding: 100px 0;
    background: #1c1317;
    color: #f7f1ee;
    position: relative;
}

.story-artisan-img-wrapper {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(232, 192, 138, 0.2);
}

.story-artisan-img-wrapper img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.story-artisan-img-wrapper:hover img {
    transform: scale(1.03);
}

.story-artisan-img-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    font-size: 0.85rem;
    color: #f0e6df;
}

.story-craft-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(232, 192, 138, 0.25);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.story-craft-pill:hover {
    background: rgba(232, 192, 138, 0.1);
    border-color: rgba(232, 192, 138, 0.5);
    transform: translateX(6px);
}

.story-craft-pill h5 {
    font-family: var(--story-font-heading);
    font-size: 1.15rem;
    color: #e8c08a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.story-craft-pill h5 i {
    font-size: 0.95rem;
    color: var(--story-rose);
}

.story-craft-pill p {
    font-size: 0.88rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 6. CREATION PROCESS TIMELINE */
.story-process-section {
    padding: 100px 0;
    background: #ffffff;
}

.story-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.story-process-card {
    background: #fbf7f2;
    border-radius: 20px;
    padding: 35px 28px;
    position: relative;
    border: 1px solid rgba(186, 98, 134, 0.12);
    transition: all 0.4s ease;
}

.story-process-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--story-shadow-hover);
    background: #ffffff;
    border-color: var(--story-rose);
}

.story-step-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ba6286, #8c3b5d);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 22px;
    box-shadow: 0 6px 15px rgba(186, 98, 134, 0.3);
}

.story-process-card h4 {
    font-family: var(--story-font-heading);
    font-size: 1.3rem;
    color: #1a1215;
    margin-bottom: 12px;
    font-weight: 700;
}

.story-process-card p {
    font-size: 0.9rem;
    color: #665259;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 7. SHOWCASE GALLERY */
.story-showcase-section {
    padding: 100px 0;
    background: var(--story-bg-sand);
}

.story-showcase-box {
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(56, 21, 35, 0.12);
}

.story-showcase-box img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.story-showcase-box:hover img {
    transform: scale(1.05);
}

.story-showcase-floating-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: var(--story-shadow-hover);
    border: 1px solid rgba(186, 98, 134, 0.15);
}

/* 8. FOUR CORE PILLARS */
.story-pillars-section {
    padding: 100px 0 80px;
    background: var(--story-bg-cream);
}

.story-pillar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 38px 30px;
    height: 100%;
    border: 1px solid rgba(186, 98, 134, 0.1);
    box-shadow: var(--story-shadow-subtle);
    transition: all 0.35s ease;
    text-align: center;
}

.story-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--story-shadow-hover);
    border-color: rgba(212, 175, 55, 0.5);
}

.story-pillar-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fdf6f0 0%, #fbf0e8 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--story-rose);
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.story-pillar-card:hover .story-pillar-icon {
    background: var(--story-rose);
    color: #ffffff;
    transform: scale(1.1);
}

.story-pillar-card h4 {
    font-family: var(--story-font-heading);
    font-size: 1.28rem;
    color: #1a1215;
    margin-bottom: 12px;
    font-weight: 700;
}

.story-pillar-card p {
    font-size: 0.88rem;
    color: #634f55;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 9. CALL TO ACTION FINALE */
.story-cta-section {
    padding: 110px 0;
    position: relative;
    background: linear-gradient(135deg, #2b1621 0%, #4a1e33 60%, #201018 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.story-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 192, 138, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.story-cta-title {
    font-family: var(--story-font-heading);
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.story-cta-title em {
    font-style: italic;
    background: linear-gradient(135deg, #ffffff 40%, #e8c08a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-cta-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: #eed6df;
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
}

/* Breadcrumbs Banner */
.story-breadcrumb-bar {
    background: #ffffff;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.84rem;
}

.story-breadcrumb-bar a {
    color: #88747a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.story-breadcrumb-bar a:hover {
    color: var(--story-rose);
}

.story-breadcrumb-bar span {
    color: #caaeb7;
    margin: 0 10px;
}

.story-breadcrumb-bar .active {
    color: var(--story-rose);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .story-hero {
        min-height: auto;
        padding: 60px 0;
    }
    .story-hero-content {
        padding: 40px 0;
    }
    .story-fast-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .story-founder-frame img,
    .story-artisan-img-wrapper img,
    .story-showcase-box img {
        height: 380px;
    }
    .story-origin-card {
        padding: 35px 25px;
    }
}

@media (max-width: 576px) {
    .story-fast-bar {
        grid-template-columns: 1fr;
    }
    .story-fast-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 12px;
    }
    .story-fast-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .story-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-story-primary,
    .btn-story-outline {
        width: 100%;
        justify-content: center;
    }
}
