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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    body {
        font-size: 14px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 14px;
        margin: 5px;
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .navigation .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    /* Form responsive */
    input[type="text"], 
    input[type="email"], 
    input[type="password"], 
    textarea, 
    select {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    /* Table responsive */
    table {
        font-size: 12px;
    }
    
    table th, 
    table td {
        padding: 8px 4px;
    }
    
    /* Grid responsive */
    .grid-3-col {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    margin: 10px 5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
}

.btn-secondary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
}

.btn-back {
    background: linear-gradient(45deg, #95a5a6, #7f8c8d);
}

.btn-finish {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}

.lesson-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.lesson-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.lesson-item h3 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.lesson-item p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.lesson-item .date {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.stage-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.stage-header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stage-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    line-height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.stage-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.stage-content {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.progress-bar {
    background: #e1e5e9;
    height: 8px;
    border-radius: 4px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(45deg, #667eea, #764ba2);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    color: white;
    font-weight: 600;
}

/* Media Grid for Mobile-Optimized Display */
.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.media-item {
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.media-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.media-video {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 8px;
    display: block;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        margin: 5px 0;
    }
    
    .lesson-list {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .navigation .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .stage-title {
        font-size: 1.5rem;
    }
    
    .stage-content {
        font-size: 1rem;
    }
    
    /* Mobile-specific media adjustments */
    .media-item {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .media-image {
        max-height: 250px;
    }
    
    .media-video {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .stage-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.2rem;
    }
    
    .stage-title {
        font-size: 1.3rem;
    }
    
    /* Extra small screens - optimized for Android phones */
    .media-image {
        max-height: 200px;
    }
    
    .media-video {
        max-height: 200px;
    }
    
    .media-item {
        padding: 6px;
    }
}
