/* GENEL AYARLAR VE RGB ARKA PLAN */
body {
    min-height: 100vh;
    background: linear-gradient(-45deg, #55efc4, #81ecec, #fab1a0, #74b9ff);
    background-size: 400% 400%;
    animation: gradientBG 20s ease infinite;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ANA KAPLAYICI - ÇÖZÜNÜRLÜK AYARI */
.container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ÖZGÜN YATAY SATIR KARTI (ESNEK YAPI) */
.shop-row-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    display: flex;
    flex-direction: row; /* Yan yana diz */
    flex-wrap: wrap; /* Ekran daralınca alt alta geç */
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

/* SOL GÖRSEL KUTUSU */
.row-img-box {
    position: relative;
    flex: 0 0 240px; /* Sabit genişlik yerine esnek baz değer */
    min-height: 180px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f1f5f9;
}

/* ORTA İÇERİK ALANI */
.row-content {
    flex: 1; /* Kalan tüm boşluğu doldur */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 250px; /* Çok daralmasını engelle */
}

/* SAĞ BUTON PANELİ */
.row-action-panel {
    flex: 0 0 200px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(248, 250, 252, 0.5);
    border-left: 1px solid #f1f5f9;
}

/* MOBİL VE DÜŞÜK ÇÖZÜNÜRLÜK (800x600 ve altı) AYARLARI */
@media (max-width: 768px) {
    .shop-row-card {
        flex-direction: column; /* Her şeyi alt alta diz */
    }

    .row-img-box, .row-action-panel {
        width: 100%;
        flex: none;
        border: none;
    }

    .row-img-box {
        border-bottom: 1px solid #f1f5f9;
    }

    .row-action-panel {
        border-top: 1px solid #f1f5f9;
        background: white;
    }
}

/* BUTONLAR VE ROZETLER */
.reserve-btn {
    background: #0ea5e9;
    color: white;
    font-weight: 700;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

    .reserve-btn:hover {
        background: #0284c7;
        color: white;
        transform: translateY(-2px);
    }

.distance-badge {
    background: #f0fdf4;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dcfce7;
}

.location-marker {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    color: #ef4444;
}

.row-empty-comment {
    background: #f1f5f9;
    padding: 10px;
    border-radius: 8px;
    color: #94a3b8;
    font-size: 0.8rem;
    margin-top: 10px;
}

.map-link-btn {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
/* GİRİŞ EKRANI (MODAL) DÜZELTME */
.custom-modal-overlay {
    position: fixed; /* Sayfadan bağımsız ekrana sabitler */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Arka planı karartır */
    display: flex;
    align-items: center; /* Dikeyde ortalar */
    justify-content: center; /* Yatayda ortalar */
    z-index: 9999; /* En üstte görünmesini sağlar */
}

.modal-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}