/**
 * Ferry Recycling - Styles spécifiques pour la page À propos
 */

/* About Hero Section */
#about-hero {
    padding: 180px 0 80px;
    background: linear-gradient(to right, rgba(26, 101, 158, 0.8), rgba(59, 148, 94, 0.8)), url('../images/about-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#about-hero h1 {
    color: white;
    margin-bottom: 30px;
}

/* History Section */
#history {
    padding: 80px 0;
    background-color: white;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.history-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.history-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.history-image:hover img {
    transform: scale(1.05);
}

.history-text h2 {
    margin-bottom: 30px;
}

.history-text p {
    margin-bottom: 20px;
}

.history-milestones {
    margin-top: 40px;
}

.milestone {
    display: flex;
    margin-bottom: 20px;
}

.milestone-year {
    font-weight: 700;
    color: #1A659E;
    margin-right: 20px;
    min-width: 60px;
}

/* Mission & Vision Section */
#mission-vision {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.mission-box, .vision-box {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mission-box:hover, .vision-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-box h3, .vision-box h3 {
    color: #1A659E;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.mission-box h3 i, .vision-box h3 i {
    margin-right: 15px;
    font-size: 1.8rem;
}

.mission-box p, .vision-box p {
    margin-bottom: 15px;
}

/* Commitments Section */
#commitments {
    padding: 80px 0;
    background-color: white;
}

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

.commitment-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.commitment-card.show {
    opacity: 1;
    transform: translateY(0);
}

.commitment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.commitment-card .icon {
    font-size: 2.5rem;
    color: #3B945E;
    margin-bottom: 20px;
}

.commitment-card h3 {
    margin-bottom: 15px;
}

/* Team Section */
#team {
    padding: 80px 0;
    background-color: #F9F9F9;
}

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

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.team-member.show {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .team-image img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-info .position {
    color: #1A659E;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #F9F9F9;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background-color: #1A659E;
    color: white;
}

/* Certifications Section */
#certifications {
    padding: 80px 0;
    background-color: white;
}

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

.certification-item {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.certification-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.certification-item img {
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.certification-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Call to Action Section */
#about-cta {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(26, 101, 158, 0.9), rgba(59, 148, 94, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#about-cta h2 {
    color: white;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .history-content, .mission-vision-container {
        grid-template-columns: 1fr;
    }
    
    .history-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .team-grid, .certifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image img {
        height: 250px;
    }
}
