/* ====================================
   PAGE 404 - DESIGN MODERNE SUSHI
   ==================================== */

.page-not-found-custom {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.page-pagenotfound .page-header{
    display: none;
}

.not-found-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Animation Sushi 404 */
.not-found-animation {
    margin-bottom: 76px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sushi-404 {
    position: relative;
    display: inline-block;
}

.sushi-plate {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

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

.sushi-icon {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.number-404 {
    position: absolute;
    top: 117%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    font-weight: 900;
    color: var(--primaryllw-color) ;;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
    letter-spacing: -2px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Contenu texte */
.not-found-content {
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error-title {
    color: var(--primaryllw-color) ;;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.error-subtitle {
    color: #FF3200;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.error-description {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Boutons d'action */
.not-found-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.not-found-actions .btn-home,
.not-found-actions .btn-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.not-found-actions .btn-home {
    background: var(--primaryllw-color) ;;
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 50, 0, 0.3);
}

.not-found-actions .btn-home::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.not-found-actions .btn-home:hover::before {
    width: 300px;
    height: 300px;
}

.not-found-actions .btn-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 50, 0, 0.4);
}

.not-found-actions .btn-menu {
    background: #fff;
    color: var(--primaryllw-color) ;;
    border: 2px solid var(--primaryllw-color) ;;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.not-found-actions .btn-menu:hover {
    background: var(--primaryllw-color) ;;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 34, 72, 0.2);
}

.not-found-actions .material-icons {
    font-size: 22px;
}

/* Zone de recherche */
.not-found-search {
    margin-top: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease 0.6s backwards;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.search-label {
    color: var(--primaryllw-color) ;;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.not-found-search #search_widget {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.not-found-search #search_widget form {
    position: relative;
    width: 100%;
}

.not-found-search #search_widget form input {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 50px 14px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.not-found-search #search_widget form input:focus {
    border-color: #FF3200;
    box-shadow: 0 0 0 4px rgba(255, 50, 0, 0.1);
    outline: none;
}

.not-found-search #search_widget form i.search {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Responsive 404 */
@media (max-width: 768px) {
    .page-not-found-custom {
        padding: 40px 15px;
    }
    
    .sushi-icon {
        width: 150px;
        height: 150px;
    }
    
    .number-404 {
        font-size: 56px;
    }
    
    .error-title {
        font-size: 32px;
    }
    
    .error-subtitle {
        font-size: 20px;
    }
    
    .error-description {
        font-size: 15px;
    }
    
    .not-found-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .not-found-actions .btn-home,
    .not-found-actions .btn-menu {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .not-found-search {
        padding: 20px 15px;
    }
    
    .search-label {
        font-size: 16px;
    }
}