/* Reset ve Temel Stiller */
:root {
    --ankahed-red: #E31E24;
    --ankahed-dark: #1a1a1a;
    --ankahed-light: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--ankahed-dark);
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ana Bölüm Başlıkları */
.section-title {
    font-size: 32px;
    color: var(--ankahed-dark);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-subtitle {
    display: block;
    font-size: 16px;
    color: #666;
    margin-top: 5px;
    font-weight: normal;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--ankahed-red);
    border-radius: 2px;
}

/* Gece modu için başlık renkleri */
@media (prefers-color-scheme: dark) {
    .section-title {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    
    .news-section h2,
    .lessons-section h2,
    .social-feeds h3 {
        color: #ffffff !important;
    }
    
    .section-subtitle {
        color: #cccccc !important;
    }
    
    /* Diğer başlıklar için */
    h1, h2, h3, h4, h5, h6 {
        color: #ffffff !important;
    }
    
    /* Kart başlıkları */
    .news-card h3,
    .lesson-card h3 {
        color: #ffffff !important;
    }
    
    /* Ana başlık rengi */
    .article-header h1 {
        color: #ffffff !important;
    }
}

/* Açık mod için de belirginleştirme */
@media (prefers-color-scheme: light) {
    .section-title {
        color: #333333;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: #333333;
    }
}

/* Haberler Bölümü */
.news-section {
    padding: 60px 0;
}

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

@media (min-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news-card {
    height: 250px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.news-card:hover .news-card-content {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.25);
}

.news-card-image {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 240px;
    height: 120px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
}

.news-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.news-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.news-card-content h3,
.news-card-title {
    font-size: 14px;
    line-height: 1.3;
    max-height: 72px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 8px;
}

.news-card-title a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.news-card-title a:hover {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.date {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    font-size: 11px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.read-more,
.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-size: 12px;
}

.read-more:hover,
.news-card-link:hover {
    gap: 10px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* News Card Animations */
.news-card {
    animation: fadeInCard 0.6s ease-out forwards;
    opacity: 0;
}

.news-card:nth-child(1) { animation-delay: 0.1s; }
.news-card:nth-child(2) { animation-delay: 0.2s; }
.news-card:nth-child(3) { animation-delay: 0.3s; }
.news-card:nth-child(4) { animation-delay: 0.4s; }
.news-card:nth-child(5) { animation-delay: 0.5s; }
.news-card:nth-child(6) { animation-delay: 0.6s; }
.news-card:nth-child(7) { animation-delay: 0.7s; }
.news-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInCard {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* News Grid Section */
.news-grid-section {
    width: 100%;
    padding: 40px 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.news-grid-title {
    color: #2c3e50;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.news-grid-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 2px;
}

.news-grid-container {
    width: 100%;
}

/* News Image Placeholder */
.news-image-placeholder {
    width: 300px;
    height: 200px;
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    display: fit-content;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    text-align: center;
}

.news-image-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.news-image-placeholder span {
    font-weight: bold;
    opacity: 0.9;
}

/* Loading States */
.loading, .error, .no-content {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background: var(--ankahed-light);
    margin: 20px 0;
}

.loading {
    color: #666;
}

.error {
    color: var(--ankahed-red);
}

/* Lessons Section */
.lessons-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lessons-title {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 3px solid #3498db;
    padding-bottom: 10px;
}

.lessons-info {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.6;
}

.lessons-container {
    display: grid;
    gap: 20px;
}

.loading-lessons {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.loading-lessons::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007BFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

/* Social Feeds Container */
.social-feeds-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 200px;
}

/* Sosyal Medya Bölümü */
.social-feeds {
    background: var(--ankahed-light);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: var(--shadow-md);
}

.social-feeds h3 {
    color: var(--ankahed-dark);
    text-align: center;
    margin-bottom: 25px;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    color: var(--ankahed-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-link.facebook { background: #1877f2; }
.social-link.twitter { background: #1da1f2; }
.social-link.instagram { background: #e4405f; }
.social-link.youtube { background: #ff0000; }

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* App Promotion Section */
.app-promotion-container, .app-promo {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.app-promotion {
    width: 100%;
}

.app-promotion-title {
    color: #2c3e50;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.app-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.app-store-button {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-button:hover {
    transform: translateY(-2px);
}

.app-store-button img {
    height: 40px;
    width: auto;
}

.app-promotion-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.app-logo img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
}

.app-info {
    text-align: center;
}

.app-info h2 {
    color: var(--ankahed-dark);
    margin-bottom: 15px;
}

.app-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.app-buttons img {
    height: 40px;
    transition: var(--transition);
}

.app-buttons img:hover {
    transform: translateY(-3px);
}

.app-image img {
    height: 300px;
    border-radius: 15px;
}

/* Cookie Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.cookie-button.accept {
    background: #28a745;
    color: white;
}

.cookie-button.accept:hover {
    background: #218838;
}

.cookie-button.settings {
    background: #6c757d;
    color: white;
}

.cookie-button.settings:hover {
    background: #5a6268;
}

.cookie-button.save {
    background: #007bff;
    color: white;
}

.cookie-button.save:hover {
    background: #0056b3;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: white;
    border-radius: 10px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    position: relative;
}

.cookie-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.cookie-close:hover {
    color: #333;
}

.cookie-modal h2 {
    margin-bottom: 20px;
    color: #333;
}

.cookie-options {
    margin-bottom: 20px;
}

.cookie-option {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
}

.cookie-option label {
    font-weight: bold;
    margin-left: 10px;
}

.cookie-option p {
    margin: 10px 0 0 25px;
    color: #666;
    font-size: 14px;
}

.cookie-modal-buttons {
    text-align: right;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .container {
        background-color: #1a1a1a;
    }
    
    .news-grid-section {
        background: #2c2c2c;
    }
    
    .news-grid-title {
        color: #3498db;
    }
    
    .news-card {
        background: #2c2c2c;
        color: #e0e0e0;
    }
    
    .news-card-title {
        color: #e0e0e0;
    }
    
    .news-card-title a:hover {
        color: #3498db;
    }
    
    .news-image-placeholder {
        background: linear-gradient(135deg, #2c3e50, #34495e);
    }
    
    .loading, .error, .no-content {
        background: #2c2c2c;
        color: #b0b0b0;
    }
    
    .lessons-section,
    .social-feeds-container,
    .app-promotion-container,
    .app-promo {
        background: #2c2c2c;
        color: #e0e0e0;
    }
    
    .lessons-title,
    .app-promotion-title {
        color: #3498db;
    }
    
    .lessons-info,
    .app-info p {
        color: #b0b0b0;
    }
    
    .cookie-modal-content {
        background: #2c2c2c;
        color: #e0e0e0;
    }
    
    .cookie-modal h2 {
        color: #3498db;
    }
    
    .cookie-option {
        background: #34495e;
        border-color: #4a5568;
    }
    
    .cookie-option label {
        color: #e0e0e0;
    }
    
    .cookie-option p {
        color: #b0b0b0;
    }
}

/* Yükleme ve Hata Durumları */
.loading, .error, .no-content {
    text-align: center;
    padding: 40px;
    border-radius: 10px;
    background: var(--ankahed-light);
    margin: 20px 0;
}

.loading {
    color: #666;
}

.error {
    color: var(--ankahed-red);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-promotion-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-logo {
        margin: 0 auto;
    }
    
    .app-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-image img {
        height: 200px;
    }
}

/* Dersler Bölümü Stilleri */
.lessons-section {
    padding: 60px 0;
    background: #fff;
}

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.lesson-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lesson-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.lesson-header {
    background: var(--ankahed-red);
    color: #fff;
    padding: 20px;
    position: relative;
}

.lesson-title {
    font-size: 18px;
    margin: 0;
    padding-right: 30px;
}

.lesson-content {
    padding: 20px;
}

.lesson-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.lesson-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: var(--ankahed-red);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lesson-btn:hover {
    background: #c31920;
}

.lesson-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Auth Sayfaları Stilleri */
.auth-main {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 
        0 8px 32px rgba(31, 38, 135, 0.37),
        0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: var(--transition);
}

.auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 40px rgba(31, 38, 135, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    color: var(--ankahed-dark);
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}

.auth-header h1 i {
    color: var(--ankahed-red);
    margin-right: 10px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--ankahed-dark);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--ankahed-red);
    width: 16px;
}

.form-group input {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus {
    outline: none;
    border-color: var(--ankahed-red);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

.auth-btn {
    background: linear-gradient(135deg, var(--ankahed-red) 0%, #c41e24 100%);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #c41e24 0%, #a11a20 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(227, 30, 36, 0.3);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
}

.auth-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-links p {
    color: #666;
    font-size: 14px;
}

.auth-links a {
    color: var(--ankahed-red);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-links a:hover {
    color: #c41e24;
    text-decoration: underline;
}

/* Auth sayfaları için dark mode */
@media (prefers-color-scheme: dark) {
    .auth-main {
        background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
    }
    
    .auth-card {
        background: rgba(45, 55, 72, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .auth-header h1 {
        color: #ffffff;
    }
    
    .auth-header p {
        color: #a0aec0;
    }
    
    .form-group label {
        color: #ffffff;
    }
    
    .form-group input {
        background: rgba(74, 85, 104, 0.8);
        border-color: #4a5568;
        color: #ffffff;
    }
    
    .form-group input:focus {
        background: rgba(74, 85, 104, 1);
        border-color: var(--ankahed-red);
    }
    
    .form-group input::placeholder {
        color: #a0aec0;
    }
    
    .auth-links p {
        color: #a0aec0;
    }
}

/* Auth sayfaları mobil responsive */
@media (max-width: 768px) {
    .auth-main {
        padding: 20px 0;
        min-height: calc(100vh - 60px);
    }
    
    .auth-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
    
    .form-group input {
        font-size: 16px; /* iOS zoom engellemek için */
    }
}

/* Ders Detay Sayfası Stilleri */
.lesson-detail-main {
    min-height: calc(100vh - 80px);
    padding: 40px 0;
    background: #f8f9fa;
}

.loading-state,
.error-state {
    text-align: center;
    padding: 60px 20px;
}

.loading-state i {
    font-size: 32px;
    color: var(--ankahed-red);
    margin-bottom: 20px;
}

.error-state {
    background: rgba(220, 53, 69, 0.1);
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.error-state i {
    font-size: 48px;
    color: #dc3545;
    margin-bottom: 20px;
}

.error-state h2 {
    color: #dc3545;
    margin-bottom: 15px;
}

.error-state p {
    color: #666;
    margin-bottom: 25px;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.lesson-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.lesson-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.lesson-breadcrumb a {
    color: var(--ankahed-red);
    text-decoration: none;
    transition: var(--transition);
}

.lesson-breadcrumb a:hover {
    text-decoration: underline;
}

.lesson-breadcrumb span:not(:last-child) {
    color: #ccc;
}

.lesson-article {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.lesson-header {
    background: linear-gradient(135deg, var(--ankahed-red) 0%, #c41e24 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.lesson-header h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.lesson-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 14px;
}

.lesson-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lesson-status.active {
    color: #28a745;
}

.lesson-status.inactive {
    color: #dc3545;
}

.lesson-body {
    padding: 40px 30px;
}

.lesson-description {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.lesson-url-section {
    background: rgba(227, 30, 36, 0.05);
    border: 1px solid rgba(227, 30, 36, 0.2);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.lesson-url-section h3 {
    color: var(--ankahed-red);
    margin-bottom: 15px;
    font-size: 20px;
}

.lesson-url-section p {
    color: #666;
    margin-bottom: 20px;
}

.lesson-link-btn {
    background: linear-gradient(135deg, var(--ankahed-red) 0%, #c41e24 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-size: 16px;
}

.lesson-link-btn:hover {
    background: linear-gradient(135deg, #c41e24 0%, #a11a20 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--ankahed-dark);
}

.user-menu span {
    font-weight: 600;
}

/* Ders detay dark mode */
@media (prefers-color-scheme: dark) {
    .lesson-detail-main {
        background: #1a1a1a;
    }
    
    .lesson-article {
        background: #2d3748;
    }
    
    .lesson-description {
        color: #e2e8f0;
    }
    
    .lesson-breadcrumb {
        color: #a0aec0;
    }
    
    .lesson-url-section {
        background: rgba(227, 30, 36, 0.1);
        border-color: rgba(227, 30, 36, 0.3);
    }
    
    .lesson-url-section p {
        color: #a0aec0;
    }
    
    .user-menu {
        color: #ffffff;
    }
}

/* Ders detay mobil responsive */
@media (max-width: 768px) {
    .lesson-detail-main {
        padding: 20px 0;
    }
    
    .lesson-header {
        padding: 30px 20px;
    }
    
    .lesson-header h1 {
        font-size: 24px;
    }
    
    .lesson-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .lesson-body {
        padding: 30px 20px;
    }
    
    .lesson-breadcrumb {
        flex-wrap: wrap;
        font-size: 12px;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
    }
}
