/* ==========================================================================
   BANKBUGS|FX COMPONENT: ABOUT ME LIFESTYLE MATRIX
   ========================================================================== */

#about-me.full-bleed {
    background-color: transparent;
    overflow: hidden; /* Locks row elements from triggering janky horizontal tracking gaps */
    width: 100% !important;
    max-width: 100% !important;
    border-top: 1px solid var(--border-color);
}

/* Typography Containment Bounds */
.about-me-text-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Two-Tier Dual Direction Row Structure */
.lifestyle-matrix-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 40px;
    position: relative;
    /* Clean gradient feather overlays across side borders */
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 8%, transparent 92%, var(--bg-main) 100%);
}

.lifestyle-carousel-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

/* Core Infinite Slider Track Structure */
.lifestyle-track {
    display: flex;
    width: max-content;
    gap: 20px;
}

/* Pause scroll animation engines on desktop cursor pointer entry */
.lifestyle-matrix-container:hover .lifestyle-track {
    animation-play-state: paused;
}

/* ==========================================================================
   ASPECT RATIO MATRIX RULES
   ========================================================================== */

.lifestyle-slide {
    flex-shrink: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Row 1: Portrait Framing Core Config */
.lifestyle-slide.ratio-4-5 {
    width: 184px;
    height: 230px; /* Precise 4:5 pixel proportional scaling */
}

/* Row 2: Landscape Framing Core Config */
.lifestyle-slide.ratio-16-9 {
    width: 288px;
    height: 162px; /* Precise 16:9 pixel proportional scaling */
}

.lifestyle-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Stops graphic asset manipulation or layout stretching */
    filter: grayscale(15%);
    transition: all 0.3s ease;
}

/* Hover Interaction Transformations */
.lifestyle-slide:hover {
    border-color: rgba(226, 177, 60, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lifestyle-slide:hover img {
    filter: grayscale(0%);
}

/* ==========================================================================
   DUAL-DIRECTION HARDWARE ENGINE MATRICES
   ========================================================================== */

/* Track Left: Standard Reverse Stream Setup */
.track-left {
    animation: lifestyleMarqueeLeft 40s linear infinite;
}

/* Track Right: Direct Counter Flow Speed Matrix Setup */
.track-right {
    animation: lifestyleMarqueeRight 32s linear infinite; /* Accelerated rate for variation */
}

@keyframes lifestyleMarqueeLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Shifts exactly through Group A */
    }
}

@keyframes lifestyleMarqueeRight {
    0% {
        transform: translate3d(-50%, 0, 0); /* Begins midway through the element row */
    }
    100% {
        transform: translate3d(0, 0, 0); /* Pulls back seamlessly in the opposite path */
    }
}

/* ==========================================================================
   CROSS-PLATFORM MEDIA SCALING
   ========================================================================== */

@media (max-width: 768px) {
    .about-me-text-block {
        padding: 0 16px;
    }
    .lifestyle-matrix-container {
        gap: 12px;
        margin-top: 24px;
    }
    .lifestyle-track {
        gap: 12px;
    }
    /* Balanced scale downs protecting display boundaries on smartphones */
    .lifestyle-slide.ratio-4-5 {
        width: 144px;
        height: 180px;
    }
    .lifestyle-slide.ratio-16-9 {
        width: 224px;
        height: 126px;
    }
    .lifestyle-slide img {
        filter: grayscale(0%); /* Restores rich mobile profile display output */
    }
}
