﻿@media (max-width: 768px) {
    .butonlar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .butonlar button {
            margin: 8px 0;
            width: 80%;
            max-width: 300px;
        }
}

body {
    font-family: sans-serif;
    background: #f9f9f9;
    /* padding: 20px; */
    margin: 0;
}

.butonlar {
    text-align: center;
    margin-bottom: 20px;
}

    .butonlar button {
        background: none;
        border: none;
        color: #666;
        font-size: 16px;
        margin: 0 8px;
        cursor: pointer;
        padding: 8px 16px;
        border-radius: 4px;
        transition: background 0.3s, color 0.3s;
    }

        .butonlar button.aktif {
            background: #0072bc;
            color: white;
        }


.hizmetler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.hizmet-karti {
    position: relative;
    width: 400px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
}

    .hizmet-karti:hover {
        transform: translateY(-4px);
    }

    .hizmet-karti::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        transition: 0.3s;
        z-index: 1;
    }

    .hizmet-karti:hover::before {
        opacity: 1;
    }

.bilgi-butonu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background: #0072bc;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.hizmet-karti:hover .bilgi-butonu {
    opacity: 1;
    pointer-events: auto;
}




.modal {
    display: none;
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-icerik {
    background: white;
    padding: 20px;
    border-radius: 6px;
    max-width: 800px;
    text-align: center;
    max-height: 80vh; /* Ekranın %80’i kadar yüksekliğe izin ver */
    overflow-y: auto; /* İçerik taşarsa dikey kaydırma göster */
    position: relative;
}

.kapat {
    background: crimson;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 4px;
}

.video-play-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    cursor: pointer;
    border: none;
    background: none;
    transition: transform 0.3s;
}

    .video-play-btn img {
        width: 64px;
        height: 64px;
    }

    .video-play-btn:hover {
        transform: scale(1.1);
    }

.shadow-box {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    background: white;
    padding: 2px;
    border-radius: 8px;
}

.madde-listesi {
    font-family: sans-serif;
    line-height: 1.6;
}

.alt-madde {
    margin-left: 5px;
}

.modal-kapat {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: #555;
    cursor: pointer;
    transition: 0.2s ease;
}

    .modal-kapat:hover {
        color: #0072bc;
    }
