/* ========================================
   ABOUT HOMEFLIX SECTION
   Image left, content right with stats
   ======================================== */

/* Smooth background transition from hero */
.section-transition {
    position: relative;
    width: 100%;
    height: 150px;
    margin-top: -150px;
    z-index: 5;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 14, 26, 0.5) 30%,
        rgba(10, 14, 26, 0.8) 60%,
        var(--bg-dark) 100%
    );
    pointer-events: none;
}

/* About Section Container */
.about-section {
    position: relative;
    background: var(--bg-dark);
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

/* Background gradient for depth */
.about-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    height: 400px;
    background: radial-gradient(
        ellipse at center top,
        rgba(253, 52, 19, 0.05) 0%,
        transparent 70%
    );
    pointer-events: none;
}

/* Container for content */
.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 2;
}

/* Grid layout for image and content */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-3xl);
    align-items: center;
}

/* Left side - Image Container */
.about-image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    max-width: 450px;
}

/* Red Border on Left Side - 3% from top, 75% height, 22% from bottom */
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 3%;
    left: -40px;
    width: 40px;
    height: 75%;
    background: var(--primary-color);
    border-radius: 4px;
    z-index: -1;
}

/* White Border on Right Side - 22% from top, 75% height, 3% from bottom */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: 22%;
    right: -40px;
    width: 40px;
    height: 75%;
    background: white;
    border-radius: 4px;
    z-index: -1;
}

/* Main image container */
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

/* Remove floating animation - keep it simple */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.about-image-wrapper.animate {
    /* Remove animation or make it very subtle */
    animation: none;
}

/* Right side - Content */
.about-content {
    opacity: 0;
    transform: translateX(50px);
}

.about-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.about-subtitle {
    color: var(--text-gray);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

/* Stats Container */
.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: var(--font-bold);
    color: var(--text-white);
    margin-bottom: var(--space-xs);
    position: relative;
}

/* Plus sign styling */
.stat-number::before {
    content: '+';
    color: var(--primary-color);
    margin-right: 3px;
}

.stat-label {
    color: var(--text-gray);
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    text-transform: capitalize;
}

/* CTA Button */
.about-cta {
    margin-top: var(--space-xl);
    opacity: 0;
    transform: translateY(30px);
}

.about-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    text-transform: capitalize;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.about-btn:hover {
    background: var(--primary-hover);
        color: var(--text-white);

    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(253, 52, 19, 0.4);
}

/* Remove animated background shapes */
.bg-shape {
    display: none;
}

.bg-shape-1 {
    display: none;
}

.bg-shape-2 {
    display: none;
}

/* GSAP Animation Classes */
.about-animate {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: var(--space-2xl) 0;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-lg);
        text-align: left;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: var(--space-lg);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .about-image-wrapper::before {
        width: 40px;
        left: -40px;
    }
    
    .about-image-wrapper::after {
        width: 20px;
        right: -20px;
    }
}