/* ===== 404 ERROR PAGE STYLES ===== */

/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #6f42c1, #8e44ad);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== ERROR SECTION ===== */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 100px 0;
}

/* ===== ERROR ANIMATION ===== */
.error-animation {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-number {
    font-size: 12rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.error-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    z-index: 3;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    40% {
        transform: translate(-50%, -50%) translateY(-20px);
    }
    60% {
        transform: translate(-50%, -50%) translateY(-10px);
    }
}

/* ===== ERROR CONTENT ===== */
.error-content {
    color: white;
    text-align: center;
    position: relative;
    z-index: 2;
}

.error-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.error-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ===== ERROR ACTIONS ===== */
.error-actions {
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.error-actions .btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.error-actions .btn-primary {
    background: white;
    color: #6f42c1;
    border: 2px solid white;
}

.error-actions .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.error-actions .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.error-actions .btn-outline-primary:hover {
    background: white;
    color: #6f42c1;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* ===== ERROR SEARCH ===== */
.error-search {
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.error-search h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.search-box {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
}

.search-box .form-control {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box .form-control:focus {
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-box .btn {
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    background: white;
    color: #6f42c1;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-box .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* ===== QUICK LINKS ===== */
.quick-links {
    animation: fadeInUp 1s ease-out 0.8s both;
}

.quick-links h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: white;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.quick-link i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: white;
}

.quick-link span {
    font-size: 1rem;
    font-weight: 500;
}

/* ===== BACKGROUND ANIMATION ===== */
.background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 10%;
    right: 30%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: rgba(0, 0, 0, 0.1);
    color: white;
    padding: 60px 0 30px 0;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgODAwIDgwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9Im5vaXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIj4KICAgICAgPGZlVHVyYnVsZW5jZSB0eXBlPSJmcmFjdGFsTm9pc2UiIGJhc2VGcmVxdWVuY3k9IjAuNzUiIG51bU9jdGF2ZXM9IjQiIHN0aXRjaFRpbGVzPSJzdGl0Y2hBZnRlclNlYW1iZXIiIHNlZWQ9IjEiLz4KICAgICAgPGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPgogICAgICA8ZmVDb21wb3NpdGUgb3BlcmF0b3I9ImluIiBpbjI9IlNvdXJjZUdyYXBoaWMiLz4KICAgICAgPGZlQ29tcG9zaXRlIG9wZXJhdG9yPSJpbiIgaW49IlNvdXJjZUdyYXBoaWMiIGluMj0iRmVUcmFuc2Zvcm0iLz4KICAgIDwvZGVmcz4KICA8cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZmZmZmZmIiBmaWx0ZXI9InVybCgjbm9pc2UpIiBvcGFjaXR5PSIwLjEiLz4KPC9zdmc+') repeat;
    opacity: 0.1;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-profile {
    text-align: center;
    margin-bottom: 20px;
}

.footer-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.footer-photo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.4);
}

.footer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.footer-title {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.footer-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
    position: relative;
}

.footer-section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.footer-social-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-social-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 1.1rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-contact-item i {
    width: 20px;
    margin-right: 12px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-bottom-link:hover {
    color: white;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .error-number {
        font-size: 8rem;
    }
    
    .error-icon {
        font-size: 3rem;
    }
    
    .error-title {
        font-size: 2.2rem;
    }
    
    .error-description {
        font-size: 1.1rem;
    }
    
    .error-actions .btn {
        margin: 5px;
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .search-box {
        flex-direction: column;
        max-width: 300px;
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .quick-link {
        padding: 15px;
    }
    
    .quick-link i {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 40px 0 20px 0;
    }
    
    .footer-profile {
        text-align: left;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    
    .footer-photo {
        width: 80px;
        height: 80px;
        margin: 0 20px 0 0;
    }
    
    .footer-name {
        font-size: 1.3rem;
    }
    
    .footer-title {
        font-size: 0.9rem;
    }
    
    .footer-description {
        text-align: left;
        font-size: 0.85rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .error-section {
        padding: 60px 0;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-icon {
        font-size: 2.5rem;
    }
    
    .error-title {
        font-size: 1.8rem;
    }
    
    .error-description {
        font-size: 1rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        margin: 5px 0;
        width: 200px;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 30px 0 15px 0;
    }
    
    .footer-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-photo {
        width: 70px;
        height: 70px;
        margin: 0 auto 15px auto;
    }
    
    .footer-name {
        font-size: 1.2rem;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
