/**
 * Inkora About Story Block - Frontend Styles
 * Version: 1.0.0
 */

:root {
    --inkora-primary: #2398bc;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.inkora-about-story {
    position: relative;
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
}

.inkora-about-story-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   FLOATING SHAPES
   ============================================ */
.inkora-about-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.inkora-about-shapes .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.inkora-about-shapes .shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
}

.inkora-about-shapes .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -40px;
    left: -40px;
}

.inkora-about-shapes .shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

/* ============================================
   FLEX LAYOUT - Image + Content
   ============================================ */
.inkora-about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.inkora-about-flex-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.inkora-about-flex-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.inkora-about-flex-content {
    flex: 1;
    min-width: 0;
}

/* Image Position: Left */
.inkora-about-image-left .inkora-about-flex {
    flex-direction: row;
}

.inkora-about-image-left .inkora-about-flex-image {
    order: 0;
}

.inkora-about-image-left .inkora-about-flex-content {
    order: 1;
}

/* Image Position: Right */
.inkora-about-image-right .inkora-about-flex {
    flex-direction: row;
}

.inkora-about-image-right .inkora-about-flex-image {
    order: 1;
}

.inkora-about-image-right .inkora-about-flex-content {
    order: 0;
}

/* Image Position: Top */
.inkora-about-image-top .inkora-about-flex {
    flex-direction: column;
}

.inkora-about-image-top .inkora-about-flex-image {
    flex: 0 0 auto;
    max-width: 60%;
}

.inkora-about-image-top .inkora-about-flex-image img {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
}

.inkora-about-image-top .inkora-about-flex-content {
    text-align: center;
}

/* Image Position: None */
.inkora-about-image-none .inkora-about-flex-image {
    display: none;
}

.inkora-about-image-none .inkora-about-flex-content {
    flex: 1;
    max-width: 100%;
    text-align: center;
}

/* ============================================
   HEADER
   ============================================ */
.inkora-about-header {
    margin-bottom: 24px;
}

.inkora-about-title {
    font-size: 38px;
    font-weight: 700;
    margin: 0 0 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.inkora-about-subtitle {
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
    opacity: 0.85;
}

.inkora-about-subtitle .highlight {
    font-weight: 700;
    padding: 0 4px;
}

/* ============================================
   QUOTE
   ============================================ */
.inkora-about-quote {
    margin: 25px 0 0;
    padding: 20px 30px;
    border-left: 4px solid var(--inkora-primary);
    background: rgba(35,152,188,0.04);
    border-radius: 0 8px 8px 0;
    position: relative;
}

.inkora-about-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -8px;
    font-size: 60px;
    color: var(--inkora-primary);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.inkora-about-quote .quote-text {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 6px;
    font-style: italic;
    font-weight: 400;
}

.inkora-about-quote .quote-author {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
    margin: 0;
}

.inkora-about-quote .quote-author::before {
    content: '— ';
}

/* ============================================
   STATS
   ============================================ */
.inkora-about-stats {
    display: flex;
    gap: 40px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.inkora-about-stat {
    text-align: center;
}

.inkora-about-stat .stat-number {
    font-size: 32px;
    font-weight: 700;
    display: block;
    line-height: 1.2;
}

.inkora-about-stat .stat-label {
    font-size: 14px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
}

/* ============================================
   DESIGN 2 - Centered with Background
   ============================================ */
.inkora-about-story-design2 {
    background: #f8f9fa;
}

.inkora-about-story-design2 .inkora-about-flex-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.inkora-about-story-design2 .inkora-about-subtitle {
    max-width: 700px;
    margin: 0 auto;
}

.inkora-about-story-design2 .inkora-about-quote {
    border-left: none;
    border-radius: 12px;
    padding: 24px 30px;
    background: rgba(35,152,188,0.06);
    text-align: center;
}

.inkora-about-story-design2 .inkora-about-quote::before {
    left: 50%;
    transform: translateX(-50%);
}

.inkora-about-story-design2 .inkora-about-stats {
    justify-content: center;
}

.inkora-about-story-design2 .inkora-about-flex-image {
    flex: 0 0 auto;
    max-width: 60%;
}

.inkora-about-story-design2 .inkora-about-flex-image img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
}

/* ============================================
   DESIGN 3 - Full Width with Background Image
   ============================================ */
.inkora-about-story-design3 {
    position: relative;
    padding: 80px 0;
}

.inkora-about-story-design3 .inkora-about-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.inkora-about-story-design3 .inkora-about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.inkora-about-story-design3 .inkora-about-flex {
    position: relative;
    z-index: 2;
}

.inkora-about-story-design3 .inkora-about-flex-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 60px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.inkora-about-story-design3 .inkora-about-quote {
    border-left: none;
    border-radius: 12px;
    text-align: center;
}

.inkora-about-story-design3 .inkora-about-quote::before {
    left: 50%;
    transform: translateX(-50%);
}

.inkora-about-story-design3 .inkora-about-stats {
    justify-content: center;
}

.inkora-about-story-design3 .inkora-about-flex-image {
    display: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes aboutFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes aboutFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes aboutSlideLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes aboutSlideRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes aboutScaleUp {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.inkora-animate-fadeUp .inkora-about-title {
    opacity: 0;
    animation: aboutFadeUp 0.7s ease forwards;
}
.inkora-animate-fadeUp .inkora-about-subtitle {
    opacity: 0;
    animation: aboutFadeUp 0.7s ease 0.15s forwards;
}
.inkora-animate-fadeUp .inkora-about-quote {
    opacity: 0;
    animation: aboutFadeUp 0.7s ease 0.3s forwards;
}
.inkora-animate-fadeUp .inkora-about-stats {
    opacity: 0;
    animation: aboutFadeUp 0.7s ease 0.45s forwards;
}
.inkora-animate-fadeUp .inkora-about-flex-image {
    opacity: 0;
    animation: aboutFadeUp 0.7s ease 0.1s forwards;
}

.inkora-animate-fadeIn .inkora-about-title {
    opacity: 0;
    animation: aboutFadeIn 0.7s ease forwards;
}
.inkora-animate-fadeIn .inkora-about-subtitle {
    opacity: 0;
    animation: aboutFadeIn 0.7s ease 0.15s forwards;
}
.inkora-animate-fadeIn .inkora-about-quote {
    opacity: 0;
    animation: aboutFadeIn 0.7s ease 0.3s forwards;
}
.inkora-animate-fadeIn .inkora-about-stats {
    opacity: 0;
    animation: aboutFadeIn 0.7s ease 0.45s forwards;
}
.inkora-animate-fadeIn .inkora-about-flex-image {
    opacity: 0;
    animation: aboutFadeIn 0.7s ease 0.1s forwards;
}

.inkora-animate-slideLeft .inkora-about-title {
    opacity: 0;
    animation: aboutSlideLeft 0.7s ease forwards;
}
.inkora-animate-slideLeft .inkora-about-subtitle {
    opacity: 0;
    animation: aboutSlideLeft 0.7s ease 0.15s forwards;
}
.inkora-animate-slideLeft .inkora-about-quote {
    opacity: 0;
    animation: aboutSlideLeft 0.7s ease 0.3s forwards;
}
.inkora-animate-slideLeft .inkora-about-stats {
    opacity: 0;
    animation: aboutSlideLeft 0.7s ease 0.45s forwards;
}
.inkora-animate-slideLeft .inkora-about-flex-image {
    opacity: 0;
    animation: aboutSlideLeft 0.7s ease 0.1s forwards;
}

.inkora-animate-slideRight .inkora-about-title {
    opacity: 0;
    animation: aboutSlideRight 0.7s ease forwards;
}
.inkora-animate-slideRight .inkora-about-subtitle {
    opacity: 0;
    animation: aboutSlideRight 0.7s ease 0.15s forwards;
}
.inkora-animate-slideRight .inkora-about-quote {
    opacity: 0;
    animation: aboutSlideRight 0.7s ease 0.3s forwards;
}
.inkora-animate-slideRight .inkora-about-stats {
    opacity: 0;
    animation: aboutSlideRight 0.7s ease 0.45s forwards;
}
.inkora-animate-slideRight .inkora-about-flex-image {
    opacity: 0;
    animation: aboutSlideRight 0.7s ease 0.1s forwards;
}

.inkora-animate-scaleUp .inkora-about-title {
    opacity: 0;
    animation: aboutScaleUp 0.7s ease forwards;
}
.inkora-animate-scaleUp .inkora-about-subtitle {
    opacity: 0;
    animation: aboutScaleUp 0.7s ease 0.15s forwards;
}
.inkora-animate-scaleUp .inkora-about-quote {
    opacity: 0;
    animation: aboutScaleUp 0.7s ease 0.3s forwards;
}
.inkora-animate-scaleUp .inkora-about-stats {
    opacity: 0;
    animation: aboutScaleUp 0.7s ease 0.45s forwards;
}
.inkora-animate-scaleUp .inkora-about-flex-image {
    opacity: 0;
    animation: aboutScaleUp 0.7s ease 0.1s forwards;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .inkora-about-flex {
        gap: 40px;
    }
    
    .inkora-about-flex-image {
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .inkora-about-title {
        font-size: 32px;
    }
    
    .inkora-about-story-design3 .inkora-about-flex-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .inkora-about-story {
        padding: 40px 0;
    }
    
    .inkora-about-flex {
        flex-direction: column !important;
        gap: 30px;
    }
    
    .inkora-about-flex-image {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .inkora-about-flex-image img {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }
    
    .inkora-about-title {
        font-size: 28px;
    }
    
    .inkora-about-subtitle {
        font-size: 16px;
    }
    
    .inkora-about-quote .quote-text {
        font-size: 16px;
    }
    
    .inkora-about-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .inkora-about-stat .stat-number {
        font-size: 28px;
    }
    
    .inkora-about-image-top .inkora-about-flex-image {
        max-width: 100%;
    }
    
    .inkora-about-image-top .inkora-about-flex-image img {
        max-height: 200px;
    }
    
    .inkora-about-story-design3 .inkora-about-flex-content {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .inkora-about-story {
        padding: 30px 0;
    }
    
    .inkora-about-title {
        font-size: 24px;
    }
    
    .inkora-about-quote {
        padding: 16px 20px;
    }
    
    .inkora-about-quote::before {
        font-size: 40px;
        top: -5px;
    }
    
    .inkora-about-stat .stat-number {
        font-size: 24px;
    }
    
    .inkora-about-story-design3 .inkora-about-flex-content {
        padding: 20px 16px;
    }
    
    .inkora-about-shapes .shape {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .inkora-about-title,
    .inkora-about-subtitle,
    .inkora-about-quote,
    .inkora-about-stats,
    .inkora-about-flex-image {
        opacity: 1 !important;
        animation: none !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .inkora-about-story {
        padding: 20px 0 !important;
        background: #fff !important;
    }
    
    .inkora-about-shapes {
        display: none;
    }
    
    .inkora-about-flex-image img {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
    
    .inkora-about-story-design3 .inkora-about-bg {
        display: none;
    }
    
    .inkora-about-story-design3 .inkora-about-overlay {
        display: none;
    }
    
    .inkora-about-story-design3 .inkora-about-flex-content {
        backdrop-filter: none !important;
        padding: 0 !important;
        background: transparent !important;
    }
}