/* 404.css - Theme for 404 Error Page */

:root {
    --primary-blue: #0B4EA2;
    --accent-amber: #F4B544;
    --bg-light: #F2F2F2;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow: hidden; /* Prevent scroll on 404 */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Simplified Header */
.minimal-header {
    padding: 40px 0;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo-link {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 404 Section Styles */
.error-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.error-mesh-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.error-content {
    position: relative;
    z-index: 10;
    max-width: 800px; /* Wider for better centering feel */
}

.error-code {
    font-size: clamp(140px, 25vw, 280px); /* Slightly larger */
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 0.9;
    margin-bottom: 20px;
    text-shadow: 0 15px 45px rgba(11, 78, 162, 0.15);
    position: relative;
    user-select: none;
}

.error-code::after {
    content: '404';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-amber);
    opacity: 0.15;
    filter: blur(12px);
    animation: pulse 3s infinite alternate ease-in-out;
}

@keyframes pulse {
    from { opacity: 0.1; transform: translateX(-50%) scale(1); }
    to { opacity: 0.3; transform: translateX(-50%) scale(1.1); }
}

.error-title {
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.error-message {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Button Styling */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(11, 78, 162, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background-color: #0d5bc0;
    box-shadow: 0 15px 35px rgba(11, 78, 162, 0.3);
}

.btn-primary i {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .error-code {
        font-size: 150px;
    }
    .minimal-header {
        padding: 30px 0;
    }
}
