/* About Page Styles */

.about-hero {
    margin: 50px 0;
    padding: 30px 0;
}

.about-hero h1 {
    font-family: 'Paytone One', sans-serif;
    font-size: 3rem;
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
}

.about-content {
    font-family: 'Minion Pro', serif;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.about-image {
    text-align: center;
    margin: 30px 0;
}

.about-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.more-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-family: 'Paytone One', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 30px auto;
}

.more-btn:hover {
    background-color: #b56e4c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(203, 124, 87, 0.3);
}

.more-section {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.more-section.show {
    opacity: 1;
    max-height: 2000px;
}

.three-images {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    justify-content: center;
}

.three-images img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-block {
    margin: 60px 0;
    padding: 40px;
    background-color: #F8F8F8;
    border-radius: 18px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.section-logo {
    width: 90px;
    height: 90px;
    margin-right: 20px;
}

.section-title {
    font-family: 'Paytone One', sans-serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.section-content {
    font-family: 'Minion Pro', serif;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.8;
}

.section-subtitle {
    font-family: 'Paytone One', sans-serif;
    font-size: 1.3rem;
    color: #000000;
    margin: 20px 0 10px;
}

/* Team Section */
.team-member {
    display: flex;
    align-items: center;
    margin: 40px 0;
    position: relative;
}

.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #E8E8D6;
    z-index: 2;
    position: relative;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.team-photo:hover {
    opacity: 0;
}

.team-photo-container {
    position: relative;
    width: 150px;
    height: 150px;
    flex-shrink: 0;
}

.team-photo-cartoon {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #E8E8D6;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.team-photo-container:hover .team-photo-cartoon {
    opacity: 1;
}

.team-info {
    border-radius: 15px;
    padding: 30px;
    margin-left: -40px;
    padding-left: 80px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.team-member:nth-of-type(1) .team-info {
    background-color: #D6CBE8 !important;
}

.team-member:nth-of-type(2) .team-info {
    background-color: #A3B18A !important;
}

.team-member:nth-of-type(3) .team-info {
    background-color: #E8E8D6 !important;
}

.team-member:nth-child(even) .team-info {
    margin-left: 0;
    margin-right: -40px;
    padding-left: 30px;
    padding-right: 80px;
}

.team-name {
    font-family: 'Paytone One', sans-serif;
    font-size: 1.3rem;
    color: #000000;
    margin-bottom: 5px;
}

.team-position {
    font-family: 'Minion Pro', serif;
    font-size: 1rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-description {
    font-family: 'Minion Pro', serif;
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .three-images {
        flex-direction: column;
        align-items: center;
    }
    
    .team-member,
    .team-member:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    
    .team-info,
    .team-member:nth-child(even) .team-info {
        margin: 20px 0 0 0;
        padding: 20px;
    }
}