/* === ANA SAYFA KATEGORİ KARTI KÜÇÜLTME === */

/* Sadece ana sayfadaki (index.php) kategori bölümünü hedefler */
.categories-v2 .category-card-image {
    height: 250px; /* 400px'den düşürüldü */
}

.categories-v2 .category-card-image h3 {
    font-size: 1.5rem; /* 1.8rem'den düşürüldü */
    padding: 15px;
}
/* === YENİ MODAL (POPUP) STİLLERİ === */
.modal {
    display: none; /* Varsayılan olarak gizli kalmalı */
    position: fixed; /* Ekranın üzerinde kilitli kalsın */
    z-index: 2000; /* Diğer her şeyin üzerinde */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Dışarıya taşmayı engelle, sayfa kaymasın */
    background-color: rgba(0, 0, 0, 0.6); /* Arka plan karartması */
    
    /* İçeriği dikey ve yatayda ortalamak için flex */
    display: flex; /* JavaScript açtığında 'flex' olacak, gizliyken 'none' */
    align-items: center;
    justify-content: center;
    opacity: 0; /* Başlangıçta animasyon için gizli */
    visibility: hidden; /* Görünmez yap */
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal açıkken bu stil uygulanacak (JS ekleyecek) */
.modal.is-active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(20px) scale(0.9); /* Animasyon başlangıç pozisyonu */
    opacity: 0; /* Animasyon için başlangıçta gizli */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Modal aktif olduğunda içeriğin animasyonu */
.modal.is-active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #aaa;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: #333;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.modal-profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--border-color);
}

.modal-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.modal-bio {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.modal-stat-box {
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 25px;
}

.modal-stat-box strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 5px;
}

.modal-stat-box span {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-pricing-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.modal-pricing-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.modal-price-item {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.modal-price-item span {
    display: block;
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.modal-price-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Modal açılma animasyon keyframe'lerine gerek kalmadı, CSS transition ile yaptık */

/* === Mobil Uyumluluk === */
/* ... (Mevcut mobil uyumluluk kodlarınız burada devam etmeli) ... */
body.modal-acik {
    overflow: hidden;
}
/* === Temel Ayarlar ve Değişkenler === */
:root {
    --primary-color: #0052FF;
    --secondary-color: #F0F5FF;
    --text-dark: #222222;
    --text-light: #555555;
    --background-light: #FFFFFF;
    --border-color: #EAEAEA;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 8px 25px rgba(0, 82, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    animation: pageFadeIn 0.8s ease-out;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* === Butonlar === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary { background-color: var(--primary-color); color: #fff; }
.btn-primary:hover {
    background-color: #003bb5;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 82, 255, 0.3);
}
.btn-lg { padding: 15px 35px; font-size: 1.1rem; }
.btn-block { display: block; text-align: center; }

/* === Navigasyon ve Hero (Aynı) === */
.navbar { background: var(--background-light); padding: 20px 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); text-decoration: none; }
.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li { margin-left: 30px; }
.nav-links a { text-decoration: none; color: var(--text-light); font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--primary-color); }
.mobil-menu-ikon { display: none; font-size: 1.5rem; cursor: pointer; }
.hero { padding: 80px 0; background-color: var(--secondary-color); }
.hero-container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-content { flex: 1; animation: slideInFromLeft 1s ease-out; }
.hero-content h1 { font-size: 3rem; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero-content p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.hero-image { flex: 1; text-align: center; animation: fadeIn 1.2s ease-out; }
.hero-image img { max-width: 100%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }

/* === Genel Başlık Stili ve Animasyonu === */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInFromTop 1s ease-out forwards;
}
.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 50px;
    opacity: 0;
    animation: slideInFromTop 1s ease-out 0.2s forwards; 
}

/* === YENİ Resimli Kategori Stilleri (Ana Sayfa) === */
.categories-v2 { padding: 80px 0; }
.category-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.category-card-link {
    text-decoration: none;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.3s ease;
    opacity: 0;
    /* DÜZELTME 1: Burası 'backwards' idi, 'forwards' olarak değiştirildi.
      'forwards' animasyon bittiğinde son karede (opacity: 1) kalmasını sağlar.
    */
    animation: fadeInUp 0.8s ease-out forwards; 
}
.category-card-link:nth-child(2) { animation-delay: 0.2s; }
.category-card-link:nth-child(3) { animation-delay: 0.4s; }

.category-card-link:hover {
    box-shadow: var(--card-shadow-hover);
}
.category-card-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    transition: transform 0.4s ease;
}
.category-card-link:hover .category-card-image {
    transform: scale(1.1);
}
.category-card-image h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    padding: 20px;
    width: 100%;
    margin: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 20%, transparent);
}

/* === YENİ İletişim Formu Stilleri (Ana Sayfa) === */
.contact-section { padding: 80px 0; background-color: #f9f9f9; }
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}
.form-row {
    display: flex;
    gap: 30px;
}
.form-group {
    margin-bottom: 25px;
    flex: 1;
    opacity: 0;
    /* DÜZELTME 2: Burası 'backwards' idi, 'forwards' olarak değiştirildi.
    */
    animation: slideInFromRight 1s ease-out forwards; 
}
.form-group:nth-child(1) { animation-delay: 0.2s; }
.form-group:nth-child(2) { animation-delay: 0.4s; }
.form-group:nth-child(3) { animation-delay: 0.6s; }
.form-group:nth-child(4) { animation-delay: 0.8s; }

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 255, 0.1);
}
.form-group.text-center { text-align: center; }

/* === YENİ Kategori Sayfası Stilleri (kategori.html) === */
.page-content { padding: 80px 0; }
.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    animation: slideInFromTop 1s ease-out;
}
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.influencer-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    /* DÜZELTME 3: Burası 'backwards' idi, 'forwards' olarak değiştirildi.
      Bu, kategori.html sayfasındaki kartların da görünür kalmasını sağlar.
    */
    animation: fadeInUp 0.8s ease-out forwards; 
}
.influencer-card:nth-child(1) { animation-delay: 0.2s; }
.influencer-card:nth-child(2) { animation-delay: 0.4s; }
.influencer-card:nth-child(3) { animation-delay: 0.6s; }

.influencer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}
.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 4px solid var(--border-color);
}
.influencer-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.profile-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}
.influencer-stats {
    display: flex;
    justify-content: space-around;
    background: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-item strong {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}
.stat-item span {
    font-size: 0.8rem;
    color: var(--text-light);
}
.social-links {
    margin-bottom: 20px;
}
.social-links a {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--primary-color);
}


/* === Footer === */
.footer { background-color: #f8f9fa; border-top: 1px solid var(--border-color); text-align: center; padding: 30px 0; margin-top: 40px; color: var(--text-light); }

/* === Mobil Uyumluluk === */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; }
}

/* BU BÖLÜMÜ GÜNCELLEYİN */
@media (max-width: 768px) {
    .hero-container { flex-direction: column; text-align: center; }
    
    .nav-links {
        /* Varsayılan olarak menüyü gizle */
        display: none; 
        
        /* Mobil menü açıldığında nasıl görüneceği */
        flex-direction: column;
        position: absolute;
        top: 75px; /* Navbar'ın yüksekliği kadar aşağıda (navbar 75px ise) */
        left: 0;
        width: 100%;
        background: var(--background-light);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        /* Animasyonlu açılma */
        animation: menuFadeIn 0.3s ease-out;
    }
    
    /* JavaScript'in ekleyeceği class bu */
    .nav-links.mobil-menu-aktif {
        display: flex; /* Menüyü görünür yap */
    }

    .nav-links li {
        margin-left: 0;
        text-align: center;
        margin-bottom: 15px; /* Linkler arası boşluk */
    }

    .nav-links .btn {
        margin-top: 10px;
    }

    .mobil-menu-ikon {
        display: block; /* Hamburger ikonu göster */
    }

    .form-row { flex-direction: column; gap: 0; }
}

/* === Gerekli Animasyon Keyframe'leri === */

/* YENİ: Mobil menü açılma animasyonu */
@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ... (diğer keyframe animasyonları aynı kalacak) ... */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInFromLeft { from { opacity: 0; transform: translateX(-50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInFromTop { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInFromRight { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* === YENİ FOOTER STİLLERİ (Dosyanın sonuna ekleyin) === */

.site-footer {
    background-color: #1a1a1a; /* Koyu arka plan */
    color: #a9a9a9;
    padding: 60px 0 20px 0;
    margin-top: 60px; /* İçerikle arasında boşluk */
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

/* Başlık altı çizgisi */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col p {
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #a9a9a9;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 1rem;
    margin-right: 10px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom-bar {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #777;
}