.services-section {
    padding: 60px 2%;
    background: var(--main-bg);
    font-family: sans-serif;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--title);
}

/* Filtre Butonları */
.filter-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: var(--second-bg);
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    color: var(--main-text);
}

.filter-btn.active {
    background: var(--accent);
    color: white;
}

/* Grid Düzeni */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* Kart Tasarımı */
.card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column; /* İçerikleri dikey sıraya koyar */
    height: 100%; /* Tüm kartların aynı boyda olmasını sağlar */
    /* Mevcut diğer card stillerin (padding, border vb.) burada kalsın */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 24px;
    color: var(--main-text);
    margin-bottom: 15px;
    font-weight: bold;
}

.card-icon-kurumsal {
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: bold;
}

.card h3 {
    font-size: 1.2rem;
    color: var(--title);
    margin-bottom: 12px;
}

.read-more {
    background: none;
    border: none;
    color: #007bff;
    font-weight: bold;
    cursor: pointer;
    padding-top: 15px;
    display: inline-block;
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    max-height: 80vh;
    overflow-y: auto;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--accent); /* Kurumsal mavi */
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: auto; /* SİHİRLİ DOKUNUŞ: Üstteki tüm boşluğu iter ve butonu en alta sabitler */
    align-self: flex-start; /* Butonun kart genişliğine yayılmasını engeller, solda tutar */
}

.card-link:hover {
    background-color: var(--accent);
}

/* Belediye kartları için farklı bir buton rengi istersen: */
.belediye .card-link {
    background-color: var(--main-text); /* Yeşil tonu */
}

.belediye .card-link:hover {
    background-color: #15803d;
}
