/* Estilos personalizados para la sección del equipo */
.team-3 {
    position: relative;
    padding: 60px 0;
    background: #ffffff;
}

.team-3 .card-profile {
    margin: 20px 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.team-3 .card-profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.team-3 .card-profile .card-img-top {
    height: 200px;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.team-3 .card-profile .card-img-top img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(25%);
    position: relative;
    z-index: 3;
}

.team-3 .card-profile .card-body {
    padding-top: 5rem;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 1;
}

.team-3 .card-profile .card-title {
    color: #2c2c2c;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Open Sans', sans-serif;
}

.team-3 .card-profile .category {
    color: #51cbce;
    font-size: 15px;
    margin-bottom: 15px;
    display: block;
    font-weight: 400;
    text-align: center;
}

.team-3 .card-profile .card-description {
    color: #777777;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 0 15px;
}

.team-3 .card-profile .card-footer {
    padding: 15px 0;
    background: transparent;
    border-top: 1px solid #f1f1f1;
}

.team-3 .card-profile .btn-social {
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: #f8f9fa;
    color: #51cbce;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.team-3 .card-profile .btn-social:hover {
    background-color: #51cbce;
    color: #ffffff;
    transform: translateY(-2px);
}

.team-3 .card-profile .btn-social i {
    font-size: 16px;
}

/* Efecto hover suave */
.team-3 .card-profile .card-img-top img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-3 .card-profile:hover .card-img-top img {
    transform: translateY(50%) scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

@media (max-width: 991px) {
    .team-3 .card-profile {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .team-3 .card-profile .card-img-top {
        padding: 30px 0;
    }
    
    .team-3 .card-profile .card-img-top img {
        width: 100px;
        height: 100px;
    }
    
    .team-3 .card-profile .card-title {
        font-size: 20px;
    }
    
    .team-3 .card-profile .card-description {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .team-3 .card-profile .btn-social {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
}

/* Estilos para las cards de fincas */
.farm-card .card-blog .card-image {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.farm-card .card-blog .card-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Efecto hover suave */
.farm-card .card-blog:hover .card-image img {
    transform: scale(1.05);
}

/* Asegurar responsividad */
@media (max-width: 767px) {
    .farm-card .card-blog .card-image,
    .farm-card .card-blog .card-image img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .farm-card .card-blog .card-image,
    .farm-card .card-blog .card-image img {
        height: 300px;
    }
} 