﻿/* Grid */
.referans-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 20px;
}

/* Kart */
.referans-kart {
    width: 280px;
    height: 220px;
    border: 2px solid #d4af37; /* Altın rengi */
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #e0f3e8;
    box-shadow: 0 4px 12px rgba(0, 80, 0, 0.1);
    color: #2f4f2f;
    font-weight: 500;
}

    .referans-kart:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(0, 80, 0, 0.2);
    }

/* Karttaki Logo */
.kart-logo {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
}

/* === Modal (Tam Ekran Resim Görünümü) === */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-icerik {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    display: block;
    margin: auto;
}
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

    .close:hover {
        background: rgba(255, 255, 255, 0.2);
    }
