@charset "utf-8";

/* Genel Mall ve Margin Yapısı (tours.css'den alındı) */

a {
    text-decoration: none;    
}


.mall {
    background-color: #F0F3F7;
    padding: 20px 0;
    width: 100%;
    margin-top: 95px;
}

.mall .margin {
     width: 98%;
     max-width: 1400px;
     background: #fff;
     border: 1px solid #ccc;
     border-radius: 8px;
     box-shadow: 0 0 3px rgb(153,153,153);
     margin: 20px auto;
     padding: 2%;
}

/* Rehber Kart Tasarımı (tours.css .tour mantığı) */
#load_data_guides {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.guide-item {
    width: 31%; /* 3'lü dizilim */
    min-width: 300px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Resim Alanı */
.guide-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.guide-item:hover .guide-image img {
    transform: scale(1.1);
}

/* Kategori Rozeti (tours.css indirim rozeti gibi) */
.guide-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0099ff;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* İçerik Alanı */
.guide-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.guide-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    color: #333;
    line-height: 1.4;
}

.guide-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Devamını Oku Butonu */
.read-more {
    margin-top: auto;
    color: #0099ff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive (tours.css'den uyarlandı) */
@media (max-width: 1024px) {
    .guide-item { width: 47%; }
}

@media (max-width: 768px) {
    .guide-item { width: 100%; margin-bottom: 15px; }
    .mall { margin-top: 70px; }
}

/* Loader (tours.css'den birebir) */
.loader {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0099ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}