/* VoleyBul İlan Detay Sayfası CSS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* Ana sayfadaki açık mavi arka plan ve ortalanmış içerik tasarımına uygun stil */
.ad-detail-bg {
    background-color: #F4F4F4;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

.ad-detail-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    overflow: hidden;
    padding: 30px;
    position: relative;
}

/* İlan Tipi */
.ad-detail-type {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    transition: transform 0.3s ease;
}

.ad-detail-type:hover {
    transform: translateY(-3px);
}

.ad-detail-type.takim {
    background-color: rgba(255, 107, 0, 0.15);
    color: #c74c00;
}

.ad-detail-type.lig {
    background-color: rgba(0, 119, 255, 0.15);
    color: #0057b8;
}

.ad-detail-type.turnuva {
    background-color: rgba(255, 215, 0, 0.15);
    color: #b8860b;
}

.ad-detail-icon {
    font-size: 1.4rem;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* İlan Başlık */
.ad-detail-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1E1E2F;
    margin: 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #FF6B00;
    position: relative;
}

.ad-detail-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0077FF;
}

/* İlan İçeriği */
.ad-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 25px 0;
    border-left: 4px solid #FF6B00;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ad-detail-content::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: rgba(255, 107, 0, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

/* İlan Yazar ve Tarih Bilgileri */
.ad-detail-author {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: #1E1E2F;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ad-detail-admin {
    display: inline-block;
    margin-left: 8px;
    color: #e65100;
    font-weight: 700;
}

.ad-detail-date {
    font-size: 0.95rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.ad-detail-date i {
    color: #0077FF;
}

/* İletişim Seçenekleri Başlık */
.contact-options-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E1E2F;
    margin: 20px 0 15px;
}

/* İletişim Seçenekleri Kapsayıcı */
.contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

/* İletişim Bilgisi Yok Mesajı */
.no-contact-info {
    font-style: italic;
    color: #777;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #FF6B00;
}

/* İlan Aksiyon Butonları */
.ad-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.ad-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Buton Stili */
.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(18, 140, 126, 0.3);
}

/* E-posta Buton Stili */
.email-btn {
    background-color: #FF6B00;
    color: white;
}

.email-btn:hover {
    background-color: #e65100;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(230, 81, 0, 0.3);
}

/* Geri Dön Buton Stili */
.back-btn {
    background-color: #0077FF;
    color: white;
    margin-top: 10px;
}

.back-btn:hover {
    background-color: #0057b8;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 87, 184, 0.3);
}

/* Responsive Ayarlamalar */
@media (max-width: 992px) {
    .ad-detail-container {
        padding: 25px;
    }
    
    .ad-detail-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .ad-detail-bg {
        padding: 30px 15px;
    }
    
    .ad-detail-container {
        padding: 20px;
    }
    
    .ad-detail-title {
        font-size: 1.6rem;
    }
    
    .ad-detail-content {
        padding: 15px;
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .ad-detail-type {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .ad-detail-bg {
        padding: 20px 10px;
    }
    
    .ad-detail-title {
        font-size: 1.4rem;
    }
    
    .ad-detail-actions {
        flex-direction: column;
    }
    
    .ad-detail-btn {
        width: 100%;
        justify-content: center;
    }
}
