﻿/* =============================================
   wwwroot/css/about-section.css
   SunShine Premium About Section
   ============================================= */

:root {
    --green-deep: #071a10;
    --green-primary: #0e3521;
    --green-secondary: #1a5230;
    --gold-bright: #FFD700;
    --gold-mid: #F9A826;
    --gold-deep: #FF8C00;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --shadow-hover: 0 25px 50px rgba(249, 168, 38, 0.15);
}

/* ---------- Section Base ---------- */
.about-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

    /* Golden Ambient Orbs */
    .about-section::before {
        content: '';
        position: absolute;
        top: -150px;
        right: -150px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        animation: floatOrb 8s ease-in-out infinite;
    }

    .about-section::after {
        content: '';
        position: absolute;
        bottom: -150px;
        left: -150px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(255, 140, 0, 0.08), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
        animation: floatOrb 10s ease-in-out infinite reverse;
    }

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

/* ---------- Visual (Left) ---------- */
.about-visual {
    position: relative;
    padding: 2rem 2rem 4rem 0;
    min-height: 600px;
}

/* Main image */
.about-image-main {
    position: relative;
    width: 100%;
    height: 550px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(7, 26, 16, 0.15);
    z-index: 2;
    border: 4px solid #ffffff;
}

    .about-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .about-image-main:hover img {
        transform: scale(1.05);
    }

.about-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, transparent 50%, rgba(7, 26, 16, 0.4) 100%);
    pointer-events: none;
}

/* Secondary image (small floating) */
.about-image-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 220px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 3;
    animation: floatImage 6s ease-in-out infinite;
}

    .about-image-secondary img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-12px) rotate(0deg);
    }
}

/* Experience Badge */
.about-experience-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    z-index: 4;
    animation: badgePulse 3s ease-in-out infinite;
}

.badge-inner {
    text-align: center;
    color: var(--green-deep);
    padding: 0.5rem;
}

.badge-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.35rem;
    letter-spacing: -1px;
}

.badge-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    }

    50% {
        box-shadow: 0 15px 55px rgba(255, 215, 0, 0.7);
    }
}

/* ---------- Content (Right) ---------- */
.about-content {
    padding: 1rem 0 1rem 2rem;
}

/* Section badge */
.section-badge {
    display: inline-block;
    padding: 8px 22px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.15));
    color: var(--green-deep);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* Title */
.section-title {
    color: var(--green-deep);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.3px;
}

    .section-title .highlight {
        background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
    }

/* Description */
.section-description {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ---------- Features Grid ---------- */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

    .feature-item:hover {
        transform: translateX(5px);
    }

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green-deep), var(--green-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-bright);
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(7, 26, 16, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(8deg) scale(1.08);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    color: var(--green-deep);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.feature-text h5 {
    color: var(--green-deep);
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.feature-text p {
    color: #6c757d;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

/* ---------- Stats Row ---------- */
.about-stats {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stat-item {
    flex: 1;
    text-align: left;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--green-deep);
    margin: 0 0 0.15rem 0;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: block;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ---------- Actions ---------- */
.about-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .about-actions .btn {
        display: inline-flex;
        align-items: center;
        padding: 0.85rem 2rem;
        border-radius: 50px;
        font-weight: 700;
        font-size: 0.9rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid transparent;
        text-decoration: none;
    }

    .about-actions .btn-primary {
        background: linear-gradient(135deg, var(--green-deep), var(--green-secondary));
        color: var(--gold-bright);
        box-shadow: 0 8px 20px rgba(7, 26, 16, 0.35);
    }

        .about-actions .btn-primary:hover {
            background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
            color: var(--green-deep);
            transform: translateY(-3px);
            box-shadow: 0 12px 30px rgba(255, 215, 0, 0.5);
        }

    .about-actions .btn-outline-primary {
        background: transparent;
        color: var(--gold-deep);
        border-color: var(--gold-mid);
    }

        .about-actions .btn-outline-primary:hover {
            background: var(--gold-bright);
            color: var(--green-deep);
            border-color: var(--gold-bright);
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(255, 215, 0, 0.35);
        }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .about-content {
        padding-left: 1rem;
    }
}

@media (max-width: 991.98px) {
    .about-section {
        padding: 4rem 0;
    }

    .about-visual {
        padding: 0 2rem 4rem 0;
        min-height: auto;
        margin-bottom: 3rem;
    }

    .about-image-main {
        height: 450px;
    }

    .about-image-secondary {
        width: 180px;
        height: 180px;
    }

    .about-experience-badge {
        width: 130px;
        height: 130px;
    }

    .badge-number {
        font-size: 1.7rem;
    }

    .about-content {
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .about-visual {
        padding: 0 1.5rem 3rem 0;
    }

    .about-image-main {
        height: 380px;
    }

    .about-image-secondary {
        width: 140px;
        height: 140px;
        border-width: 4px;
    }

    .about-experience-badge {
        width: 110px;
        height: 110px;
    }

    .badge-number {
        font-size: 1.4rem;
    }

    .badge-label {
        font-size: 0.6rem;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .about-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.35rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .about-actions {
        flex-direction: column;
    }

        .about-actions .btn {
            width: 100%;
            justify-content: center;
        }
}

@media (max-width: 575.98px) {
    .about-image-main {
        height: 320px;
    }

    .about-image-secondary {
        width: 110px;
        height: 110px;
    }

    .about-experience-badge {
        width: 95px;
        height: 95px;
    }

    .badge-number {
        font-size: 1.2rem;
        margin-bottom: 0.15rem;
    }

    .badge-label {
        font-size: 0.55rem;
    }
}
