/* 404.css - Estilos para página de error 404 - TI Solutions */

/* Estilos para la página 404 */
.error-404-section {
    background: linear-gradient(135deg, #0c2461 0%, #1e3799 50%, #38ada9 100%);
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.error-404-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 36, 97, 0.8);
    z-index: 1;
}

.error-404-container {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.error-404-code {
    font-size: 10rem;
    font-weight: 900;
    color: #0c2461;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 #38ada9;
}

.error-404-code span {
    display: inline-block;
    margin: 0 10px;
}

.error-404-code .digit-spin {
    color: #38ada9;
    transition: transform 1s ease;
}

.error-404-title {
    font-size: 2.5rem;
    color: #0c2461;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-404-description {
    font-size: 1.2rem;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.tech-details-404 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.detail-item-404 {
    background: #f8f9fa;
    border-left: 4px solid #38ada9;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.detail-item-404 i {
    font-size: 2.5rem;
    color: #38ada9;
    margin-bottom: 15px;
}

.detail-item-404 p {
    color: #0c2461;
    font-weight: 500;
    margin: 0;
}

.action-buttons-404 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-404 {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-404-primary {
    background: #38ada9;
    color: white;
    border: 2px solid #38ada9;
}

.btn-404-secondary {
    background: white;
    color: #0c2461;
    border: 2px solid #38ada9;
}

.btn-404-tertiary {
    background: transparent;
    color: #0c2461;
    border: 2px solid #0c2461;
}

.btn-404:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-404-primary:hover {
    background: #2d8c89;
    border-color: #2d8c89;
}

.btn-404-secondary:hover {
    background: #38ada9;
    color: white;
}

.btn-404-tertiary:hover {
    background: #0c2461;
    color: white;
}

.quick-links-404 {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.quick-links-404 h3 {
    color: #0c2461;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.quick-links-404 ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.quick-links-404 li {
    flex: 1;
    min-width: 150px;
}

.quick-links-404 a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: white;
    border-radius: 8px;
    text-decoration: none;
    color: #0c2461;
    transition: all 0.3s;
    border: 1px solid #eaeaea;
}

.quick-links-404 a:hover {
    background: #38ada9;
    color: white;
    transform: translateX(5px);
}

.quick-links-404 i {
    color: #38ada9;
}

.quick-links-404 a:hover i {
    color: white;
}

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

.server-animation {
    width: 100px;
    height: 200px;
    background: #2c3e50;
    border-radius: 10px;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
}

.server-light {
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    right: 15px;
}

.server-light:nth-child(1) {
    top: 30px;
    background: #e74c3c;
    animation: blink 2s infinite;
}

.server-light:nth-child(2) {
    top: 70px;
    background: #3498db;
    animation: blink 2.5s infinite;
}

.server-light:nth-child(3) {
    top: 110px;
    background: #2ecc71;
    animation: blink 3s infinite;
}

.server-light:nth-child(4) {
    top: 150px;
    background: #f39c12;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Responsividad */
@media (max-width: 768px) {
    .error-404-container {
        padding: 30px 20px;
    }
    
    .error-404-code {
        font-size: 6rem;
    }
    
    .error-404-title {
        font-size: 1.8rem;
    }
    
    .tech-details-404 {
        flex-direction: column;
    }
    
    .quick-links-404 ul {
        flex-direction: column;
    }
}