/* Estilos para la página de detalle del proyecto */
.detalle-proyecto-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 2rem;
    padding: 2rem;
    margin-top: 2rem;
    overflow: hidden;
}

.detalle-proyecto-gallery {
    flex: 1;
    max-width: 60%;
}

.gallery-main-image {
    position: relative;
}

.gallery-main-image img {
    width: 100%;
    height: 650px; /* Altura ampliada para mejor alineación vertical */
    border-radius: 8px;
    display: block;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(29, 44, 77, 0.7);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.gallery-btn:hover {
    background-color: #1D2C4D;
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
}

.gallery-thumbnails img.active {
    border-color: #007bff; /* Un azul para destacar */
}

.detalle-proyecto-info {
    flex: 1;
    max-width: 40%;
    color: #333;
}

.detalle-proyecto-info h3 {
    font-size: 1.8rem;
    color: #1D2C4D;
    margin-bottom: 0.5rem;
}

.status-tag {
    display: inline-block;
    background-color: #28a745; /* Verde para "Entregado" */
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.detalle-proyecto-info .description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.5rem;
}

.caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.caracteristica-item {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
}

.caracteristica-item i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.caracteristica-item span {
    display: block;
    font-weight: bold;
    color: #1D2C4D;
}

.caracteristica-item p {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

.amenities-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.amenities-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: #333;
}

.amenities-list li::before {
    content: '\f00c'; /* Icono de check de FontAwesome */
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    color: #28a745;
}

.detalle-proyecto-info .cta-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    border: 2px solid #1D2C4D; /* Color corporativo oscuro */
    background-color: transparent;
    color: #1D2C4D;
    border-radius: 22px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.detalle-proyecto-info .cta-btn:hover {
    background-color: #1D2C4D;
    color: #fff;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .detalle-proyecto-card {
        flex-direction: column;
    }

    .detalle-proyecto-gallery,
    .detalle-proyecto-info {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .detalle-proyecto-card {
        padding: 1rem;
    }

    .detalle-proyecto-info h3 {
        font-size: 1.5rem;
    }

    .gallery-thumbnails img {
        width: 60px;
        height: 45px;
    }
}