/* =========================================
   ZERO ONE - ARCHITECTURAL SERVICES
   Style: Technical, Blueprint, Clean
   ========================================= */

/* 1. SERVICE CARD BASE */
.service-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Arkaplan Tailwind class'larından geliyor (bg-white veya bg-z-black) */
}

/* 2. BACKGROUND NUMBER (01, 02...) */
.service-number {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: "Syne", sans-serif; /* Teknik Görünüm için Şart */
    font-size: 4rem;
    font-weight: 800;
    color: #f3f4f6; /* Gri tonu */
    line-height: 1;
    z-index: 0;
    pointer-events: none; /* Tıklamayı engelle */
    transition: color 0.3s ease, transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover .service-number {
    color: #e5e7eb;
    transform: translateX(-10px); /* Hafif sola kayma */
}

/* Siyah kart için numara rengi */
.service-card.bg-z-black .service-number {
    color: rgba(255, 255, 255, 0.05) !important;
}

.service-card.bg-z-black:hover .service-number {
    color: rgba(255, 255, 255, 0.15) !important;
}

/* 3. ICON STYLING */
.service-icon {
    position: relative;
    z-index: 1;
    display: inline-block;
}

/* 4. TECH TAGS (Liste Elemanları) */
.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.tech-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    background-color: #f9fafb;
    padding: 0.35rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px; /* Hafif yumuşak köşe */
    transition: all 0.3s ease;
    cursor: default;
}

.service-card:hover .tech-tag {
    background-color: #fef2f2;
    color: #e60000; /* ZERO ONE RED */
    border-color: #fecaca;
}

/* Siyah kart için tag stilleri */
.service-card.bg-z-black .tech-tag {
    background-color: rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    border-color: rgba(255, 255, 255, 0.1);
}

/* 5. SCAN LINE EFFECT (Teknik Tarama Efekti) */
.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Tam boy yükseklik */
    background: linear-gradient(
        110deg,
        transparent 40%,
        rgba(230, 0, 0, 0.03) 45%,
        /* Çok hafif kırmızı parıltı */ rgba(230, 0, 0, 0.08) 50%,
        rgba(230, 0, 0, 0.03) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: none;
    z-index: 10;
    pointer-events: none;
}

.service-card:hover::after {
    animation: scanLine 0.7s ease-in-out;
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 6. CONTENT LAYER */
.service-card h3,
.service-card p {
    position: relative;
    z-index: 2;
}

/* 7. BLACK CARD HOVER FIXES */
.service-card.bg-z-black:hover {
    background-color: #e60000 !important; /* Z-Red */
    border-color: #e60000 !important;
}

/* Siyah kart kırmızıya dönünce içindeki yazıları beyaz yap */
.service-card.bg-z-black:hover p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.service-card.bg-z-black:hover a {
    color: #ffffff !important;
}
