/*
Theme Name: GeneratePress Child
Template: generatepress
*/


/* Gabile Ana Sayfa Stilleri - Mobil Uyumlu */
.gabile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 40px;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.giris-btn {
    background: #ff69b4;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s;
}
.giris-btn:hover {
    transform: scale(1.05);
}

/* Oda Tablosu */
.oda-tablosu {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}
.oda-tablosu table {
    width: 100%;
    border-collapse: collapse;
}
.oda-tablosu th, .oda-tablosu td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.toplam-online {
    text-align: right;
    margin-top: 20px;
    font-weight: bold;
    color: #4CAF50;
}

/* Özellikler */
.ozellikler {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}
.ozellik {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.ozellik:hover {
    transform: translateY(-5px);
}

/* Son Yazılar */
.son-yazilar {
    margin-bottom: 40px;
}
.yazi-listesi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.yazi-karti {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.yazi-karti img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.yazi-karti h3 {
    padding: 15px 15px 0 15px;
}
.yazi-karti h3 a {
    text-decoration: none;
    color: #333;
}
.yazi-ozet {
    padding: 0 15px;
    color: #666;
}
.devam-btn {
    display: inline-block;
    margin: 15px;
    padding: 8px 20px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
}

/* Sohbet Formu */
.sohbet-formu {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
}
.sohbet-formu form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}
.sohbet-formu input, .sohbet-formu select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
}
.sohbet-formu button {
    background: #ff69b4;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
}

/* SSS */
.sss {
    margin-bottom: 40px;
}
.sss-item {
    background: white;
    margin-bottom: 10px;
    border-radius: 10px;
    overflow: hidden;
}
.sss-soru {
    background: #667eea;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
}
.sss-cevap {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.sss-item.active .sss-cevap {
    padding: 15px;
    max-height: 200px;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .gabile-container {
        padding: 10px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 16px;
    }
    .ozellikler {
        grid-template-columns: 1fr;
    }
    .yazi-listesi {
        grid-template-columns: 1fr;
    }
    .oda-tablosu table, .oda-tablosu thead, .oda-tablosu tbody, .oda-tablosu th, .oda-tablosu td, .oda-tablosu tr {
        display: block;
    }
    .oda-tablosu th {
        display: none;
    }
    .oda-tablosu td {
        position: relative;
        padding-left: 50%;
    }
    .oda-tablosu td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
    }
}

/* Canlı online sayısı animasyonu */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
#toplam-online-sayisi {
    display: inline-block;
    animation: pulse 2s infinite;
}