/* ================================================
   SERVICES / CREATIVE CARDS
   services prototype'tan uyarlandı — dark mode uyumlu
   ================================================ */

.creative-cards {
    padding: 90px 0;
    position: relative;
}

.creative-cards .container {
    max-width: 1320px;
    width: 100%;
    padding-right: .75rem;
    padding-left: .75rem;
    margin-right: auto;
    margin-left: auto;
}

.creative-cards .container .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.creative-cards .container .row .card-column {
    flex: 0 0 auto;
    width: 33.33333333%;
    text-align: center;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* ── Kart gövdesi ── */
.creative-cards .card-details {
    width: 80%;
    margin: auto;
    position: relative;
    transition: .3s ease-in-out;
}

/* Eğik arka plan lekesi – light */
.creative-cards .card-details:before {
    content: "";
    width: 190px;
    height: 380px;
    background: #f0f0f0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skew(-20deg, 0deg);
    z-index: 0;
    transition: .3s ease-in-out;
}

/* Eğik arka plan lekesi – dark */
.dark .creative-cards .card-details:before {
    background: rgba(255, 255, 255, 0.06);
}

.creative-cards .card-details:hover:before {
    background-color: color-mix(in srgb, var(--main-color, #7226e0) 12%, #fff);
}

.dark .creative-cards .card-details:hover:before {
    background-color: color-mix(in srgb, var(--main-color, #7226e0) 25%, transparent);
}

/* ── İkon kutusu ── */
.creative-cards .card-icons {
    width: 140px;
    height: 150px;
    position: relative;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Eğik kenarlıklı kutu – light */
.creative-cards .card-icons:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    border: 1.5px solid var(--main-color, #7226e0);
    width: 100%;
    height: 100%;
    transform: skew(-20deg, 0deg);
    background: #fff;
    transition: .3s ease-in-out;
    z-index: 0;
}

/* Eğik kenarlıklı kutu – dark */
.dark .creative-cards .card-icons:before {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--main-color, #7226e0);
}

/* Hover: dolgu rengi */
.creative-cards .card-details:hover .card-icons:before {
    background-color: var(--main-color, #7226e0);
}

.dark .creative-cards .card-details:hover .card-icons:before {
    background-color: var(--main-color, #7226e0);
}

/* ── İkon içindeki img VEYA <i> — pseudo'nun önünde ── */
.creative-cards .card-icons img,
.creative-cards .card-icons i {
    position: relative;
    z-index: 1;
    transition: filter .3s ease-in-out, color .3s ease-in-out;
}

.creative-cards .card-icons img {
    width: 70px;
    height: 70px;
}

/* Font Awesome ikonu – light */
.creative-cards .card-icons > i {
    font-size: 52px;
    color: var(--main-color, #7226e0);
    line-height: 1;
}

/* Font Awesome ikonu – dark (biraz daha parlak) */
.dark .creative-cards .card-icons > i {
    color: var(--main-color, #7226e0);
    filter: brightness(1.3);
}

/* Hover: ikon beyaza döner */
.creative-cards .card-details:hover .card-icons img {
    filter: brightness(0) invert(1);
}

.creative-cards .card-details:hover .card-icons > i {
    color: #fff;
    filter: none;
}

/* ── Başlık ── */
.creative-cards .card-details h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    margin-top: 48px;
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.2;
    color: #111;
}

.dark .creative-cards .card-details h3 {
    color: #f1f5f9;
}

.creative-cards .card-details h3 a {
    color: inherit;
    text-decoration: none;
}

/* ── Paragraf ── */
.creative-cards .card-details p {
    position: relative;
    z-index: 1;
    font-size: 15px;
    line-height: 28px;
    color: #555;
    font-weight: 400;
    margin-bottom: 28px;
}

.dark .creative-cards .card-details p {
    color: #94a3b8;
}

/* ── Read more butonu – light ── */
.creative-cards .read-more-btn {
    position: relative;
    z-index: 1;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1.5px solid var(--main-color, #7226e0);
    border-radius: 100%;
    margin: auto;
    background: #fff;
    transform: translateX(-10px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
    text-decoration: none;
}

/* Read more butonu – dark */
.dark .creative-cards .read-more-btn {
    background: rgba(255, 255, 255, 0.05);
}

.creative-cards .read-more-btn i {
    color: var(--main-color, #7226e0);
    font-size: 13px;
}

.dark .creative-cards .read-more-btn i {
    color: var(--main-color, #7226e0);
    filter: brightness(1.3);
}

.creative-cards .card-details:hover .read-more-btn {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

/* ── Section arka plan – dark mode'da section başlığı için ── */
.dark .creative-cards .designer-title,
.dark .creative-cards h2 {
    color: #f1f5f9;
}

/* ============= Responsive Tablet ==================== */
@media (max-width: 992px) {
    .creative-cards .container .row .card-column {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 40px;
    }
}

/* ============= Responsive Mobile ==================== */
@media (max-width: 480px) {
    .creative-cards .container .row .card-column {
        flex: 0 0 auto;
        width: 100%;
        margin-bottom: 20px;
    }

    .creative-cards .card-details {
        width: 100%;
    }

    .creative-cards .read-more-btn {
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}
