/* Sinec Projects - Frontend Styles */

/* No Projects Message */
.sinec-no-projects {
    width: 100%;
    max-width: 600px;
    margin: 60px auto;
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.no-projects-content svg {
    margin-bottom: 25px;
    animation: float 3s ease-in-out infinite;
}

.no-projects-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.no-projects-content p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.sinec-projects-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.sinec-projects-grid {
    display: grid;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.sinec-projects-grid.columns-1 {
    grid-template-columns: 1fr;
}

.sinec-projects-grid.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sinec-projects-grid.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sinec-projects-grid.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive */
@media (max-width: 768px) {
    .sinec-projects-grid.columns-2,
    .sinec-projects-grid.columns-3,
    .sinec-projects-grid.columns-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .sinec-projects-grid.columns-3,
    .sinec-projects-grid.columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Project Item */
.sinec-project-item {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Project Image */
.project-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.sinec-project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.sinec-project-item:hover .sinec-project-img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

/* Project Content */
.project-content {
    padding: 30px 25px;
}

.project-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.project-description {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.project-description a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-description a:hover {
    color: #45a049;
}

.project-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    font-weight: 600;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Animaciones adicionales */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sinec-project-item {
    animation: fadeIn 0.6s ease-out;
}

.sinec-project-item:nth-child(2) {
    animation-delay: 0.1s;
}

.sinec-project-item:nth-child(3) {
    animation-delay: 0.2s;
}

.sinec-project-item:nth-child(4) {
    animation-delay: 0.3s;
}
