/* ============================================
   About Zencia Section - Zencia.AI
   ============================================ */

/* ===== ABOUT ZENCIA SECTION ===== */
.about-zencia-section {
    background: linear-gradient(135deg, #0f1419 0%, #082928 50%, #1a1a1a 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: -1px;
    margin-bottom: 0;
}

/* Background image layer */
.about-zencia-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/static/images/ai-services-background.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 1;
    pointer-events: none;
}

/* Gradient overlays */
.about-zencia-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 217, 213, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 139, 139, 0.04) 0%, transparent 50%),
        rgba(15, 20, 25, 0.3);
    z-index: 2;
    pointer-events: none;
}

.about-zencia-section .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ===== SECTION HEADER ===== */
.zencia-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.zencia-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* ===== CONTENT GRID ===== */
.zencia-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* ===== LEFT CONTENT ===== */
.zencia-story {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.story-text {
    font-size: clamp(1.1rem, 1.3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0;
}

.story-text:first-child {
    font-weight: 500;
    color: #FFFFFF;
}

/* ===== RIGHT CONTENT - IMAGE ===== */
.zencia-impact {
    display: flex;
    justify-content: center;
    align-items: center;
}

.impact-image-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 217, 213, 0.1) 0%, rgba(0, 139, 139, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 213, 0.2);
    transition: all 0.3s ease;
}

.impact-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 217, 213, 0.2);
    border-color: rgba(0, 217, 213, 0.4);
}

.impact-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.impact-image:hover {
    transform: scale(1.02);
}

/* Image placeholder styles */
.image-placeholder {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(0, 217, 213, 0.1) 0%, rgba(0, 139, 139, 0.05) 100%);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 3rem 2rem;
}

.image-placeholder .placeholder-icon {
    width: 60px;
    height: 60px;
    color: rgba(0, 217, 213, 0.5);
}

.image-placeholder .placeholder-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== ANIMATIONS ===== */
.zencia-story {
    animation: fadeInLeft 1s ease-out 0.3s backwards;
}

.zencia-impact {
    animation: fadeInRight 1s ease-out 0.5s backwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .about-zencia-section {
        padding: 100px 0;
    }
    
    .zencia-content {
        gap: 4rem;
    }
}

@media (max-width: 1024px) {
    .about-zencia-section .container {
        padding: 0 1.5rem;
    }
    
    .zencia-content {
        gap: 3rem;
    }
    
    .zencia-header {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .about-zencia-section {
        padding: 80px 0;
    }
    
    .about-zencia-section .container {
        padding: 0 1.5rem;
    }
    
    .zencia-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .zencia-header {
        margin-bottom: 50px;
    }
    
    .zencia-story {
        align-items: center;
        text-align: center;
    }
    
    .story-text {
        max-width: 90%;
        margin: 0 auto;
        text-align: center;
    }
    
    .impact-image-container {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .image-placeholder {
        min-height: 250px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-zencia-section .container {
        padding: 0 1rem;
    }
    
    .zencia-story {
        gap: 1.5rem;
    }
    
    .story-text {
        max-width: 95%;
    }
    
    .impact-image-container {
        max-width: 320px;
    }
    
    .image-placeholder {
        min-height: 200px;
        padding: 1.5rem 1rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .zencia-story,
    .zencia-impact {
        animation: none !important;
    }
    
    .impact-image-container:hover,
    .impact-image:hover {
        transform: none;
    }
}

/* Focus states */
.impact-image-container:focus-within {
    outline: 2px solid #00D9D5;
    outline-offset: 4px;
}

/* ===== HIGH CONTRAST SUPPORT ===== */
@media (prefers-contrast: high) {
    .impact-image-container {
        border-width: 2px;
        border-color: #00D9D5;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .about-zencia-section {
        background: white !important;
        padding: 2rem 0;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .about-zencia-section::before,
    .about-zencia-section::after {
        display: none !important;
    }
    
    .zencia-title {
        color: #333 !important;
    }
    
    .story-text {
        color: #666 !important;
    }
    
    .impact-image-container {
        background: #f9f9f9 !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}