/* Introduction Page Styles */

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #5A2A5A;
}

.section-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.section-header h2 {
    margin: 0;
    color: #5A2A5A;
    font-size: 2rem;
    font-weight: 600;
}

/* What is Design Section */
.what-is-design {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f6f9 0%, #ffffff 100%);
}

.definition-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.definition-text {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(90, 42, 90, 0.1);
    border-left: 4px solid #5A2A5A;
}

.definition-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.key-aspects,
.definition-benefits {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(90, 42, 90, 0.1);
    border-left: 4px solid #5A2A5A;
}

.key-aspects h3,
.definition-benefits h3 {
    color: #5A2A5A;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.key-aspects ul,
.definition-benefits ul {
    list-style: none;
    padding: 0;
}

.key-aspects li,
.definition-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 25px;
}

.key-aspects li:before {
    content: "▸";
    color: #5A2A5A;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.definition-benefits li:before {
    content: "✓";
    color: #5A2A5A;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.key-aspects li:last-child,
.definition-benefits li:last-child {
    border-bottom: none;
}

/* History Section */
.history {
    padding: 60px 0;
    background: #ffffff;
}

.history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.history-period {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(90, 42, 90, 0.08);
    border-top: 4px solid #5A2A5A;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-period:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(90, 42, 90, 0.15);
}

.history-period h3 {
    color: #5A2A5A;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.history-period p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Basic Principles Section */
.basic-principles {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f6f9 0%, #ffffff 100%);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.principle-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(90, 42, 90, 0.08);
    border-left: 4px solid #5A2A5A;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(90, 42, 90, 0.15);
}

.principle-card h3 {
    color: #5A2A5A;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.principle-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Design Elements Section */
.design-elements {
    padding: 60px 0;
    background: #ffffff;
}

.elements-content {
    margin-top: 30px;
}

.element-section {
    background: white;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(90, 42, 90, 0.08);
    border-top: 3px solid #5A2A5A;
}

.element-section h3 {
    color: #5A2A5A;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.element-section h3:before {
    content: "●";
    color: #5A2A5A;
    font-size: 1.5rem;
}

.element-section p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Professional Skills Section */
.professional-skills {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f6f9 0%, #ffffff 100%);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.skill-category {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(90, 42, 90, 0.08);
    border-top: 4px solid #5A2A5A;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    color: #5A2A5A;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-align: center;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.skill-category li:before {
    content: "✓";
    color: #5A2A5A;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .definition-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .history-timeline,
    .principles-grid,
    .skills-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .what-is-design,
    .history,
    .basic-principles,
    .design-elements,
    .professional-skills {
        padding: 40px 0;
    }
    
    .definition-text,
    .key-aspects,
    .history-period,
    .principle-card,
    .element-section,
    .skill-category {
        padding: 20px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .what-is-design,
    .basic-principles,
    .professional-skills {
        background: linear-gradient(135deg, #2a1a2a 0%, #1a1a1a 100%);
    }
    
    .history,
    .design-elements {
        background: #1a1a1a;
    }
    
    .definition-text,
    .key-aspects,
    .history-period,
    .principle-card,
    .element-section,
    .skill-category {
        background: #2a2a2a;
        color: #e0e0e0;
    }
    
    .definition-text p,
    .history-period p,
    .principle-card p,
    .element-section p,
    .skill-category li {
        color: #ccc;
    }
}