/* aboutme.css - CSS สำหรับหน้าเกี่ยวกับเรา แบบโล่งๆ */

/* ปรับแต่ง hero section */
.about-hero {
    min-height: 50vh;
}

.about-hero .content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* เนื้อหาหลัก */
.about-content {
    background: #f8f9fa;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Active navigation link */
.nav-links .active {
    color: #667eea !important;
    font-weight: 600;
}

/* Section แนะนำ */
.intro-section {
    padding: 3rem 0;
    background: white;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
}

.intro-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* ประเภทการแข่งขัน */
.competition-types {
    padding: 3rem 0;
    background: #f8f9fa;
}

.competition-types h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.type-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

.type-item:hover {
    transform: translateY(-5px);
}

.type-item h3 {
    font-size: 1.4rem;
    color: #667eea;
    margin-bottom: 1rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
}

.type-item p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 1rem;
}

/* ทีมงาน */
.team-section {
    padding: 3rem 0;
    background: white;
}

.team-section h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
}

.team-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.team-intro p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #495057;
    max-width: 800px;
    margin: 0 auto;
}

.teachers-gallery {
    margin-top: 2rem;
}

.teacher-placeholder {
    min-height: 300px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 600px;
}

.placeholder-text {
    text-align: center;
    color: #6c757d;
}

.placeholder-text p {
    font-size: 1.1rem;
    margin: 0;
}

/* ข้อมูลการติดต่อ */
.contact-info {
    padding: 3rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-left h2,
.contact-right h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 600;
}

.contact-left p,
.contact-right p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-right a {
    color: #667eea;
    text-decoration: none;
}

.contact-right a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero .content h1 {
        font-size: 2.5rem;
    }
    
    .intro-content h2 {
        font-size: 2rem;
    }
    
    .competition-types h2,
    .team-section h2 {
        font-size: 1.8rem;
    }
    
    .intro-content p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .team-intro p {
        font-size: 1.1rem;
        text-align: left;
    }
    
    .types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .type-item {
        padding: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .teacher-placeholder {
        min-height: 250px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {

    
    .intro-content h2 {
        font-size: 1.8rem;
    }
    
    .competition-types h2,
    .team-section h2 {
        font-size: 1.6rem;
    }
    
    .intro-content p {
        font-size: 1rem;
    }
    
    .team-intro p {
        font-size: 1rem;
    }
    
    .type-item {
        padding: 1.2rem;
    }
    
    .type-item h3 {
        font-size: 1.2rem;
    }
    

}