/* Lesson 1.1: Introduction to Greek - Specific Styles */

/* Welcome Section */
.welcome-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 2.5rem;
    color: #0066ff;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'GFS Neohellenic', 'Times New Roman', serif;
    letter-spacing: 0.05em;
}

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

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    line-height: 1.8;
    color: #333;
}

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

/* Info Section */
.info-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-content ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.info-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

.info-content strong {
    color: #0066ff;
}

/* Timeline Section */
.timeline-section {
    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(180deg, #0066ff 0%, #4d94ff 100%);
}

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #0066ff;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 102, 255, 0.3);
}

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

.timeline-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

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

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.reason-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.15);
}

.reason-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.reason-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

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

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

.greek-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.example-card {
    position: relative;
    height: 150px;
    cursor: pointer;
    perspective: 1000px;
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    transition: transform 0.6s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, #0066ff 0%, #4d94ff 100%);
    color: white;
}

.example-card.flipped .card-front {
    transform: rotateY(-180deg);
}

.example-card.flipped .card-back {
    transform: rotateY(0);
}

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

.example-prompt {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
}

.example-greek {
    font-family: 'GFS Neohellenic', 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

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

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.fact-card {
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.fact-card:hover {
    transform: translateX(4px);
    border-color: rgba(0, 102, 255, 0.3);
}

.fact-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

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

/* Getting Started Section */
.getting-started {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.journey-content ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 2;
}

.journey-content li {
    color: #555;
    margin-bottom: 0.5rem;
}

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

.first-words-box .section-title {
    color: white;
    margin-bottom: 1.5rem;
}

.words-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.word-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
}

.word-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.greek-word {
    font-family: 'GFS Neohellenic', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: #0066ff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.transliteration {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.word-meaning {
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.word-literal {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

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