/* Basic Reset */
/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}*/

/* Search and Filter Section */
.search-filter-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    justify-content: center;
}

#search-input, #role-filter {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
}


#star-filter {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 150px;
}

/* Carousel Section */
.carousel {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    margin: 0px 5%;
}

.carousel-content {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    padding: 5px;
}

/* Profile Card */
.profile {
    width: 300px;
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.profile:hover {
    transform: translateY(-5px);
}

.profile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile:hover::after {
    opacity: 1;
}

.profile .profile-details {
    position: absolute;
    bottom: 0; /* Positioned at the bottom */
    left: 0;
    right: 0;
    color: #333;
    z-index: 1;
    text-align: center; /* Center text horizontally */
    background: white; /* White background */
    padding: 10px;
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    transition: transform 0.3s ease; /* Animation for moving up */
}

.profile:hover .profile-details {
    transform: translateY(-10px); /* Move up when hovered */
}

.profile h2,
.profile h4 {
    margin: 0;
    
}

.profile h2 {
    font-size: 20px;
    font-weight: bold;
}

.profile h4 {
    font-size: 16px;
    font-weight: normal;
}

.nombrePerfil{
    color: #e35d42;
}

a, i{
    color: #e35d42;
}

a:hover, i:hover{
    color: #f6cf74;
}

#columnas{
    width: 80%;
    margin-left: 10%;
    display: flex;
}

.columnaV{
    width: 32%;
    margin-left: 1%;
    margin-right: 1%;
}

.izq, .der, .izqC, .derC{
    width: 90%;
    display: flex;
    border-style: solid;
    border-color: #e35d42;
    border-radius: 10px;
    margin-bottom: 10px;
}

.der, .derC{
    margin-left: 10%;
}

.imagenProyecto{
    display: flex;
    width: 40%;
    margin: 2%;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
    flex-wrap: wrap;
}

.estrellaC{
    display: flex;
    width: 20%;
    margin: 2%;
    flex-direction: column;
    font-weight: bold;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
}

.valorAgregado{
    width: 55%;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5px;
    
}

.comentarioC{
    width: 75%;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5px;
}

.valorAgregado p {
    padding: 5%;
    text-align: justify;
}

/*formulario estrellas*/

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    font-size: 2em;
}

.rating-stars i {
    color: rgba(0, 0, 0, 0.5);
    transition: color 0.2s;
}

.rating-stars i.active,
.rating-stars i:hover,
.rating-stars i:hover ~ i {
    color: #ffb400;
}

.star, .starC {
    font-size: 24px;
    color: lightgray; /* Color de las estrellas vacías */
}
.star.filled, .starC.filledC {
    color: gold; /* Color de las estrellas rellenas */
}

.input-group {
    margin: 10px 0;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.botonEstrella {
    background-color: #e35d42;
    color: #fff;
    border: none;
    padding: 10px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.botonEstrella:hover {
    background-color: #f6cf74;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center; /* Center social links */
    gap: 10px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease; /* Fade-in effect */
}

.profile:hover .social-links {
    opacity: 1; /* Fade in on hover */
}

.social-links a {
    color: #333;
    font-size: 20px;
    text-decoration: none;
}

.social-links a:hover {
    color: #ffd700; /* Gold color on hover */
}

/* Animation for Carousel Profiles */
.profile.fade-out-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.profile.fade-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Modal Styles */

/*
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    text-align: center; 
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.modal-role {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

.modal-bio {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.modal-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
} */


.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#calificarFormulario{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#calificacionesTablas{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    display: flex;
    width: 80%;
    /*max-width: 900px;*/
    height: 80%;
    background-color: #fff;
    border-radius: 10px;
    justify-content: center;
    overflow: auto;
    /*align-items: center;*/
    padding: 20px;
    position: relative; /* Positioning for close button */
}

.modal-formulario{
    display: flex;
    width: 50%;
    min-width: 400px;
    height: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    justify-content: center;
    overflow: auto;
    align-items: center;
    padding: 20px;
    position: relative;
}

.modal-calificaciones{
    display: flex;
    width: 50%;
    min-width: 400px;
    height: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    justify-content: center;
    overflow: auto;
    padding: 20px;
    position: relative;
}

.modal-calificaciones-content{
    width: 80%;
}

/* .modal-content {
    display: flex;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    padding: 20px;
} */

/* Close button */
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-formulario-close{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.modal-calificaciones-close{
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* Left Column (33%) */
.modal-left-column {
    width: 33%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to the left */
    border-right: 1px solid #ddd;
    overflow: auto;
}

.modal-left-column img {
    width: 80%; /* 80% width of the column */
    aspect-ratio: 1 / 1; /* Makes the image square */
    object-fit: contain;
    border-radius: 10px; /* Slightly rounded corners */
    margin-bottom: 10px;
    margin-left: 10%;
}

/* Social links and contact info with left alignment */
.modal-estrellas-final{
    display: flex;
    gap: 10px;
    font-size: 20px;
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

.modal-social-links {
    display: flex;
    gap: 10px;
    margin: 15px 0px;
    font-size: 20px;
    width: 100%;
    justify-content: center;
}

.modal-contact-info {
    text-align: left;
    color: #666;
    font-size: 14px;
    margin-left: 25px;
}

.modal-contact-info p{
    margin-top: 5px;
}

/* Right Column remains largely unchanged */
.modal-right-column {
    width: 67%;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-right-column h2,
.modal-right-column h4,
.modal-right-column p {
    margin: 0;
    padding: 5px 0;
}

.modal-video iframe {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
}

.modal-projects {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: 80%;
    margin-left: 10%;
    display: block;
}

.modal-comentario {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: 80%;
    margin-left: 10%;
    padding-bottom: 10px;
    display: block;
}

.modal-projects a {
    width: 100%;
}

.modal-projects img {
    width: 100%;
    max-width: 250px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 5px;
}

.botonCalificar{
    width: 100%;
    text-align: right;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .search-filter-container {
        flex-direction: column;
        align-items: center;
    }

    #search-input, #role-filter {
        width: 100%; /* Full width on small screens */
        max-width: 300px; /* Max width for better control */
    }

    .profile {
        width: 90%; /* Make cards responsive */
    }

    .carousel-content {
        flex-direction: column; /* Stack profiles vertically on small screens */
    }

    .modal-content {
        flex-direction: column;
        width: 90vw;
    }

    .modal-left-column,
    .modal-right-column {
        width: 100%;
        align-items: center;
    }

    .modal-left-column img {
        width: 80%;
    }
}