/* ============================================================ */
/* === TEMEL AYARLAR & RENKLER === */
/* ============================================================ */
:root {
    --primary: #4F46E5;
    --primary-hover: #4338ca;
    --secondary: #10B981;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
    --white: #ffffff;
    
    /* Platform Renkleri */
    --whatsapp: #25D366;
    --telegram: #0088CC;
    
    /* Apple Style Değişkenleri */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Temel Reset */
* { box-sizing: border-box; }
body { 
    font-family: var(--font-main); 
    background-color: #f1f5f9; 
    color: #334155; 
    line-height: 1.6; 
    padding-top: 60px !important;
    margin: 0;
}
a { text-decoration: none; transition: all 0.2s ease; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ============================================================ */
/* === MODERN HEADER (HER SAYFADA GÖRÜNÜR) === */
/* ============================================================ */
.modern-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    height: 70px; display: flex; align-items: center;
    box-shadow: 0 1px 10px rgba(0,0,0,0.03);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.brand-logo { 
    font-weight: 800; font-size: 1.5rem; color: var(--dark); 
    display: flex; align-items: center; gap: 8px; 
}
.brand-logo i { color: var(--primary); font-size: 1.6rem; }

.nav-menu { display: flex; gap: 20px; align-items: center; }
.nav-item-link { 
    color: #475569; font-weight: 600; font-size: 0.95rem; 
    padding: 8px 12px; border-radius: 8px;
}
.nav-item-link:hover { color: var(--primary); background: #f1f5f9; }

.nav-btn { padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; }
.btn-login { color: var(--primary); background: rgba(79, 70, 229, 0.1); }
.btn-login:hover { background: rgba(79, 70, 229, 0.2); }
.btn-register { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3); }
.btn-register:hover { background: var(--primary-hover); transform: translateY(-1px); color: white; }

.mobile-menu-btn { display: none; border: none; background: transparent; font-size: 1.5rem; color: var(--dark); cursor: pointer; }

/* ============================================================ */
/* === HERO SECTION (ANASAYFA BAŞLIĞI) === */
/* ============================================================ */
.hero-section { position: relative; padding: 80px 0 50px; text-align: center; overflow: hidden; }
.hero-blobs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: float 10s infinite alternate; }
.blob-1 { top: -10%; left: -10%; width: 400px; height: 400px; background: #818cf8; }
.blob-2 { bottom: 10%; right: -5%; width: 300px; height: 300px; background: #34d399; animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0,0); } 100% { transform: translate(20px, -20px); } }

.hero-title { font-size: 2.8rem; font-weight: 800; color: var(--dark); margin-bottom: 1rem; letter-spacing: -0.03em; line-height: 1.2; }
.hero-subtitle { font-size: 1.15rem; color: var(--gray); max-width: 700px; margin: 0 auto 2.5rem; }

/* ============================================================ */
/* === MODERN SEARCH & FILTERS === */
/* ============================================================ */
.search-wrapper { max-width: 600px; margin: 0 auto 2rem; position: relative; }
.modern-search-input { 
    width: 100%; padding: 18px 25px 18px 55px; border-radius: 50px; 
    border: 1px solid rgba(203, 213, 225, 0.6); background: rgba(255, 255, 255, 0.9); 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); font-size: 1rem; transition: all 0.3s ease; 
}
.modern-search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 10px 40px rgba(79, 70, 229, 0.15); transform: translateY(-2px); }

.search-icon-pos { position: absolute; left: 22px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.2rem; }
.search-btn-pos { 
    position: absolute; right: 8px; top: 8px; bottom: 8px; 
    background: var(--primary); color: white; border: none; padding: 0 25px; 
    border-radius: 40px; font-weight: 600; cursor: pointer; transition: all 0.2s; 
}
.search-btn-pos:hover { background: var(--primary-hover); }

.tags-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.modern-tag { 
    background: white; border: 1px solid #e2e8f0; padding: 8px 20px; border-radius: 50px; 
    font-size: 0.95rem; color: #64748b; font-weight: 600; display: flex; align-items: center; 
    gap: 8px; transition: all 0.2s; cursor: pointer; user-select: none; 
}
.modern-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.modern-tag.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3); }
.modern-tag.active i { color: white !important; }

/* Arama Sonuçları */
#searchResultsSection { display: none; margin-top: 30px; margin-bottom: 50px; animation: slideDown 0.3s ease-out; }
.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================ */
/* === KART TASARIMLARI (PLATFORM & GRUPLAR) === */
/* ============================================================ */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin: 40px 0; }
.modern-card { 
    background: white; border-radius: 24px; padding: 30px; border: 1px solid #f1f5f9; 
    box-shadow: var(--shadow-sm); transition: all 0.3s ease; position: relative; 
}
.modern-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #e2e8f0; }
.card-icon-box { 
    width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; 
    font-size: 28px; color: white; margin-bottom: 20px; 
}
.bg-whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.bg-telegram { background: linear-gradient(135deg, #0088CC, #005f8f); }
.modern-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.card-action { font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 5px; }
.modern-card:hover .card-action i { transform: translateX(5px); }

/* Grup Grid */
.section-header { display: flex; justify-content: space-between; align-items: end; margin-bottom: 25px; }
.section-title { font-size: 1.8rem; font-weight: 800; color: var(--dark); margin: 0; letter-spacing: -0.02em; }
.section-link { color: var(--primary); font-weight: 600; }

.group-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 25px; }

.group-item { 
    background: white; border-radius: 20px; overflow: hidden; border: 1px solid #f1f5f9; 
    box-shadow: var(--shadow-sm); transition: all 0.3s ease; display: flex; flex-direction: column; 
}
.group-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.group-cover { height: 120px; background: #f8fafc; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.group-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.group-item:hover .group-cover img { transform: scale(1.05); }

.group-platform-badge { 
    position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 10px; 
    display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; 
    background: rgba(255,255,255,0.9); box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}
.badge-wa i { color: #25D366; } .badge-tg i { color: #0088CC; }

.group-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.group-name { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.group-desc { font-size: 0.85rem; color: #64748b; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.group-stats { display: flex; gap: 15px; font-size: 0.8rem; color: #94a3b8; margin-top: auto; padding-top: 15px; border-top: 1px solid #f1f5f9; }
.stat { display: flex; align-items: center; gap: 5px; font-weight: 500; }

.btn-join-modern { 
    margin-top: 15px; width: 100%; padding: 12px; border-radius: 12px; 
    background: var(--dark); color: white; font-weight: 600; font-size: 0.9rem; 
    text-align: center; transition: all 0.2s; border: none; display: block; cursor: pointer;
}
.btn-join-modern:hover { background: var(--primary); color: white; }
/* ============================================================ */
/* === KANAL DETAY SAYFASI (MODERN TASARIM) === */
/* ============================================================ */

/* Hero Section */
.group-hero {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--ios-border);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.group-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

/* Logo & Görsel */
.group-image-box {
    width: 100px; height: 100px; border-radius: 24px; overflow: hidden;
    margin: 0 auto 20px; box-shadow: var(--shadow-lg); border: 4px solid white;
    background: #f8fafc; display: flex; align-items: center; justify-content: center;
}
.group-image-box img { width: 100%; height: 100%; object-fit: cover; }
.group-image-box i { font-size: 40px; color: var(--gray); }

/* Başlıklar */
.group-title-large { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; letter-spacing: -0.03em; }
.platform-badge-large { 
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; 
    border-radius: 50px; font-size: 0.85rem; font-weight: 600; margin-bottom: 15px;
}
.badge-wa-large { background: #dcfce7; color: #166534; }
.badge-tg-large { background: #e0f2fe; color: #075985; }

/* Meta Bilgiler */
.group-meta-large { 
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 20px; 
}
.meta-item-large { 
    display: flex; align-items: center; gap: 6px; color: var(--gray); font-size: 0.95rem; font-weight: 500;
    background: #f8fafc; padding: 8px 16px; border-radius: 12px; border: 1px solid #e2e8f0;
}
.meta-item-large i { color: var(--primary); }

/* Content Cards */
.content-card-modern {
    background: white; border-radius: 20px; padding: 25px; margin-bottom: 25px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--ios-border);
}
.card-header-modern { 
    font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; 
    display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px;
}
.card-text-modern { color: #475569; line-height: 1.7; font-size: 1rem; }

/* Tags */
.tags-wrapper-modern { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-modern { 
    background: #f1f5f9; color: #475569; padding: 6px 14px; border-radius: 8px; 
    font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
}
.tag-modern:hover { background: var(--primary); color: white; }

/* Sidebar Cards (Join, Stats, Share) */
.sidebar-card {
    background: white; border-radius: 20px; padding: 25px; margin-bottom: 20px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--ios-border);
}

/* Join Button */
.btn-join-large {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px; border-radius: 16px; font-size: 1.1rem; font-weight: 700;
    color: white; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
    border: none; cursor: pointer;
}
.btn-join-wa { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.btn-join-tg { background: linear-gradient(135deg, #0088CC, #005f8f); box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3); }
.btn-join-large:hover { transform: translateY(-3px); color: white; }

/* Stats List */
.stat-row { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 12px 0; border-bottom: 1px solid #f8fafc; 
}
.stat-row:last-child { border-bottom: none; }
.stat-label { color: #64748b; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.stat-val { font-weight: 600; color: var(--dark); }

/* Rating Bars */
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.rating-emoji { font-size: 1.4rem; width: 30px; }
.rating-bar-bg { flex: 1; height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; }
.rating-val { font-size: 0.8rem; font-weight: 600; color: #64748b; min-width: 35px; text-align: right; }

/* Share Buttons */
.share-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.share-btn { 
    height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; 
    font-size: 1.2rem; color: white; transition: transform 0.2s; border: none; cursor: pointer;
}
.share-btn:hover { transform: translateY(-3px); color: white; }
.share-fb { background: #1877F2; }
.share-tw { background: #1DA1F2; }
.share-wa { background: #25D366; }
.share-cp { background: #475569; }

/* Similar Groups Grid */
.similar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.similar-card { 
    background: #f8fafc; border-radius: 16px; padding: 15px; border: 1px solid #e2e8f0;
    transition: all 0.2s; text-decoration: none; display: block;
}
.similar-card:hover { background: white; transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.similar-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.similar-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.similar-name { font-weight: 600; color: var(--dark); font-size: 0.9rem; line-height: 1.2; }
.similar-meta { font-size: 0.75rem; color: #64748b; }

@media (max-width: 768px) {
    .group-hero { padding: 20px; }
    .group-title-large { font-size: 1.6rem; }
    .group-meta-large { flex-direction: column; gap: 10px; }
    .meta-item-large { width: 100%; justify-content: center; }
    .btn-join-large { padding: 14px; font-size: 1rem; }
    .similar-grid { grid-template-columns: 1fr 1fr; }
}
/* ============================================================ */
/* === DİĞER BİLEŞENLER (FEATURES, FAQ, CATEGORIES) === */
/* ============================================================ */
.features-section { padding: 60px 0; background: white; border-radius: 30px; margin: 40px 0; border: 1px solid #f1f5f9; }
.feature-box { text-align: center; padding: 20px; }
.feature-icon { width: 70px; height: 70px; border-radius: 20px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--primary); margin: 0 auto 20px; transition: all 0.3s; }
.feature-box:hover .feature-icon { background: var(--primary); color: white; transform: rotateY(180deg); }
.feature-box h4 { font-weight: 700; margin-bottom: 10px; color: var(--dark); }

.seo-section { padding: 40px; background: #fff; border-radius: 24px; margin: 40px 0; border: 1px solid #e2e8f0; height: 100%; }
.seo-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--dark); margin-bottom: 15px; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; margin: 30px 0; }
.category-card { background: white; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; text-align: center; transition: all 0.2s; display: block; text-decoration: none; }
.category-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-icon { font-size: 24px; color: var(--primary); margin-bottom: 10px; display: block; }
.cat-name { font-weight: 600; color: var(--dark); }

.modern-accordion .accordion-item { border: none; background: white; border-radius: 16px; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.modern-accordion .accordion-button { background: white; font-weight: 600; color: var(--dark); padding: 20px; box-shadow: none; }
.modern-accordion .accordion-button:not(.collapsed) { color: var(--primary); background: #f8fafc; }

/* ============================================================ */
/* === MOBİL RESPONSIVE (KESİN DÜZELTMELER) === */
/* ============================================================ */
@media (max-width: 991px) {
    .nav-menu { display: none; } 
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2rem; }
    .group-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .group-desc { display: none; } 
    .group-cover { height: 100px; }
    .group-content { padding: 12px; }
    .group-name { font-size: 0.9rem; margin-bottom: 4px; }
    .btn-join-modern { padding: 8px; font-size: 0.8rem; margin-top: 10px; }
}

@media (max-width: 480px) {
    .group-grid-modern { grid-template-columns: repeat(2, 1fr); gap: 10px; } /* 2 Sütun */
    .hero-section { padding: 40px 0 20px; }
    .hero-title { font-size: 1.8rem; }
    .platform-grid { grid-template-columns: 1fr; }
    .features-section { padding: 30px 0; }
    .seo-section { padding: 20px; margin: 20px 0; }
}

