﻿/* ------------------ Üst Başlık / Slogan ------------------ */
.slider-header {
    text-align: center;
    margin-bottom: 30px;
}

.platinum-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: #696969; /* RAL 7016 ile uyumlu açık gri */
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

    .platinum-title::after {
        content: '';
        display: block;
        width: 20%; /* Başlangıçta ufak çizgi */
        height: 4px;
        margin: 8px auto 0;
        border-radius: 2px;
        background: linear-gradient(90deg, #3b3b3b, #1f1f1f, #3b3b3b); /* RAL 7016 tonları */
        position: relative;
        overflow: hidden;
        animation: growLine 4s ease-in-out infinite; /* otomatik büyüme ve küçülme */
    }

        .platinum-title::after::before {
            content: '';
            position: absolute;
            top: 0;
            left: -50%;
            width: 50%;
            height: 100%;
            background: rgba(255, 255, 255, 0.3); /* hafif parlama */
            transform: skewX(-20deg);
            animation: shine 2s infinite;
        }

/* Shine efekt */
@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

/* Çizgi büyüme ve küçülme animasyonu */
@keyframes growLine {
    0%, 100% {
        width: 20%;
    }

    25%, 75% {
        width: 60%;
    }
}

/* Hover ile ekstra büyüme */
.slider-header:hover .platinum-title::after {
    width: 80%;
}

/* ------------------ Slider ve Kartlar ------------------ */
.service-slider {
    width: 100%;
    padding: 20px 0 50px;
    background: #f5f5f5;
}

.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s ease-in-out;
}

.service-card {
    flex: 0 0 calc(33.333% - 20px); /* Desktop 3'lü */
    background: #1f1f1f; /* Siyah tonlu */
    color: #000; /* Alt yazı siyah olacak */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .service-card h4 {
        font-size: 22px;
        margin: 15px;
        color: #000; /* Başlık siyah */
    }

    .service-card p {
        font-size: 16px;
        margin: 0 15px 15px 15px;
        color: #696969; /* Alt yazı gri */
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    }

/* Responsive */
@media (max-width: 992px) {
    .service-card {
        flex: 0 0 calc(50% - 15px); /* Tablet 2'li */
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 0 100%; /* Mobil 1 kart */
    }

    .platinum-title {
        font-size: 28px;
    }
}
