/* ==========================================
   SERVICES SECTION STYLES - SQUARE HUD
   ========================================== */

.services-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Marquee Container */
.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 60px;
}

.marquee-row {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Scroll Animation */
.scroll-left {
    animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 !important; /* Keskin Köşeler */
    padding: 2.5rem;
    width: 350px;
    min-width: 350px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    display: flex;
    flex-direction: column;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Icon Box */
.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 !important; /* Kare ikon kutusu */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon-box {
    background: #fff;
    transform: rotate(5deg);
}

.service-card:hover .service-icon-box span {
    color: #000;
}

/* Service Number */
.service-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.service-card:hover .service-list li {
    color: rgba(255, 255, 255, 0.9);
}

.service-list li span.dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 !important; /* Kare noktalar */
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-list li span.dot {
    background: rgba(255, 255, 255, 0.8);
    width: 6px;
}

/* Parallax Glow Effect */
.parallax-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    top: var(--mouse-y, 50%);
    left: var(--mouse-x, 50%);
    transform: translate(-50%, -50%);
}

.service-card:hover .parallax-glow {
    opacity: 1;
}

/* Services Title */
.services-title {
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .service-card {
        width: 300px;
        min-width: 300px;
        padding: 2rem;
    }
    
    .service-number {
        font-size: 3rem;
        top: 1rem;
        right: 1.5rem;
    }
    
    .scroll-left {
        animation-duration: 40s;
    }
    
    .marquee-content {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .service-card {
        width: 280px;
        min-width: 280px;
        padding: 1.75rem;
    }
    
    .service-icon-box {
        width: 50px;
        height: 50px;
    }
    
    .service-icon-box span {
        font-size: 1.5rem !important;
    }
    
    .scroll-left {
        animation-duration: 30s;
    }
}