/* SRL Company v3 - Human-Focused Styles 
   Additional styles for split hero and human imagery */

/* Override hero for split layout */
.hero.hero-split {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-side {
    max-width: 580px;
}

.hero-text-side .hero-badge {
    animation: fadeInUp 0.6s var(--transition-smooth) forwards;
}

.hero-text-side h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.1s forwards;
    opacity: 0;
}

.hero-text-side .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.2s forwards;
    opacity: 0;
}

/* Remove hero promise in split layout for cleaner look */
.hero-split .hero-promise {
    display: none;
}

.hero-text-side .hero-cta-group {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.3s forwards;
    opacity: 0;
}

.hero-text-side .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    animation: fadeInUp 0.6s var(--transition-smooth) 0.4s forwards;
    opacity: 0;
}

.hero-text-side .hero-stat {
    padding: 16px 18px;
}

.hero-text-side .hero-stat-value {
    font-size: 1.8rem;
}

.hero-text-side .hero-stat-label {
    font-size: 0.75rem;
}

/* Hero Image Side */
.hero-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s var(--transition-smooth) 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 102, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* Decorative elements around image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 180, 255, 0.05));
    border-radius: 20px;
    z-index: -1;
}

.hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.15), rgba(0, 102, 255, 0.05));
    border-radius: 16px;
    z-index: -1;
}

/* Badge on image */
.hero-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s var(--transition-smooth) 0.8s forwards;
    opacity: 0;
}

.hero-image-badge svg {
    width: 24px;
    height: 24px;
    stroke: var(--success-green);
}

.hero-image-badge span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
}

/* Testimonial with photo */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.2);
}

/* Hide the default avatar when using photo */
.testimonial-author .author-avatar {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text-side {
        max-width: 100%;
        order: 1;
    }

    .hero-image-side {
        order: 0;
    }

    .hero-image-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-text-side .hero-stats {
        justify-content: center;
    }

    .hero-text-side .hero-badge {
        margin: 0 auto 20px;
    }

    .hero-text-side .hero-cta-group {
        justify-content: center;
    }

    .hero-image-badge {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero.hero-split {
        padding-top: 120px;
    }

    .hero-image-wrapper {
        max-width: 300px;
    }

    .hero-text-side h1 {
        font-size: 1.8rem;
    }

    .hero-text-side .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-text-side .hero-stat {
        text-align: center;
    }

    .hero-image-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .hero-image-badge svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-text-side .hero-cta-group {
        flex-direction: column;
    }

    .hero-text-side .btn-primary,
    .hero-text-side .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}