/**
 * HOMEPAGE MODERN DESIGN
 * Enestein Ana Sayfa Özel Stilleri
 */

/* ========== HERO GRADIENT SECTION ========== */
.hero-gradient {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.hero-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-brain-icon {
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.brain-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary-hero {
    background: white;
    color: #667eea;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Featured Content Box */
.hero-featured-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 32px;
    margin-top: 48px;
    text-align: left;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.featured-box-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.featured-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.featured-box-text,
.featured-box-desc {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.featured-box-cta {
    color: rgba(255, 255, 255, 0.95);
    font-style: italic;
    font-weight: 600;
    margin-top: 16px;
    display: block;
}

.featured-box-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
}

.featured-box-link:hover {
    opacity: 0.9;
}

/* ========== GÜNÜN SÖZÜ - MODERN ========== */
.daily-quote-modern {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.quote-modern-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 48px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    position: relative;
}

.quote-icon-large {
    font-size: 4rem;
    margin-bottom: 24px;
    opacity: 0.8;
}

.quote-text-large {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 24px;
    font-weight: 500;
}

.quote-author-large {
    display: block;
    font-size: 1.15rem;
    color: var(--accent-primary);
    font-weight: 600;
    font-style: normal;
}

.quote-badge-modern {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: white;
    padding: 8px 24px;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== KATEGORİLER - MODERN ========== */
.categories-modern-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.section-header-modern {
    text-align: center;
    margin-bottom: 48px;
}

.section-title-modern {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.gradient-text-blue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #f97316 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-cyan {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-modern {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.categories-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-modern-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
    border-color: var(--accent-primary);
}

.category-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.category-modern-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.category-modern-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== ÖNE ÇIKAN & SON YAZILAR ========== */
.featured-modern-section,
.recent-modern-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.recent-modern-section {
    background: var(--bg-primary);
}

.featured-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.featured-modern-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.featured-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.card-image-featured {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-modern-card:hover .card-image-featured img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.featured-category {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-body-featured {
    padding: 24px;
}

.featured-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.featured-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-card-title a:hover {
    color: var(--accent-primary);
}

.featured-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.featured-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.featured-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Articles Modern Grid */
.articles-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.article-modern-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.article-modern-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.card-category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

/* ========== SOSYAL MEDYA FEED ========== */
.social-feed-section {
    padding: 80px 20px;
    background: var(--bg-secondary);
}

.social-feeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.social-feed-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.social-feed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.social-feed-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.social-feed-header i {
    font-size: 2.5rem;
}

.instagram-card .social-feed-header i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tiktok-card .social-feed-header i {
    color: #FE2C55;
}

.twitter-card .social-feed-header i {
    color: #1DA1F2;
}

.bluesky-card .social-feed-header i {
    color: #1285FE;
}

.youtube-card .social-feed-header i {
    color: #FF0000;
}

.github-card .social-feed-header i {
    color: #333;
}

:root[data-theme="light"] .github-card .social-feed-header i {
    color: #000;
}

.social-feed-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.social-feed-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.social-feed-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
}

.social-feed-cta:hover {
    background: #7c3aed;
    transform: translateX(4px);
}

/* ========== CTA MODERN ========== */
.cta-modern-section {
    padding: 80px 20px;
    background: var(--bg-primary);
}

.cta-modern-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 64px 32px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #ec4899 100%);
    border-radius: 24px;
    color: white;
}

.cta-modern-card h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-modern-card p {
    font-size: 1.15rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.cta-social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-social-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

/* ========== SECTION FOOTER ========== */
.section-footer-center {
    text-align: center;
    margin-top: 48px;
}

.btn-modern-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-modern-outline:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-main-title {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-hero {
        width: 100%;
    }
    
    .hero-featured-box {
        padding: 24px;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .categories-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .featured-modern-grid,
    .articles-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .social-feeds-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-modern-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .categories-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .brain-circle {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }
}

/* ========== LIGHT THEME OVERRIDES ========== */
:root[data-theme="light"] .hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ec4899 100%);
}

:root[data-theme="light"] .hero-gradient::before {
    background: rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .hero-featured-box {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

:root[data-theme="light"] .featured-box-title,
:root[data-theme="light"] .featured-box-text,
:root[data-theme="light"] .featured-box-desc,
:root[data-theme="light"] .featured-box-cta {
    color: rgba(0, 0, 0, 0.85);
}

:root[data-theme="light"] .brain-circle {
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

:root[data-theme="light"] .quote-modern-card {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

:root[data-theme="light"] .category-modern-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

:root[data-theme="light"] .category-modern-card:hover {
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.2);
}

:root[data-theme="light"] .social-feed-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

:root[data-theme="light"] .social-feed-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

:root[data-theme="light"] .cta-modern-card {
    background: linear-gradient(135deg, var(--accent-primary) 0%, #3b82f6 100%);
}
