/* ================================================================
   ABOUT PAGE — TIMELINE & LAYOUT
   Premium datacenter company profile page
   ================================================================ */

/* SECTION: Timeline */
.timeline-section {
    background-color: #0b1120;
    color: #f8fafc;
    padding: 50px 0 60px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    width: 100%;
}

/* Card Image Header - Balanced 240px Height */
.card-img-container {
    height: 240px !important;
    max-height: 240px !important;
    min-height: 240px !important;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.card-img-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Card Image Badges with Rock-Solid Background Pills */
.card-badge {
    position: absolute !important;
    bottom: 12px !important;
    left: 16px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 5px 12px !important;
    border-radius: 9999px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #ffffff !important;
    z-index: 5 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    display: inline-block !important;
}
.card-badge.badge-slate { background-color: #0f172a !important; color: #ffffff !important; }
.card-badge.badge-amber { background-color: #f59e0b !important; color: #ffffff !important; }
.card-badge.badge-cyan  { background-color: #06b6d4 !important; color: #ffffff !important; }
.card-badge.badge-green { background-color: #10b981 !important; color: #ffffff !important; }
.card-badge.badge-blue  { background-color: #2563eb !important; color: #ffffff !important; }
.card-badge.badge-red   { background-color: #ef4444 !important; color: #ffffff !important; }
.card-badge.badge-purple{ background-color: #7c3aed !important; color: #ffffff !important; }
.card-badge.badge-emerald{ background-color: #059669 !important; color: #ffffff !important; }

/* Full Grid Column Span (Spans 100% width across all columns) */
.full-grid-span {
    grid-column: 1 / -1 !important;
    width: 100% !important;
}

/* Slider Container & Full-width Track (No Horizontal Scrolling) */
.timeline-slider-container {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-track-wrapper {
    width: 100%;
    overflow: visible;
    margin: 0;
    padding: 0;
}

/* Timeline Track UL - Pinned to edges, Non-scrolling */
#timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 680px;
    width: 100%;
    margin: 0;
    padding: 0 170px;
    list-style: none;
}

/* The timeline connecting line stretches to the very edges of the screen */
#timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -200vw;
    right: -200vw;
    width: 500vw;
    height: 3px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.5) 15%, rgba(59, 130, 246, 0.5) 85%, rgba(59, 130, 246, 0.15) 100%);
    transform: translateY(-50%);
    z-index: 1;
}

#timeline .entry {
    position: relative;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Arrow Navigation Buttons - Positioned at slider flanks */
.timeline-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 45;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.timeline-arrow.prev-arrow {
    left: 10px;
}

.timeline-arrow.next-arrow {
    right: 10px;
}

.timeline-arrow:hover {
    background: #2563eb;
    border-color: #60a5fa;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.65);
}

.timeline-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.timeline-arrow.disabled,
.timeline-arrow:disabled {
    opacity: 0.22;
    pointer-events: none;
    cursor: not-allowed;
    box-shadow: none;
}

@media (max-width: 768px) {
    .timeline-slider-container {
        padding: 0 45px;
    }
    .timeline-arrow.prev-arrow {
        left: 2px;
    }
    .timeline-arrow.next-arrow {
        right: 2px;
    }
    #timeline {
        padding: 0 10px;
    }
}

#timeline .entry .radio {
    display: none;
}

#timeline .entry label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #0f172a;
    border: 3px solid #64748b;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#timeline .entry label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

#timeline .entry label span {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    font-weight: 800;
    color: #94a3b8;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

#timeline .entry:hover label {
    border-color: #93c5fd;
    transform: translate(-50%, -50%) scale(1.15);
}

#timeline .entry .radio:checked + label {
    background-color: #2563eb;
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
    transform: translate(-50%, -50%) scale(1.3);
}

#timeline .entry .radio:checked + label::after {
    opacity: 1;
}

#timeline .entry .radio:checked + label span {
    color: #38bdf8;
    font-size: 20px;
    font-weight: 900;
}

#timeline .entry .content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    max-width: 90vw;
    background: #151e32;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    text-align: center;
    z-index: 25;
}

/* Image inside content */
#timeline .entry .content .timeline-img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

#timeline .entry .content h3 {
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

#timeline .entry .content p {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin: 0;
}

/* Triangle Pointer Arrow */
#timeline .entry .content::before {
    content: "";
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 9px 9px 9px;
    border-style: solid;
    border-color: transparent transparent #151e32 transparent;
}

#timeline .entry .radio:checked ~ .content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    top: calc(50% + 55px);
}

/* Alternating positions for variety */
#timeline .entry:nth-child(even) label span {
    top: auto;
    bottom: -38px;
}

#timeline .entry:nth-child(even) .content {
    top: auto;
    bottom: 55%;
}

#timeline .entry:nth-child(even) .content::before {
    top: auto;
    bottom: -9px;
    border-width: 9px 9px 0 9px;
    border-color: #151e32 transparent transparent transparent;
}

#timeline .entry:nth-child(even) .radio:checked ~ .content {
    top: auto;
    bottom: calc(50% + 55px);
}


@media (max-width: 1024px) {
    #timeline {
        flex-direction: column;
        height: auto;
        padding: 50px 0;
    }
    #timeline::before {
        top: 0;
        left: 50%;
        width: 4px;
        height: 100%;
        transform: translateX(-50%);
    }
    #timeline .entry {
        width: 100%;
        height: 200px;
    }
    #timeline .entry label span {
        top: 50%;
        left: -60px;
        transform: translateY(-50%);
    }
    #timeline .entry:nth-child(even) label span {
        bottom: auto;
        top: 50%;
        left: auto;
        right: -60px;
    }
    #timeline .entry .content {
        top: 50%;
        left: calc(50% + 40px);
        transform: translateY(-50%);
        width: calc(100% - 100px);
        max-width: 320px;
    }
    #timeline .entry .content::before {
        top: 50%;
        left: -10px;
        transform: translateY(-50%);
        border-width: 10px 10px 10px 0;
        border-color: transparent #1e293b transparent transparent;
    }
    #timeline .entry:nth-child(even) .content {
        bottom: auto;
        top: 50%;
        left: auto;
        right: calc(50% + 40px);
        transform: translateY(-50%);
    }
    #timeline .entry:nth-child(even) .content::before {
        bottom: auto;
        top: 50%;
        left: auto;
        right: -10px;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent #1e293b;
    }
    #timeline .entry .radio:checked ~ .content {
        top: 50%;
    }
    #timeline .entry:nth-child(even) .radio:checked ~ .content {
        bottom: auto;
        top: 50%;
    }
}

/* ==========================================================================
   CLIENTS MARQUEE (INFINITE SLIDER - 300PX TOTAL LAYOUT)
   ========================================================================== */
@keyframes aboutLogoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.about-clients-section {
    min-height: 310px;
    position: relative;
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px 0 32px 0;
    overflow: hidden;
    z-index: 20;
}

.about-clients-section .logos-marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 16px 0;
    display: flex;
    align-items: center;
}

.about-clients-section .logos-marquee::before,
.about-clients-section .logos-marquee::after {
    position: absolute;
    top: 0;
    content: '';
    width: 160px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.about-clients-section .logos-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.about-clients-section .logos-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.about-clients-section .logo_items {
    display: inline-flex;
    align-items: center;
    animation: 35s aboutLogoSlide infinite linear;
    flex-shrink: 0;
}

.about-clients-section:hover .logo_items {
    animation-play-state: paused;
}

/* 2x Logo Box & Motion Blur Hover Interaction */
.about-clients-section .logo_item_box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 42px;
    cursor: default;
    position: relative;
    user-select: none;
    pointer-events: auto;
}

.about-clients-section .logo_item_box .logo_img_wrap {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-clients-section .logo_item_box img {
    height: 86px;
    max-height: 86px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transform: scale(1);
    transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-clients-section .logo_item_box:hover img {
    filter: grayscale(0%) drop-shadow(0 4px 12px rgba(239, 68, 68, 0.15));
    opacity: 1;
    transform: scale(1.10);
}

/* Motion Blur Red Website Address on Hover */
.about-clients-section .logo_item_box .logo_website_url {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ef4444; /* Kırmızı renk */
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    opacity: 0;
    transform: translateY(-6px);
    filter: blur(6px); /* Motion blur initial state */
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.about-clients-section .logo_item_box:hover .logo_website_url {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0); /* Clean readable state on hover */
}

.about-clients-section .logo_item_box .logo_text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    transition: color 0.3s ease, transform 0.3s ease;
}

.about-clients-section .logo_item_box:hover .logo_text {
    color: #2563eb;
    transform: scale(1.08);
}
