/* Lesson 1-2 Specific Styles: The Gods and Their Iconography */

/* Gods Gallery Section */
.gods-section {
    margin-bottom: 2rem;
}

.gods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.god-card {
    background: white;
    border: 2px solid rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.god-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.15);
    border-color: #0066ff;
}

.god-card.active {
    border-color: #0066ff;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.2);
}

.god-card h4 {
    color: #0066ff;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.god-card .god-domain {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.god-card .god-names {
    color: #333;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.god-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Comparison Table */
.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table th {
    background: linear-gradient(135deg, #0066ff 0%, #4d94ff 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:hover {
    background: #f0f7ff;
}

.greek-name {
    color: #17a2b8;
    font-weight: 600;
}

.roman-name {
    color: #0066ff;
    font-weight: 600;
}

/* Epithets Grid */
.epithets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.epithet-card {
    background: white;
    border: 2px solid rgba(255, 193, 7, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    transition: all 0.3s ease;
}

.epithet-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
}

.epithet-card h4 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

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

/* Interactive Text Elements - matching lesson 1.1 */
.key-term {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #856404;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.key-term:hover {
    background: linear-gradient(135deg, #ffeaa7 0%, #ffd93d 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.key-figure {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 1px solid #17a2b8;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #0c5460;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.key-figure:hover {
    background: linear-gradient(135deg, #bee5eb 0%, #9dd7e5 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.key-concept {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #28a745;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #155724;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.key-concept:hover {
    background: linear-gradient(135deg, #c3e6cb 0%, #a8dab5 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

/* Primary Source Quote - matching lesson 1.1 */
.primary-source {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #6c757d;
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.primary-source::before {
    content: '"';
    font-size: 4rem;
    color: #6c757d;
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
}

.source-citation {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
}

/* Detail Box - matching lesson 1.1 */
.detail-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(0, 102, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.detail-box h4 {
    color: #0066ff;
    margin-bottom: 1rem;
}

.detail-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.detail-box ul {
    margin-left: 1.5rem;
    color: #555;
}

.detail-box li {
    margin-bottom: 0.5rem;
}

/* Sample elements in sidebar - matching lesson 1.1 */
.sample-term {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
}

.sample-figure {
    background: #d1ecf1;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #0c5460;
}

.sample-concept {
    background: #d4edda;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    color: #155724;
}

/* Info Panel Content - matching lesson 1.1 */
#info-content {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 1rem;
}

#info-content h4 {
    color: #0066ff;
    margin-bottom: 0.5rem;
}

#info-content p {
    color: #555;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* God Details Panel */
.god-details-panel {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.god-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.god-info-section {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #0066ff;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.05);
}

.god-info-section h5 {
    color: #333;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.god-info-section ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.god-info-section li {
    margin-bottom: 0.3rem;
    color: #666;
}

.god-info-section p {
    color: #666;
    margin: 0.5rem 0;
    line-height: 1.5;
}

/* Responsive Design - matching lesson 1.1 */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr !important;
    }
    
    .left-sidebar {
        display: flex;
        gap: 3rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
    }
    
    .right-sidebar {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .right-sidebar {
        grid-template-columns: 1fr;
    }
    
    .gods-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .god-info-grid {
        grid-template-columns: 1fr;
    }
    
    .epithets-grid {
        grid-template-columns: 1fr;
    }
}
