/* ========================================
   DDI Akademi - Lento Styles
   ======================================== */

/* Hero Section */
.lento-hero {
    text-align: center;
    padding: 40px 20px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.lento-hero .hero-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eebd2b, #d4a820);
    border-radius: 50%;
    font-size: 3rem;
    color: #1a1a1a;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 40px rgba(238, 189, 43, 0.25);
    animation: lentoFloat 4s ease-in-out infinite;
}

@keyframes lentoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-3deg); }
}

.lento-hero .hero-title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.hero-tagline {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.lento-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Filter Section (reuse from sizden-gelenler) */
.filter-section {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.category-filters {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid rgba(238, 189, 43, 0.3);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover {
    background: rgba(238, 189, 43, 0.15);
    border-color: rgba(238, 189, 43, 0.5);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, #eebd2b, #d4a820);
    border-color: #eebd2b;
    color: #1a1a1a;
    font-weight: 600;
}

/* Articles Grid */
.articles-section {
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* Article Card */
.article-card {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(238, 189, 43, 0.15);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.article-category {
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-category.deneme {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.article-category.elestiri {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.article-category.inceleme {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.article-category.roportaj {
    background: rgba(238, 189, 43, 0.2);
    color: #b8860b;
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(238, 189, 43, 0.15);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eebd2b, #d4a820);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 0.85rem;
}

.article-author span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.article-stats {
    display: flex;
    gap: 1rem;
}

.article-stats span {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.read-more-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(238, 189, 43, 0.15), rgba(238, 189, 43, 0.08));
    border: 1px solid rgba(238, 189, 43, 0.3);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.read-more-btn:hover {
    background: linear-gradient(135deg, #eebd2b, #d4a820);
    color: #1a1a1a;
    border-color: #eebd2b;
}

/* Article Modal */
.article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.article-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 2.5rem;
    z-index: 1;
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}

.modal-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.modal-author {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(238, 189, 43, 0.2);
}

.modal-author span {
    font-weight: 500;
    color: var(--text-secondary);
}

.modal-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.modal-body p {
    margin-bottom: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .lento-hero .hero-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .lento-hero .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.5rem;
        max-height: 90vh;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .lento-hero .hero-title {
        font-size: 2rem;
    }

    .category-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
}

/* Touch devices - disable hover effects */
@media (hover: none) {
    .article-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lento-hero .hero-icon {
        animation: none;
    }

    .modal-content {
        animation: none;
    }
}
