/* Thermonic Website - 404 Page CSS Styles
   This stylesheet contains styles specific to the 404 error page
*/

/* Error Section */
.error-section {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #f1faee 0%, #e9ecef 100%);
    position: relative;
}

.error-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23e63946" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%231d3557" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%23e63946" opacity="0.1"/></svg>');
    background-size: 200px 200px;
    animation: float 20s ease-in-out infinite;
}

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

.error-content {
    position: relative;
    z-index: 2;
}

.error-code h1 {
    font-size: 10rem;
    font-weight: 900;
    color: #3c5f8e;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.error-message h2 {
    color: #1d3557;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-message p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.error-actions {
    margin-top: 40px;
}

.error-actions .btn {
    margin: 10px 5px;
    padding: 15px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

/* Quick Links Section */
.quick-links-section {
    padding: 80px 0;
}

.quick-link-box {
    text-align: center;
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
}

.quick-link-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.quick-link-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3c5f8e, #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.quick-link-box:hover .quick-link-icon {
    background: linear-gradient(135deg, #1d3557, #2f5f8f);
    transform: scale(1.1);
}

.quick-link-icon i {
    font-size: 28px;
    color: #fff;
}

.quick-link-box h4 {
    color: #1d3557;
    margin-bottom: 15px;
    font-weight: 600;
}

.quick-link-box p {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 14px;
}

/* Search Section */
.search-section {
    padding: 80px 0;
    background-color: #1d3557;
    color: #fff;
}

.search-box {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.search-box h3 {
    color: #fff;
    margin-bottom: 15px;
    font-weight: 600;
}

.search-box p {
    color: #f1faee;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.search-form .form-control {
    height: 55px;
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 0 25px;
    font-size: 16px;
    background-color: #fff;
    box-shadow: none;
}

.search-form .form-control:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25);
}

.search-form .btn {
    height: 55px;
    border-radius: 0 50px 50px 0;
    padding: 0 25px;
    border: none;
    background-color: #3c5f8e;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-form .btn:hover {
    background-color: #dc2626;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .error-code h1 {
        font-size: 8rem;
    }
    
    .error-message h2 {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .error-section {
        padding: 120px 0 60px;
    }
    
    .error-code h1 {
        font-size: 6rem;
    }
    
    .error-message h2 {
        font-size: 1.8rem;
    }
    
    .quick-links-section,
    .search-section {
        padding: 60px 0;
    }
    
    .error-actions .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 767.98px) {
    .error-section {
        padding: 100px 0 50px;
    }
    
    .error-code h1 {
        font-size: 5rem;
    }
    
    .error-message h2 {
        font-size: 1.6rem;
    }
    
    .quick-link-box {
        padding: 30px 20px;
    }
    
    .quick-link-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .quick-link-icon i {
        font-size: 24px;
    }
    
    .search-box {
        padding: 40px 30px;
    }
    
    .search-form .form-control,
    .search-form .btn {
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .error-section {
        padding: 80px 0 40px;
    }
    
    .error-code h1 {
        font-size: 4rem;
    }
    
    .error-message h2 {
        font-size: 1.4rem;
    }
    
    .error-actions {
        margin-top: 30px;
    }
    
    .error-actions .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .quick-links-section,
    .search-section {
        padding: 50px 0;
    }
    
    .search-box {
        padding: 30px 20px;
    }
    
    .search-form .input-group {
        flex-direction: column;
    }
    
    .search-form .form-control {
        border-radius: 25px;
        margin-bottom: 15px;
    }
    
    .search-form .btn {
        border-radius: 25px;
        width: 100%;
    }
}

/* Animation for error code */
.error-code h1 {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}