/* ==========================================================
   CLENA — About Hero Section Styles
   File: assets/css/about/about-hero.css
   ========================================================== */

.about-hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    background-color: #ffffff;
    overflow: hidden;
    padding: 60px 0;
}

/* ── Full Background & Overlay ────────────────────────── */
.about-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.about-bg-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right bottom;
    display: block;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
   
}

/* ── Ambient Glow Backgrounds ────────────────────────── */
.about-hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    z-index: 2;
    pointer-events: none;
}

.about-hero-glow.glow-1 {
    top: -100px;
    left: -50px;
    background: var(--secondary, var(--secondary));
}

.about-hero-glow.glow-2 {
    bottom: -50px;
    right: 50px;
    background: var(--primary, var(--primary));
}

/* ── Container & Grid ────────────────────────────────── */
.about-hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}



/* ── Content Panel ──────────────────────────────────── */
.about-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 620px;
    width: 100%;
}

/* Eyebrow badge */
.about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.about-badge {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--primary, var(--primary));
    background: rgba(0, 0, 0, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
}

.about-badge-divider {
    width: 6px;
    height: 6px;
    background-color: var(--secondary, var(--secondary));
    border-radius: 50%;
}

.about-subtag {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary, var(--secondary));
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Heading */
.about-hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--primary, var(--primary));
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

/* Gradient Text Effect */
.gradient-text {
    color: var(--primary, var(--primary));
}

/* Description */
.about-hero-desc {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary, #666666);
    margin-bottom: 40px;
    max-width: 580px;
}

/* ── Statistics Row ──────────────────────────────────── */
.about-hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    border-top: 1px solid var(--border-color, #E5E7EB);
    border-bottom: 1px solid var(--border-color, #E5E7EB);
    padding: 24px 0;
    max-width: 560px;
}

.about-stat-item {
    flex: 1;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary, var(--primary));
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary, #666666);
    font-weight: 500;
}

/* ── CTA Actions ─────────────────────────────────────── */
.about-hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-about-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary, var(--primary));
    color: var(--white, #FFFFFF);
    font-size: 14px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-about-primary:hover {
    background: var(--secondary, var(--secondary));
    color: var(--white, #FFFFFF);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 173, 239, 0.35);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-about-primary:hover .btn-arrow {
    transform: translateY(3px);
}

.btn-about-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--primary, var(--primary));
    font-size: 14px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid var(--primary, var(--primary));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
}

.btn-about-secondary:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary, var(--primary));
    transform: translateY(-3px);
}

.btn-arrow-right {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-about-secondary:hover .btn-arrow-right {
    transform: translateX(4px);
}


/* ── Right Image Panel ───────────────────────────────── */
.about-hero-media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    z-index: 2;
}

/* Image Background Frame Details */
.media-ring {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 12px solid rgba(0, 173, 239, 0.15);
    border-radius: 50%;
    z-index: -1;
    animation: rotateRing 25s linear infinite;
}

.media-dots {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 90px;
    height: 120px;
    background-image: radial-gradient(var(--primary, var(--primary)) 20%, transparent 20%);
    background-size: 15px 15px;
    opacity: 0.15;
    z-index: -1;
}

.media-accent-box {
    position: absolute;
    inset: -12px;
    border: 2px dashed rgba(0, 0, 0, 0.15);
    border-radius: 32px;
    z-index: -1;
}

/* Main Image */
.about-main-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-main-img {
    transform: scale(1.02);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 16px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    z-index: 5;
}

.badge-trust {
    top: 25%;
    left: -60px;
    animation: floatBadge1 6s ease-in-out infinite;
}

.badge-quality {
    bottom: 12%;
    right: -40px;
    animation: floatBadge2 7s ease-in-out infinite;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 173, 239, 0.1);
    color: var(--secondary, var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon svg {
    width: 22px;
    height: 22px;
}

.badge-icon-star {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon-star svg {
    width: 22px;
    height: 22px;
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary, var(--primary));
    white-space: nowrap;
}

.badge-subtitle {
    font-size: 11px;
    color: var(--text-secondary, #666666);
    white-space: nowrap;
}


/* ── Animation Keyframes & Classes ───────────────────── */

@keyframes floatBadge1 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatBadge2 {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(12px);
    }
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Staggered load animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.2s;
}

.animate-slide-up-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.4s;
}

.animate-slide-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.6s;
}

.animate-slide-up-delay-3 {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.8s;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ── Responsive Styling ──────────────────────────────── */

@media (max-width: 1024px) {
    .about-hero-grid {
        gap: 40px;
    }
    
    .about-hero-title {
        font-size: 42px;
    }
    
    .badge-trust {
        left: -30px;
    }
    
    .badge-quality {
        right: -20px;
    }
}

@media (max-width: 900px) {
    .about-hero {
        min-height: auto;
        height: 500px;
        padding: 60px 0;
    }
    
    .about-bg-img {
        object-fit: cover;
        object-position: center center;
    }
    
    .about-hero-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.75) 100%);
        display: block !important;
    }
    
    .about-hero-content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    
    .about-hero-eyebrow {
        justify-content: center;
    }
    
    .about-hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-hero-stats {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }
    
    .about-hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .badge-trust {
        left: -40px;
    }
    
    .badge-quality {
        right: -30px;
    }
}

@media (max-width: 600px) {
    .about-hero {
        height: 440px;
        padding: 40px 0;
    }

    .about-hero-title {
        font-size: 34px;
    }
    
    .about-hero-stats {
        gap: 20px;
    }
    
    .stat-value {
        font-size: 26px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .about-hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-about-primary,
    .btn-about-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    /* Make badges relative or stack on very small screens to avoid clipping */
    .floating-badge {
        padding: 12px 14px;
        gap: 10px;
    }
    
    .badge-trust {
        left: -10px;
        top: 15%;
    }
    
    .badge-quality {
        right: -10px;
        bottom: 5%;
    }
}
