/* ============================================
   404 Error Page Styles
   ============================================ */

/* Page Container */
.error-404-page {
    min-height: 80vh;
}

.error-404-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb Section */
.error-404-breadcrumb-section {
    background-color: #53834F;
    padding: 15px 20px;
}

.error-404-breadcrumbs {
    font-size: 14px;
    color: white;
}

/* Hero Section */
.error-404-hero-section {
    background: linear-gradient(135deg, #53834F 0%, #6b8e6f 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.error-404-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.error-404-hero-content {
    position: relative;
    z-index: 1;
}

.error-404-number {
    font-family: 'Kulim Park', sans-serif;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.error-404-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.05em;
}

.error-404-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
}

.error-dot {
    width: 12px;
    height: 12px;
    background-color: #E6AE25;
    border-radius: 50%;
    animation: bounce 1.5s ease-in-out infinite;
}

.error-dot:nth-child(1) { animation-delay: 0s; }
.error-dot:nth-child(2) { animation-delay: 0.2s; }
.error-dot:nth-child(3) { animation-delay: 0.4s; }
.error-dot:nth-child(4) { animation-delay: 0.6s; }
.error-dot:nth-child(5) { animation-delay: 0.8s; }

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

.error-404-description {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 18px;
    color: white;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Search Section */
.error-404-search-section {
    background: #FBF9F4;
    padding: 4rem 2rem;
}

.section-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #42210B;
    text-align: center;
    margin: 0 0 2.5rem 0;
    letter-spacing: 0.05em;
}

.error-404-search-form {
    max-width: 700px;
    margin: 0 auto;
}

.search-input-wrapper {
    display: flex;
    gap: 1rem;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 1rem 1.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    color: #333;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    background: linear-gradient(135deg, #53834F 0%, #6b8e6f 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(83, 131, 79, 0.3);
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 131, 79, 0.4);
}

.search-icon {
    font-size: 20px;
}

/* Quick Links Section */
.error-404-links-section {
    background: white;
    padding: 4rem 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.quick-link-card {
    background: white;
    border: 2px solid #E0E0E0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-link-card:hover {
    border-color: #53834F;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(83, 131, 79, 0.15);
}

.quick-link-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.quick-link-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #42210B;
    margin: 0 0 0.75rem 0;
}

.quick-link-description {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Recent Posts Section */
.error-404-recent-section {
    background: #FBF9F4;
    padding: 4rem 2rem;
}

.recent-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.recent-post-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.recent-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.recent-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.recent-post-date {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 13px;
    color: #53834F;
    font-weight: 600;
}

.recent-post-type {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 12px;
    color: white;
    background: #E6AE25;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.recent-post-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.6;
}

.recent-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-title a:hover {
    color: #53834F;
}

/* CTA Section */
.error-404-cta-section {
    background: linear-gradient(135deg, #78d6ff 0%, #fbf9f4 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.error-404-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #42210B;
    margin: 0 0 1rem 0;
    letter-spacing: 0.05em;
}

.cta-description {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 18px;
    color: #42210B;
    margin: 0 0 2.5rem 0;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-btn-home,
.cta-btn-contact {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 18px;
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    letter-spacing: 0.05em;
}

.cta-btn-home {
    background: #53834F;
    color: white;
    box-shadow: 0 4px 12px rgba(83, 131, 79, 0.3);
}

.cta-btn-home:hover {
    background: #456f42;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(83, 131, 79, 0.4);
}

.cta-btn-contact {
    background: white;
    color: #53834F;
    border: 2px solid #53834F;
}

.cta-btn-contact:hover {
    background: #53834F;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .recent-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .error-404-number {
        font-size: 100px;
    }
    
    .error-404-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .cta-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .error-404-container {
        padding: 0 1.5rem;
    }
    
    .error-404-hero-section {
        padding: 4rem 1.5rem;
    }
    
    .error-404-number {
        font-size: 80px;
    }
    
    .error-404-title {
        font-size: 28px;
    }
    
    .error-404-description {
        font-size: 16px;
    }
    
    .error-404-search-section,
    .error-404-links-section,
    .error-404-recent-section,
    .error-404-cta-section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 2rem;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        border-radius: 16px;
        padding: 1rem;
    }
    
    .search-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quick-link-card {
        padding: 2rem 1.5rem;
    }
    
    .quick-link-icon {
        font-size: 40px;
    }
    
    .quick-link-title {
        font-size: 18px;
    }
    
    .recent-posts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-btn-home,
    .cta-btn-contact {
        width: 100%;
        max-width: 300px;
        font-size: 16px;
        padding: 1rem 2rem;
    }
}

@media (max-width: 480px) {
    .error-404-number {
        font-size: 60px;
    }
    
    .error-404-title {
        font-size: 24px;
    }
    
    .error-404-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .quick-link-icon {
        font-size: 36px;
    }
    
    .quick-link-title {
        font-size: 16px;
    }
    
    .recent-post-card {
        padding: 1.5rem;
    }
    
    .cta-title {
        font-size: 20px;
    }
}

