/* Lesson 1-1 Specific Styles: Introduction to Latin */

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 1px solid rgba(33, 150, 243, 0.15);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.08);
}

.welcome-title {
    font-size: 2.5rem;
    color: #0066ff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.welcome-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.welcome-content {
    text-align: left;
    color: #37474f;
    line-height: 1.7;
}

.welcome-content p {
    margin-bottom: 1rem;
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

/* Info Section */
.info-section {
    margin-bottom: 2rem;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.info-card:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.info-card h4 {
    color: #0066ff;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.info-card p {
    color: #555;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    background: #fafafa;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #0066ff, #4d94ff);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -2.4rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #0066ff;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.timeline-period {
    font-size: 0.85rem;
    color: #0066ff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-size: 1.1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    line-height: 1.5;
}

/* Why Section */
.why-section {
    margin-bottom: 2rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.reason-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.2);
}

.reason-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.reason-card h4 {
    color: #0066ff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.reason-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Latin Examples Section */
.examples-section {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.latin-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.example-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.example-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 102, 255, 0.2);
}

.example-english {
    font-size: 1.1rem;
    color: #0066ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.example-reveal {
    animation: fadeIn 0.3s ease;
}

.example-latin {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.example-explanation {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.example-hint {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Fun Facts Section */
.fun-facts-section {
    margin-bottom: 2rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.fact-card {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.fact-emoji {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.fact-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Getting Started Section */
.getting-started {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.journey-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.journey-content p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #0066ff;
    text-align: center;
    font-size: 1.1rem;
}

/* First Words Box */
.first-words-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.word-card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.word-latin {
    font-size: 1.3rem;
    color: #0066ff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.word-pronunciation {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.word-meaning {
    font-size: 0.95rem;
    color: #333;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .reasons-grid,
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .words-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .reasons-grid,
    .facts-grid,
    .latin-examples,
    .words-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
}
