/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Custom 404 Page Styles */
.custom-404-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.custom-404-search,
.custom-404-navigation,
.custom-404-suggestions {
    background: #f8f9fa;
    padding: 40px 0;
}

.custom-404-navigation {
    background: white;
}

.error-animation {
    margin-bottom: 40px;
}

.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.error-number span {
    font-size: 120px;
    font-weight: bold;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
}

.error-number .zero {
    animation-delay: 0.2s;
    color: #ff6b6b;
}

.error-number .four:last-child {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.error-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    color: white;
}

.error-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    color: white;
}

.error-search {
    text-align: center;
    padding: 20px;
}

.error-search h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.error-search input[type="search"] {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.error-search input[type="search"]:focus {
    border-color: #667eea;
    outline: none;
}

.error-search input[type="submit"] {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.error-search input[type="submit"]:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.error-navigation {
    text-align: center;
    padding: 40px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-home,
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-home:hover,
.btn-back:hover {
    background: #5a6fd8;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

.error-suggestions {
    text-align: center;
    padding: 20px;
}

.error-suggestions h3 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.suggestion-item {
    display: block;
    padding: 15px 20px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.suggestion-item:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-number span {
        font-size: 80px;
    }

    .error-content h1 {
        font-size: 32px;
    }

    .error-subtitle {
        font-size: 18px;
    }

    .error-navigation {
        flex-direction: column;
        align-items: center;
    }

    .suggestions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .error-number {
        gap: 10px;
    }

    .error-number span {
        font-size: 60px;
    }

    .error-content h1 {
        font-size: 28px;
    }

    .custom-404-hero {
        min-height: 50vh;
    }
}